[xml] Building libxml2 with static iconv.lib on windows
- From: john blair <mailtome200420032002 yahoo com>
- To: xml gnome org
- Subject: [xml] Building libxml2 with static iconv.lib on windows
- Date: Wed, 17 Jun 2009 17:28:12 -0700 (PDT)
I am trying to build libxml2-2.6.30 on windows. I configure it with
cscript configure.js compiler=msvc vcmanifest=yes static=yes debug=no \
include=<iconv include dir> \
lib=<iconv lib dir>
If lib is set to dir containing the DLL import library version of iconv then the build succeeds. But if its
set to dir containing the static library version of iconv then the build fails with
Creating library bin.msvc\libxml2.lib and object bin.msvc\libxml2.exp
encoding.obj : error LNK2019: unresolved external symbol __imp__libiconv referenced in function
_xmlIconvWrapper
encoding.obj : error LNK2019: unresolved external symbol __imp__libiconv_close referenced in function
_xmlCharEncCloseFunc
encoding.obj : error LNK2019: unresolved external symbol __imp__libiconv_open referenced in function
_xmlFindCharEncodingHandler
bin.msvc\libxml2.dll : fatal error LNK1120: 3 unresolved externals
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]