[Rcpp-devel] Configuring GSL headers and library for RcppGSL use on windows

Davor Cubranic cubranic at stat.ubc.ca
Fri Jul 6 05:06:24 CEST 2012


On 12-07-05 05:21 PM, Silkworth,David J. wrote:
>
> The libgsl.def is a long file starting with . . .
>
[...]
> I added the "-DGSL_DLL" to this list (gosh, what other list could be the "list of pre-defined macros" be?)
>   AND I copied the file libgsl.dll found in the \bin folder as an addition to the \lib folder.

"-DGSL_DLL" is a compiler switch, so I would guess it needs to be part 
of your PKG_CFLAGS.

Davor


More information about the Rcpp-devel mailing list