Hi Juan,
please use the c-users mailing list for Xerces-related questions.

Are those the only two linker errors?

Alberto

At 19.27 28/08/2007 -0300, Juan Cruz Donato wrote:
Alberto, sorry to bother you, but I need some help trying to build a simple
Xerces projecy in MSVC8.
I have downloaded and built the Xerces 2.7.0 source release without trouble.
I´ve tried to build a simple application to test it, but I keep getting
linker errors.
I've added the Xerces .lib file and it´s path to the project.
This is the code, very simple:

        xercesc::XMLPlatformUtils::Initialize();

        xercesc::XercesDOMParser *parser = new xercesc::XercesDOMParser();

        parser->setValidationScheme(xercesc::XercesDOMParser::Val_Never);
        parser->setDoNamespaces(false);
        parser->setDoSchema (false);
        parser->setLoadExternalDTD(false);
        parser->setCreateEntityReferenceNodes(false);


        delete parser;

        xercesc::XMLPlatformUtils::Terminate();

And this is the linker output:

parser.obj : error LNK2001: símbolo externo "public: static class
xercesc_2_7::MemoryManager * xercesc_2_7::XMLPlatformUtils::fgMemoryManager"
([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]@A) sin
resolver
parser.obj : error LNK2001: símbolo externo "public: static char const *
const xercesc_2_7::XMLUni::fgXercescDefaultLocale"
([EMAIL PROTECTED]@xercesc_2_7@@2QBDB) sin resolver

Any help would be great, thanks in advance,
Juan Cruz

Reply via email to