[Rcpp-devel] RcppArmadillo trying to compile rcpparma_hello_world.cpp
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