Work Order Instructions:
- download the source of latest stable release of LibXml2
- build the third party library (32bit or 64bit)
Note: use the same Visual Studio or compiler as for the SDK compilation - copy the third party files to the ThirdParty folder within the SDK folder structure
Note: use the suggestes subfolder names: win32 and win64 (see section Third-Party components - Important note for Windows) - use CMake to generate new Visual Studio solution file for the SDK
- recompile solution
- Start your Visual Studio Command Prompt and navigate to the unzipped LibXml2 folder (for 64Bit start the x64 Win64 Command Prompt).
- Navigate into the folder win32 and enter the following command to create the Makefiles without patent-registered algorithms in debug mode:Makefiles with:
Code: Select all
cscript configure.js compiler=msvc prefix=c:opt include=c:optinclude lib=c:optlib iconv=no debug=no
- Compile with nmake /f Makefile.msvc clean all install.
- Start your Visual Studio Command Prompt and locate the unzipped LibXml2 folder (for 64Bit start the x64 Win64 Command Prompt).
- Now locate the makefile "Makefile.msvc" (in folder win32) and edit the following lines:
Code: Select all
XML_SO = $(XML_BASENAME)d.dll XML_IMP = $(XML_BASENAME)d.dll
- Navigate into the folder win32 and enter the following command to create the Makefiles without patent-registered algorithms in debug mode:
Code: Select all
cscript configure.js compiler=msvc prefix=c:\opt include=c:\opt\include lib=c:\opt\lib iconv=no debug=yes cruntime=/MDd vcmanifest=yes
- Compile with nmake /f Makefile.msvc clean all install.