Re: [xml] Linking libxml with VC++ 6



MSVC uses different runtime libaries depending what settings you chose
in your project. The libxml2 is build with /MD (Mukti-Threaded DLL) by
support. You have to configure your libxml2 with the right "cruntime"
setting depending on the compiler switch in MSVC (e.g. "cruntime=/MT"
for Multi-Threaded). You should see that switch at the bottom of your
C/C++ project settings. If you want to get rid of the iconv.dll and
zlib.dll dependencies just configure your libxml2 with "iconv=no" and
"zlib=no" and rebuild it.



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