Hello,
I want to use Rcpp with boost, the boost headers are installed in
'C:\libraries\boost_1_49_0'. How to set the -I flag?
sourceCpp("testBoost.cpp")
g++ -m64 -I"C:/R/R-215~1.2/include" -DNDEBUG -I"C:/R/R-2.15.2/library/Rcpp/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c testBoost.cpp -o testBoost.o testBoost.cpp:2:29: fatal error: boost\foreach.hpp: No such file or directory compilation terminated. make: *** [testBoost.o] Error 1
Error in sourceCpp("testBoost.cpp") :
Error 1 occurred building shared library.
Regards,
Andr?