[Rcpp-devel] libRInside.a and "base package"
Dan Murphy
chiefmurphy at gmail.com
Sun Sep 2 14:46:32 CEST 2012
I am still trying to debug my Windows setup and I have a couple of questions.
1. In my download of the RInside package, I see the libRInside.a
library in the ~\RInside\lib\i386 folder which is found when I set
R_ARCH := --arch i386 in Makefile.win. However, there is no
corresponding x64 folder, so when I set R_ARCH := x64 the RCPPLIBS
variable gets the string "/libRInside.a". Could that be the reason the
samples do not make? Here is the error displayed at the console:
g++ -m64 -IC:/R/R-2.15.1/include -IC:/R/R-2.15.1/include/x64 -IC:/R/R-2.15.1/lib
rary/Rcpp/include -IC:/R/R-2.15.1/library/RInside/include -O2 -Wall -mtune=core2
-Wall -s rinside_callbacks0.cpp -LC:/R/R-2.15.1/bin/x64 -lR -LC:/R/R-2.15.1/
bin/x64 -lRblas -LC:/R/R-2.15.1/bin/x64 -lRlapack "/libRInside.a" C:/R/R-2.15.1/
library/Rcpp/lib/x64/libRcpp.a -o rinside_callbacks0
g++.exe: error: /libRInside.a: No such file or directory
make: *** [rinside_callbacks0] Error 1
2. With --arch i386, Makefile.win compiles all the samples in
examples\standard without error. As instructed, I copied all the dll
files from C:\R\R-2.15.1\bin\i386 to
C:\R\R-2.15.1\library\RInside\examples\standard. (I've done this
multiple times now.) When I run rinside_sample0 I get the error "Fatal
error: unable to open the base package". To help debug this, can you
tell me if this error is generated by RInside or Rcpp?
Thank you,
Dan
More information about the Rcpp-devel
mailing list