Re: [Rcpp-devel] Error linking: Undefined reference to...

2011-09-08 Thread Dirk Eddelbuettel
On 8 September 2011 at 16:41, Bjørn Skogtrø wrote: | That's true - I was a bit sloppy copying the lines. Forget the first one, so | | PKG_LIBS+= -lRcpp | PKG_LIBS+= -LC:/PROGRA~1/R/R-213~1.1/library/Rcpp/libs/i386 | | is all you need. As AFAICT that is what our documentation says all along too

Re: [Rcpp-devel] Error linking: Undefined reference to...

2011-09-08 Thread Bjørn Skogtrø
That's true - I was a bit sloppy copying the lines. Forget the first one, so PKG_LIBS+= -lRcpp PKG_LIBS+= -LC:/PROGRA~1/R/R-213~1.1/library/Rcpp/libs/i386 is all you need. BR, Bjørn 2011/9/8 Dirk Eddelbuettel > > On 8 September 2011 at 15:11, Bjørn Skogtrø wrote: > | Hi Dirk, > | > | Thanks f

Re: [Rcpp-devel] Error linking: Undefined reference to...

2011-09-08 Thread Dirk Eddelbuettel
On 8 September 2011 at 15:11, Bjørn Skogtrø wrote: | Hi Dirk, | | Thanks for the response - it was helpful.  Glad to hear that! | I've added the library you suggested and the appropriate path, and now linking | is fine. For completeness, my makevars.win now looks like this: | | ## Use the R_H

Re: [Rcpp-devel] Error linking: Undefined reference to...

2011-09-08 Thread Bjørn Skogtrø
Hi Dirk, Thanks for the response - it was helpful. I've added the library you suggested and the appropriate path, and now linking is fine. For completeness, my makevars.win now looks like this: ## Use the R_HOME indirection to support installations of multiple R version ## PKG_LIBS = $(shell "${

Re: [Rcpp-devel] Error linking: Undefined reference to...

2011-09-08 Thread Dirk Eddelbuettel
Hi Bjørn, Welcome! On 8 September 2011 at 10:36, Bjørn Skogtrø wrote: | Hi guys. | | First off, thanks for a nice piece of software. | | Now to the issue at hand: | | I'm trying to compile and link the package obtained using Rcpp.package.skeleton | (...) (out of the box). I'm running R 2.13.

[Rcpp-devel] Error linking: Undefined reference to...

2011-09-08 Thread Bjørn Skogtrø
Hi guys. First off, thanks for a nice piece of software. Now to the issue at hand: I'm trying to compile and link the package obtained using Rcpp.package.skeleton(...) (out of the box). I'm running R 2.13.1, with Rcpp 0.9.6 on a Windows XP machine. The first problem I ran into was how the packa