[Rcpp-devel] Error Qt C++, RInside

Jodi Jhouranda Siregar 11.6729 at stis.ac.id
Fri Dec 26 14:24:09 CET 2014


I got this error when i create simple gui with RInside, any solution?
thanks.

main.o: In function `main':

/home/jodi/build-RInsideTry-Desktop_Qt_5_3_GCC_32bit-Debug/../RInsideTry/main.cpp:6:
undefined reference to `RInside::RInside(int, char const* const*, bool,
bool, bool)'

/home/jodi/build-RInsideTry-Desktop_Qt_5_3_GCC_32bit-Debug/../RInsideTry/main.cpp:14:
undefined reference to `RInside::~RInside()'

/home/jodi/build-RInsideTry-Desktop_Qt_5_3_GCC_32bit-Debug/../RInsideTry/main.cpp:14:
undefined reference to `RInside::~RInside()'

main.o: In function `Rcpp::Rstreambuf<true>::xsputn(char const*, int)':

/home/jodi/R/i686-pc-linux-gnu-library/3.0/Rcpp/include/Rcpp/iostream/Rstreambuf.h:61:
undefined reference to `Rprintf'

main.o: In function `Rcpp::Rstreambuf<false>::xsputn(char const*, int)':

/home/jodi/R/i686-pc-linux-gnu-library/3.0/Rcpp/include/Rcpp/iostream/Rstreambuf.h:65:
undefined reference to `REprintf'

main.o: In function `Rcpp::Rstreambuf<true>::overflow(int)':

/home/jodi/R/i686-pc-linux-gnu-library/3.0/Rcpp/include/Rcpp/iostream/Rstreambuf.h:70:
undefined reference to `Rprintf'

main.o: In function `Rcpp::Rstreambuf<false>::overflow(int)':

/home/jodi/R/i686-pc-linux-gnu-library/3.0/Rcpp/include/Rcpp/iostream/Rstreambuf.h:74:
undefined reference to `REprintf'

main.o: In function `Rcpp::Rstreambuf<true>::sync()':

/home/jodi/R/i686-pc-linux-gnu-library/3.0/Rcpp/include/Rcpp/iostream/Rstreambuf.h:79:
undefined reference to `R_FlushConsole'

main.o: In function `Rcpp::Rstreambuf<false>::sync()':

/home/jodi/R/i686-pc-linux-gnu-library/3.0/Rcpp/include/Rcpp/iostream/Rstreambuf.h:83:
undefined reference to `R_FlushConsole'

collect2: error: ld returned 1 exit status

make: *** [RinsideProject] Error 1

20:17:23: The process "/usr/bin/make" exited with code 2.

Error while building/deploying project RInsideTry (kit: Desktop Qt 5.3 GCC
32bit)

When executing step "Make"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20141226/7f9a8f3d/attachment.html>


More information about the Rcpp-devel mailing list