Skip to content
Prev 16045 / 21312 Next

[Bioc-devel] Rhtslib-linked package not compiling on Windows

Hi Lucas,

In order to compile an Rhtslib client package on Windows you need a 
setup that mimics closely what we have on our Windows builders. In 
particular you need to install a bunch of external libraries in 
C:\extsoft and edit R\etc\i386\Makeconf and R\etc\x64\Makeconf to let R 
know about these external libraries. The exact setup is documented here:

 
https://github.com/Bioconductor/BBS/blob/master/Doc/Prepare-Windows-Server-2012-HOWTO.md

End users don't need any of this because they typically install the 
Windows package binaries which are statically linked.

Unfortunately, if Windows is the platform where you intend to develop 
your package, you'll have to go thru the complicated setup described 
above. Alternatively, if that's an option for you, you could develop 
your package on Linux. Installing the external libraries there is very 
easy so the development process will be a lot easier. Then, when you 
summit your package to Bioconductor, we'll start building the Windows 
and Mac binaries for you so you'll get build reports for these 
platforms. Also, once the package is accepted, we'll distribute the 
Windows and Mac binaries so on these platforms your users won't need any 
of the external dependencies.

Hope this helps,

H.
On 1/20/20 14:09, Lucas Nell wrote: