can use rcpp in qt ?
-
Download the rcpp source, build with a tool chain that matches your Qt libraries, and install. This bit has nothing to do with Qt.
In your Qt C++ application use the C++ library.
In Qt Creator
In qmake
In cmakethanks for your answer,
but one more question-
im install R and RStudio and install.package("Rcpp") in RStudio
-
.pro file
INCLUDEPATH += "C:\user\AppData\Local\R\win-library\4.2\Rcpp\include"
like this -
mainwindow.h
#include <Rcpp.h>
but i got this message
C:\user\AppData\Local\R\win-library\4.2\Rcpp\include\Rcpp\platform\compiler.h:43: error: C1189: #error: "This compiler is not supported"
-
-
thanks for your answer,
but one more question-
im install R and RStudio and install.package("Rcpp") in RStudio
-
.pro file
INCLUDEPATH += "C:\user\AppData\Local\R\win-library\4.2\Rcpp\include"
like this -
mainwindow.h
#include <Rcpp.h>
but i got this message
C:\user\AppData\Local\R\win-library\4.2\Rcpp\include\Rcpp\platform\compiler.h:43: error: C1189: #error: "This compiler is not supported"
@donkey007 What C++ compiler do you use and what C++ compilers are supported by rcpp?
And again: this has nothing to do with Qt, you should consider to ask in a rcpp forum/mailing list and check rcpp documentation. -