Page 1 of 1

Why is ther no documentation on how to build the 64bit versions of the libxml2 dlls for Windows?

Posted: 09 Jun 2021, 11:41
by simon
The documentation here :

https://documentation.unified-automation.com/uasdkcpp/1.7.4/html/CompileLibXml2VS.html

only details building 32 bit dlls.

The documentation effectively reflects what is in described in:

libxml2-<version>/win32/Readme.txt

which only details 32 bit building.

It seems non-trivial to configure a 64 bit build.

Please could documentation be added for bulding 64 bit version of libxml2? Thanks

Re: Why is ther no documentation on how to build the 64bit versions of the libxml2 dlls for Windows?

Posted: 20 Jul 2021, 12:52
by Support Team
Hello Simon,

The documentation of Compiling LibXml2 with Visual Studio is for both 32-bit and 64-bit
http://documentation.unified-automation.com/uasdkcpp/1.7.4/html/CompileLibXml2VS.html

libxml2-<version>/win32/Readme.txt
The Readme.txt does not specify it is only for 32-bit.
You should use the same instructions for the 64-bit as well.

The ONLY thing you have to do is starting the correct Visual Studio Command Prompt -
For 32-bit: x86 Native Tools Command Prompt for VS XXXX
For 64-bit: x64 Native Tools Command Prompt for VS XXXX