Are you calling:
XMLPlatformUtils::Initialize()

john

-----Original Message-----
From: Andreas Wagner [mailto:[email protected]] 
Sent: Friday, December 18, 2009 4:48 AM
To: [email protected]
Subject: Re: How to configure Eclipse to use Xerces?

Now I compiled the sources with MinGW and MSYS for Windows (
--host=i686-mingw). This worked correctly. Now I can include and compile the
sources and the lib without problems. But when i want to run the application
it crashes when I want to call funktions or whatever from xerces e.g.
XercesDOMParser ...;
Has anyone an idea?

Regards

2009/12/16 Andreas Wagner <[email protected]>

> Now I tried the solaris version. I included the include directory (GCC C++
> Compiler / Directories) and the folder lib ( MinGW C++ Linker /
> Libraries) to search for the libxerces-c.a. But I always get these errors:
>
>
> C:/awagne/workspace/Xerces test 2/Debug/../src/parser.cpp:21: undefined
> reference to `xercesc_3_0::XMLPlatformUtils::fgMemoryManager'
>
> C:/awagne/workspace/Xerces test 2/Debug/../src/parser.cpp:21: undefined
> reference to
> `xercesc_3_0::XercesDOMParser::XercesDOMParser(xercesc_3_0::XMLValidator*,
> xercesc_3_0::MemoryManager*, xercesc_3_0::XMLGrammarPool*)'
>
> and so on...
>

Reply via email to