Re: [Rcpp-devel] dyn.load error - symbol not found - expected in: flat namespace

2012-07-19 Thread Dirk Eddelbuettel
On 19 July 2012 at 10:25, Lescai, Francesco wrote: | Thanks, it definitely pointed me in the right direction. | I added the additional flag needed by the compiler | using | PKG_CPPFLAGS=`Rscript -e 'Rcpp:::CxxFlags()'` PKG_LIBS=`Rscript -e | 'Rcpp:::LdFlags()'` PKG_LIBS="$PKG_LIBS -lre2" R CMD SH

Re: [Rcpp-devel] Specify include path with Rcpp.plugin.maker

2012-07-19 Thread Dirk Eddelbuettel
On 19 July 2012 at 09:17, Vaclav Petras wrote: | On 18 July 2012 18:33, Dirk Eddelbuettel wrote: | > | > On 18 July 2012 at 18:21, Vaclav Petras wrote: | > | I used it just as an minimal working example. I'm sorry for confusion. | > | | > | I need it for _truly new libraries_ and same would apply

Re: [Rcpp-devel] dyn.load error - symbol not found - expected in: flat namespace

2012-07-19 Thread Lescai, Francesco
Thanks, it definitely pointed me in the right direction. I added the additional flag needed by the compiler using PKG_CPPFLAGS=`Rscript -e 'Rcpp:::CxxFlags()'` PKG_LIBS=`Rscript -e 'Rcpp:::LdFlags()'` PKG_LIBS="$PKG_LIBS -lre2" R CMD SHLIB and now in dyn.load I have a symbol error demangled as ty

Re: [Rcpp-devel] Specify include path with Rcpp.plugin.maker

2012-07-19 Thread Vaclav Petras
On 18 July 2012 18:33, Dirk Eddelbuettel wrote: > > On 18 July 2012 at 18:21, Vaclav Petras wrote: > | I used it just as an minimal working example. I'm sorry for confusion. > | > | I need it for _truly new libraries_ and same would apply also for my > | own library if i have some. > | > | As I se