Yes, it works! You are really a nice guy to works with :-) Thank you very
much!
Specifically, add following lines before the "all:" target of Makefile.msvc:
!if "$(WITH_LZMA)" == "1"
XML_OBJS = $(XML_OBJS) $(XML_INTDIR)\xzlib.obj
XML_OBJS_A = $(XML_OBJS_A) $(XML_INTDIR_A)\xzlib.obj
XML_OBJS_A_DLL
On 03/11/2018 01:02, Heng Zhou via xml wrote:
xmlIO.obj : error LNK2019: unresolved external symbol __libxml2_xzopen
referenced in function xmlXzfileOpen_real
Can you try the attached patch? Untested, but if lzma is enabled, we have to
compile and link xzlib.c as well.
Nick
diff --git a/win3
Environment:
- Windows 10 64 bit
- Visual Studio 2015 Update 3
- vcvarsall x64 already executed successfully
- nmake /f Makefile.msvc clean already executed successfully
When I tried to compile libxml2 with lzma included, I got the following
errors (no error if I did not include lzma):
Generating