Skip to content
Prev 4932 / 12125 Next

[R-pkg-devel] CRAN cannot find libraries on Windows

Thanks, one suspicious part from the log below is

-LC:/extsoft/lib/i386

which is clearly not in any variable we define on CRAN.

Looking close shows that
 > Rhtslib::pkgconfig("PKG_LIBS")

gives

'D:/RCompile/CRANpkg/lib/4.0/Rhtslib/usrlib/x64/libhts.a' 
-LC:/extsoft/lib/x64 -lcurl -lrtmp -lssl -lssh2 -lcrypto -lgdi32 -lz 
-lws2_32 -lwldap32 -lwinmm

and that is wrong as -LC:/extsoft/lib/i386 or C:/extsoft/lib/x64 are not 
directories where the software is installed on winbuilder.

Pls use the directories the other packages are using, too.

Best,
Uwe Ligges
On 26.01.2020 22:40, Lucas Nell wrote: