[xml] Link error of libxml 2.6.6 in Win32



I have libxml2 2.6.4 working fine.
I downloaded 2.6.4 binaries for win32.
I don't need iconv or zlib libraries. I replaced xmlversion.h by
xmpwin32version.h.

When building my application, which is built nicely with 2.6.4, I get these
errors:

libxml2_a.lib(xpath.obj) : error LNK2001: unresolved external symbol __ftol2
libxml2_a.lib(xpointer.obj) : error LNK2001: unresolved external symbol
__ftol2
libxml2_a.lib(xmlschemastypes.obj) : error LNK2001: unresolved external
symbol __ftol2
libxml2_a.lib(xmlIO.obj) : error LNK2001: unresolved external symbol _gzopen
libxml2_a.lib(xmlIO.obj) : error LNK2001: unresolved external symbol
_gzdopen
libxml2_a.lib(xmlIO.obj) : error LNK2001: unresolved external symbol _gzread
libxml2_a.lib(xmlIO.obj) : error LNK2001: unresolved external symbol
_gzwrite
libxml2_a.lib(xmlIO.obj) : error LNK2001: unresolved external symbol
_gzclose
libxml2_a.lib(xmlIO.obj) : error LNK2001: unresolved external symbol
_deflateEnd
libxml2_a.lib(xmlIO.obj) : error LNK2001: unresolved external symbol
_deflateInit2_
libxml2_a.lib(xmlIO.obj) : error LNK2001: unresolved external symbol
_deflate
libxml2_a.lib(xmlIO.obj) : error LNK2001: unresolved external symbol
_gzrewind
libxml2_a.lib(encoding.obj) : error LNK2001: unresolved external symbol
_libiconv
libxml2_a.lib(encoding.obj) : error LNK2001: unresolved external symbol
_libiconv_close
libxml2_a.lib(encoding.obj) : error LNK2001: unresolved external symbol
_libiconv_open

Thanks in advance




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]