Skip to content
Prev 2050 / 10988 Next

[Rcpp-devel] Makevars problem when uploading package

Hello,

First, you don't need PKG_CPPFLAGS at all, just add:

LinkingTo: Rcpp

to your DESCRIPTION file.


Then, please be specific about what you mean by "does not work".

PKG_LIBS = `$(R_HOME)/bin/Rscript -e "Rcpp:::LdFlags()"`

is what the documentation prescribes, so it should work.

Romain

Le 06/04/11 08:48, Cedric Ginestet a ?crit :