Install gnuwin32 libxml2: install multiple lib and include libraries

Now I am compiling libxml2 in windows 8 using mingw32.

Download ftp://xmlsoft.org/libxml2/ here and follow the instructions found in the README file. They instruct you to configure make using javascript called configure.js. We can run the script as follows:

cscript configure.js compiler=msvc prefix=c:\opt include=c:\opt\include lib=c:\opt\lib debug=yes 

I think there is a super simple and possibly obvious one for this question, but how to install multiple lib and include libraries? I tried splitting into ";"

 cscript configure.js compiler=mingw zlib=yes prefix=C:\cpp\libraries\libxml2 include=C:\cpp\libraries\iconv-1.9.2.win32\include;C:\cpp\libraries\zlib1.2.3\GnuWin32\include lib=C:\cpp\libraries\iconv-1.9.2.win32\lib;C:\cpp\libraries\zlib1.2.3\GnuWin32\lib 

but it didn’t work. Didn't find anything about this in readme ...

0
source share
1 answer

Finally, it was not so difficult. The javascript script creates a config.mingw file that is easy to edit, in this case manually adding paths separately with -I, in my case:

 INCLUDE+= -IC:\cpp\libraries\iconv\GnuWin32\include -IC:\cpp\libraries\zlib1.2.3\GnuWin32\include LIB+= -LC:\cpp\libraries\iconv\GnuWin32\lib -LC:\cpp\libraries\zlib1.2.3\GnuWin32\lib 
0
source

All Articles