skyknight wrote:
hihi

When I try to compile the xerces example, the screen display the following
error message:

/tmp/ccUnRyBh.o(.text+0x23): In function `main`:
:undefined reference to `xercesc_3_0::XMLUni::fgXercescDefaultLocale`
/tmp/ccUnRyBh.o(.text+0x28): In function `main`:
:undefined reference to `xercesc_3_0::XMLPlatformUtils::Initialize(char
const*, char const*,
xercesc_3_0::PanicHandler*,xercesc_3_0::MemoryManager*)`

Command (Filename is testing2.cpp): g++ -otesting2.out testing2.cpp
You need to link with the library:

g++ -o testing.out testing2.cpp -l xerces-c

Dave

Reply via email to