Skip to content
Prev 2205 / 10988 Next

[Rcpp-devel] How to link a .lib file in a rcpp-package in a Windows environment?

Hello Dirk,


Am 25.04.2011 um 04:54 schrieb Dirk Eddelbuettel:
I did that, so, the "final" C document looks like:
With that it works, Rcmd check runs through nicely, I can install the package. I do not know how to load and run "simpleText()", though, but that probably does not matter. So I assume that, without using Rcpp and having only
	PKG_CPPFLAGS=-I.
	PKG_LIBS=PsyREG.lib
in the Makevars.win, things are ok.
Ok, I am working on that now, try to understand what it means and modify the lines to my own needs.
I?let you know how things are going here soon...


Meanwhile thanks a lot,
Bernhard