[Rcpp-devel] RcppArmadillo trying to compile rcpparma_hello_world.cpp
edd at debian.org
Mon Apr 1 04:51:14 CEST 2013
On 31 March 2013 at 22:47, Andre Mikulec wrote:
| Thats good for right now.
Your earlier mistake was to assume that you could do R CMD SHLIB on a file
containing Rcpp and RcppArmadillo. And you cannot -- as one needs -I setting
for includes, -L for libraries for Rcpp, for RcppArmadillo, etc pp.
Either use a (small) package, as you now did via the skeleton, or use Rcpp
Attributes with proper depends. There are examples in the list archives, and
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel