Skip to content
Prev 5595 / 10988 Next

[Rcpp-devel] RcppArmadillo trying to compile rcpparma_hello_world.cpp

All,

OS: Microsoft Windows XP SP3 32 bit
compiler: gcc version 4.6.3 20111208 (prerelease) (GCC) ? ( from Rtools folder )
RcppArmadillo : Version: 0.3.800.1
Rcpp: Version: 0.10.3
Creating directories ...
Creating DESCRIPTION ...
Creating NAMESPACE ...
Creating Read-and-delete-me ...
Saving functions and data ...
Making help files ...
Done.
Further steps are described in './testpackage/Read-and-delete-me'.

Adding RcppArmadillo settings
?>> added Depends: Rcpp, RcppArmadillo
?>> added LinkingTo: Rcpp, RcppArmadillo
?>> added useDynLib directive to NAMESPACE
?>> added Makevars file with Rcpp settings
?>> added Makevars.win file with RcppArmadillo settings
?>> added example header file using Rcpp/RcppArmadillo
?>> added example src file using armadillo classes
?>> added example R file calling the C++ example
* installing to library 'F:/Program Files/RStudio/R/library'
* installing *source* package 'testpackage' ...
** libs
g++ -m32 -I"F:/PROGRA~2/R/R-215~1.3/include" -DNDEBUG ? ?-I"F:/ProgramFiles/R/R-2.15.3/library/Rcpp/include" -I"F:/ProgramFiles/R/R-2.15.3/library/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" ? ? -O2 -Wall ?-mtune=core2 -c rcpparma_hello_world.cpp -o rcpparma_hello_world.o
g++ -m32 -shared -s -static-libgcc -o testpackage.dll tmp.def rcpparma_hello_world.o F:/ProgramFiles/R/R-2.15.3/library/Rcpp/lib/i386/libRcpp.a -LF:/PROGRA~2/R/R-215~1.3/bin/i386 -lRlapack -LF:/PROGRA~2/R/R-215~1.3/bin/i386 -lRblas -lgfortran -Ld:/RCompile/CRANpkg/extralibs64/local/lib/i386 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LF:/PROGRA~2/R/R-215~1.3/bin/i386 -lR
installing to F:/Program Files/RStudio/R/library/testpackage/libs/i386
** R
** preparing package for lazy loading
** help
Warning: M:/YDrive/All_Economics/eclipse_workspace/myvistudrccppackage/testpackage/man/testpackage-package.Rd:33: All text must be in a section
Warning: M:/YDrive/All_Economics/eclipse_workspace/myvistudrccppackage/testpackage/man/testpackage-package.Rd:34: All text must be in a section
*** installing help indices
** building package indices
** testing if installed package can be loaded

* DONE (testpackage)
Removing from library 'F:/Program Files/RStudio/R/library'



O.K.

I found

testpackage\src\rcpparma_hello_world.o
testpackage\src\rcpparma_hello_world.dll

Thats good for right now.


Thank you,
Andre Mikulec
Andre_Mikulec at Hotmail.com



----------------------------------------