Hi Weiwei, Weiwei Wang <[email protected]> writes:
> As I need to run my program on a different linux machin so I need to > statically link the xerces lib for my project. Try to specify libxerces-c.a directly instead of -lxerce-c in your linker command line. Something like /usr/lib/libxerces-c.a > I tried -DXERCES_SATIC_LIBRARY but it does not work:( This is only necessary for Windows/VC++. Boris -- Boris Kolpackov, Code Synthesis http://codesynthesis.com/~boris/blog Open-source XML data binding for C++ http://codesynthesis.com/products/xsd XML data binding for embedded systems http://codesynthesis.com/products/xsde Command line interface to C++ compiler http://codesynthesis.com/projects/cli
