logo       

initializing parser in code, linking error: msg#00076

text.xml.xerces-c.user

Subject: initializing parser in code, linking error

I wish to use the Xerces parser in a plugin I'm writing. I just added
the XMLPlatformUtils::Initialize() and Terminate() calls then compiled.
I got linking errors with messages like this:

unresolved external symbol "__declspec(dllimport) public: static void
__cdecl xercesc_2_7::XMLPlatformUtils::Terminate(void)"
(__imp_?Terminate@XMLPlatformUtils@xercesc_2_7@@SAXXZ)

I got an error for the Initialize() call as well and one for
XMLUni::fgXercescDefaultLocale
I have the PlatformUtils.hpp included and there are no errors in the
compiling part of my build, so I'm inclined to think I'm missing either
some include directory or a .lib/.dll file. My current include points
to the src folder. No .lib or .dll files were included with the
distribution I downloaded. I haven't worked with C++ path issues in a
while as I'm coming from Java, so there must be something simple I' m
missing. Any ideas?

Thanks,
Dan
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise