[Rcpp-devel] How to link a .lib file in a rcpp-package in a Windows environment?
Hi Dirk,
in the end the
| (very simple!! :-)) ) working version of Makevars.win is like that:
| PKG_LIBS = Plastic.lib $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e "Rcpp:::LdFlags()")
Perfect!! No transformation needed for Plastic.lib, ie no export table business and all that as discussed in the MinGW FAQ?
Actually, I did not read the MinGW FAQ, I got this idea from studying the source code of the "mvabund" package, and by having learnt what -l, -L and -I means for the compiler.
We'll take it one step at a time. Just how you were able to decompose this problem into manageable chunks, we'll just do the same with the next apparent roadblock.
Great. I suspect you?ll hear from me rather soon.... :-) with a bow from Innsbruck, Austria, Bernhard