Hi John, yes I am calling XMLPlatformUtils::Initialize(). But before i am using namespace xercesc; and include every necessary source.
I made another try ... first ./configure LDFLAGS=-no-undefined (for MinGW) then make and make-install A libxerces-c-3-0.dll, libxerces-c.dll.a and a libxerces-c.a is created. (using libxerces-c.a and include the src from xerces-c-3.0.1 folder).When I just want to use the .a lib, a warning in windows tells me could not find libxerces.dll? Any help could be useful. andreas 2009/12/18 John Lilley <[email protected]> > 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... > > >
