[xsd-users] Static linking

Boris Kolpackov boris at codesynthesis.com
Wed Mar 7 05:46:33 EST 2012


Hi James,

James & Veri Martin <verimart at hotmail.com> writes:

> In building projects with the c++/tree libraries, in order to run they
> require the xerces dll to be present on the target system. Is there a
> way to produce a fully statically-linked project?

You just need to link to the static Xerces-C++ library:

xerces-c_static_3.lib  (Release
xerces-c_static_3D.lib (Debug)

Also don't forget to define the XERCES_STATIC_LIBRARY macro when building
your application.

Boris



More information about the xsd-users mailing list