[Bioc-devel] GSL on Windows

Dong Li dxl466 at cs.bham.ac.uk
Fri Nov 18 19:08:56 CET 2016


Hi

Sorry about previous post on support.bioconductor.org.

I am trying to use GSL on Windows to build my package. And I use 
src/Makevars.win as Martin's package 
https://github.com/Bioconductor-mirror/DirichletMultinomial.

PKG_LIBS += -L$(LIB_GSL)/lib -lgsl -lgslcblas
PKG_CPPFLAGS += -I$(RHOME)/src/include -I$(LIB_GSL)/include

I set an environment variable `LIB_GSL` as `C:\GnuWin32` since I 
download http://gnuwin32.sourceforge.net/packages/gsl.htm and installed 
it to that default location. Compilation seems fine but got the 
following error:

Error in inDL(x, as.logical(local), as.logical(now), ...) :
   unable to load shared object 
'D:/Soft/Rlibrary/AMOUNTAIN/libs/x64/AMOUNTAIN.dll':
   LoadLibrary failure:  %1 is not a valid Win32 application

Any suggestions? Thanks.


-- 
Best regards,

Dong



More information about the Bioc-devel mailing list