[Rcpp-devel] Visual Studio compatible Rcpp

pooja varshneya pooja.varshneya at gmail.com
Mon Sep 13 23:26:09 CEST 2010


Hi Folks,

I need to use Rcpp and RInside packages for a project that is compiled
using Visual Studio. I have managed to generate Visual Studio
compatible import library for R.
But now i am unable to install Rcpp package using 'R CMD INSTALL
Rcpp_0.8.0.tar.gz'. I receive undefined reference errors as given
below. Does anyone know the steps for compiling Rcpp and RInside using
Visual Studio ?

-------------------------------------------------------------------------------------------------------------
debugging.o:debugging.cpp:(.text+0x1bc): undefined reference to `Rf_mkChar'
debugging.o:debugging.cpp:(.text+0x1d0): undefined reference to `SET_STRING_ELT'
exceptions.o:exceptions.cpp:(.text+0x286): undefined reference to `Rf_mkString'
exceptions.o:exceptions.cpp:(.text+0x295): undefined reference to `Rf_install'
exceptions.o:exceptions.cpp:(.text+0x2a8): undefined reference to `Rf_lang3'
r_cast.o:r_cast.cpp:(.text+0x23): undefined reference to `TYPEOF'
r_cast.o:r_cast.cpp:(.text+0x3d): undefined reference to `Rf_coerceVector'
r_cast.o:r_cast.cpp:(.text+0x13f): undefined reference to `TYPEOF'
r_cast.o:r_cast.cpp:(.text+0x1cc): undefined reference to `Rf_coerceVector'
r_cast.o:r_cast.cpp:(.text+0x25b): undefined reference to `TYPEOF'
.......
-------------------------------------------------------------------------------------------------------------


Thanks,
Pooja


More information about the Rcpp-devel mailing list