Hi Romain,
Thanks for your quick response. It works fine, now. I simply needed to
add LinkingTo: Rcpp to my DESCRIPTION file, and using
PKG_LIBS = `$(R_HOME)/bin/Rscript -e "Rcpp:::LdFlags()"`
Thanks again,
Cedric
On 06/04/11 09:43, Romain Francois wrote:
Hello,
First, you don't need PKG_C
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
L
Hi guys,
I get the following error message from Kurt Hornik when uploading my
package to CRAN:
#
* installing*source* package 'NetworkAnalysis' ...
** libs
g++-4.6 -I/home/Hornik/tmp/R/include `Rscript -e 'Rcpp:::CxxFlags()'`
-I/usr/local/include-fpic -g