Displaying 1 result from an estimated 1 matches for "libtestlib".
2013 Sep 16
1
Rcpp modules
Dear all,
my apologies for posting here instead of rcpp-devel (registration for
which did not seem to work). I try to use a Rcpp module outside a
package using the following code which should work according to posts on
this list/rcpp-devel.
library('Rcpp');
dlr = dyn.load('build/libtestlib.so');
mod = Module('testclass', PACKAGE = dlr);
cl = new(mod$testclass);
This results in the error message:
Failed to initialize module pointer: Error in
FUN("_rcpp_module_boot_testclass"[[1L]], ...): no such symbol
_rcpp_module_boot_testclass in package
/home/pingu/src/2013-...