[Rcpp-devel] RcppArmadillo trying to compile rcpparma_hello_world.cpp

Dirk Eddelbuettel 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.

Yes.

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
on http://gallery.rcpp.org.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list