[Rcpp-devel] Problem setting up Eclipse + StatET + Rcpp
Kyle Rijneke
kyle_rijneke at hotmail.com
Thu Jun 20 06:20:47 CEST 2013
I have spent two days trying to run through this 'guide' to setting up the software... http://stackoverflow.com/questions/12886517/how-to-set-up-eclipse-statet-rcpp-on-windows
Only 158 build errors...
Build info:R 2.15.1 installed to C:\R (no spaces)Installed both packages: install.packages(c("Rcpp","RInside"),type="source")Rtools 2.15 installed and C:\Rtools\bin; C:\Rtools\gcc-4.6.3\bin; C:\R\R-2.15.1\bin\i386; added to the environment PATH variableEclipse + CDT : I downloaded the eclipse-cpp-juno-SR2-win32.zip file aasd.I created the skeleton package: Rcpp.package.skeleton("MyCppPackage", module=TRUE)and dragged the files over to the "MyCppPackage"
I ran through all the steps in the 'guide'... Created the R build configs, set up the R console, Iv done exactly everything the tutorial said. Here are my C/C++ Build Settings:
Cross G++ Compiler:-DINSIDE -I"C:\R\R-2.15.1\include" -I"C:\R\R-2.15.1\library\Rcpp\include" -I"C:\R\R-2.15.1\library\Rcpp\include\Rcpp" -I"C:\R\R-2.15.1\library\RInside\include" -O0 -g3 -Wall -c -fmessage-length=0
Cross G++ Linker:-L"C:\R\R-2.15.1\library" -shared
Cross G++ linker Miscellaneous Tab:"C:\R\R-2.15.1\bin\i386\R.dll""C:\R\R-2.15.1\library\Rcpp\lib\i386\libRcpp.a""C:\R\R-2.15.1\library\RInside\lib\i386\libRInside.a"
The console loads up just fine.
Inside the "MyCppPackage" project the files dont contain bug icons or red underlines which I guess means that the script files pick up the functions, the libraries must be references correctly I suppose?
And here comes my problem(s):R CMD CHECK returns ... OK for most lines and at the end says " Hmm ... looks like a package" the only error it gives is Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : pdflatex is not availableand Error in running tools::texi2pdf
R CMD INSTALL / R CMD BUILD return 158 errors (but sometimes INSTALL works anyway). These errors are mostly of the same type:Description:'x' was not declared in this scope
ResourceMyCppPackage
Path(Blank)
Locationline xyz, external location: C:\R\R-2.15.1\library\Rcpp\include\Rcpp\string.h
TypeC/C++ Problem
If I want to attach a reproducible example, do I just attach the entire "MyCppPackage" project? I have attached the build log file.
Any advice would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130620/27c1c4d8/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: MyCppPackage.build.log
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130620/27c1c4d8/attachment-0001.ksh>
More information about the Rcpp-devel
mailing list