[Rcpp-devel] Why not export CxxFlags and LdFlags?

Romain François francoisromain at free.fr
Tue Jan 5 12:35:19 CET 2010


On 01/05/2010 11:51 AM, Henning Redestig wrote:
> right..
>
> R CMD check fails for me with:
>
> * installing *source* package ‘Rcpp’ ...
> ** libs
> g++ -I/usr/share/R/include -W
> -I/home/henning/dec/lib/R-2.10.0/Rcpp/lib -I. -std=c++0x     -fpic  -g
> -O2 -c Environment.cpp -o Environment.o
> cc1plus: error: unrecognized command line option "-std=c++0x"
> make: *** [Environment.o] Error 1
> ERROR: compilation failed for package ‘Rcpp’
>
> (Ubuntu 8.04)

Right. Until we find a way to configure the Makevars, you may remove the 
-std=c++0x from it.

see this post:
http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2010-January/000219.html

Romain

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/IW9B : C++ exceptions at the R level
|- http://tr.im/IlMh : CPP package: exposing C++ objects
`- http://tr.im/HlX9 : new package : bibtex



More information about the Rcpp-devel mailing list