Le 13/09/10 23:26, pooja varshneya a écrit :
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
See item 2.7 of the Rcpp-FAQ vignette:
http://cran.r-project.org/web/packages/Rcpp/vignettes/Rcpp-FAQ.pdf
Also, we released Rcpp 6 times since version 0.8.0, why would you use an
obsolete version ?
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://bit.ly/cCmbgg : Rcpp 0.8.6
|- http://bit.ly/bzoWrs : Rcpp svn revision 2000
`- http://bit.ly/b8VNE2 : Rcpp at LondonR, oct 5th
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel