This error is usually caused by linking against the dynamic libxml2 lib
on Windows instead of the static lib. If you link against the static
library (called libxml2_a.lib), you shouldn't get the error.
If you want to link against the libxml2 DLL, you'll need to rebuild the
DOM. First remove the constant "LIBXML_STATIC" from the preprocessor
defines in LIBXMLPlugin.vcproj, and if you're building the DOM as a DLL
(I'm not sure how OSG uses the DOM), change it to link against
libxml2.lib instead of libxml2_a.lib.
This is all rather confusing... I should write up some documentation for
this.
Gerrick Bivins wrote:
Hi Robert and Anders,
Yup. libxml2 is what I'm linking in. So is the solution to update
collada dom? Ouch. I was hoping to be able to just use the installer
for this "easy update" rather than the brute force route and building
collada dom...Oh well.
biv
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/