[Rcpp-devel] Building/linking trouble with cxxfunction()
On 2/16/11 4:00 PM, "Dirk Eddelbuettel" <edd at debian.org> wrote:
Ken, Here is an updated version of the 'secondExample' from that aforementioned example file in Rcpp. It uses the plugin generator facility to override LIBS which makes it work on my box.
Aha, I hadn't suspected that plugins would be the secret to using libraries. Thanks for the pointer, I'll give this a shot in addition to the code that Doug posted. Is the Rcpp:::Rcpp.plugin.maker() function documented anywhere? -- Ken Williams Senior Research Scientist Thomson Reuters Phone: 651-848-7712 ken.williams at thomsonreuters.com http://labs.thomsonreuters.com