Message-ID: <20824.63010.681064.990359@max.nulle.part>
Date: 2013-04-01T02:51:14Z
From: Dirk Eddelbuettel
Subject: [Rcpp-devel] RcppArmadillo trying to compile rcpparma_hello_world.cpp
In-Reply-To: <BLU174-W394079874E7613E7F2EBE9CDE0@phx.gbl>
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