Hi!

I've just tried to compile libxml2 (master checkout) with the nmake tool of
Visual Studio 2012 and came across two small problems:

1. In dist.c an "insert->l" was not renamed to "insert->len".
2. In the msvc makefile the buf.obj was not included and therefore buf.c
was not compiled which lead to linker errors (unresolved external symbols).

I used the following command to configure my build:
cscript configure.js compiler=msvc prefix=<install_path> iconv=no zlib=yes
include=<zlib_include_path> lib=<zlib_library_path>

Patch with the fixes is attached. I hope this helps.

Best wishes,
Jonathan Meier

Attachment: fix_msvc11_compilation.patch
Description: Binary data

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to