Hi Dennis, I am guessing that you're trying to link statically to the xerces-c++. In that case, build your application with the XML_LIBRARRY preprocessor define. Also make sure that the xerces-c++ library is defined in your library path.
Cheers, -Ozgur Sahoglu -----Original Message----- From: Dennis Endt [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2008 2:02 PM To: [email protected] Subject: Re: Unresolved Linking Error David Bertoni schrieb: > Dennis Endt wrote: >> Hi, >> >> I`m porting my Code from MFC to Qt and now I`m getting unresolved >> Linking Errors: >> >> LNK2019 >> LNK2001 >> >> The Settings are the same as before. The lib is correct included. >> >> What`s wrong? > Without information about the actual linker errors, who knows what's > wrong? Please post the linker output. > > Dave > The whole linking Errors: XmlBase2Dialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) protected: __thiscall xercesc_2_8::DOMErrorHandler::DOMErrorHandler(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])" in Funktion ""public: __thiscall XMLBaseErrorHandler::XMLBaseErrorHandler(void)" (??0XMLBaseErrorHandler@@[EMAIL PROTECTED])". XmlBase2Dialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: virtual __thiscall xercesc_2_8::DOMErrorHandler::~DOMErrorHandler(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])" in Funktion ""public: virtual __thiscall XMLBaseErrorHandler::~XMLBaseErrorHandler(void)" (??1XMLBaseErrorHandler@@[EMAIL PROTECTED])". XmlBase2Dialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLPlatformUtils::Terminate(void)" ([EMAIL PROTECTED]@xercesc_2_8@@SAXXZ)" in Funktion "[EMAIL PROTECTED]@@[EMAIL PROTECTED]". XmlBase2Dialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static bool __cdecl xercesc_2_8::DOMImplementation::loadDOMExceptionMsg(enum xercesc_2_8::DOMException::ExceptionCode,unsigned short * const,unsigned int)" ([EMAIL PROTECTED]@xercesc_2_8@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@Z)" in Funktion "[EMAIL PROTECTED]@@[EMAIL PROTECTED]". XmlBase2Dialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgXercesUseCachedGrammarInParse" ([EMAIL PROTECTED]@xercesc_2_8@@2QBGB)". XmlBase2Dialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgXercesSchemaExternalNoNameSpaceSchemaLocation" ([EMAIL PROTECTED]@xercesc_2_8@@2QBGB)". XmlBase2Dialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgXercesSchemaFullChecking" ([EMAIL PROTECTED]@xercesc_2_8@@2QBGB)". XmlBase2Dialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgXercesSchema" ([EMAIL PROTECTED]@xercesc_2_8@@2QBGB)". XmlBase2Dialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgDOMValidation" ([EMAIL PROTECTED]@xercesc_2_8@@2QBGB)". XmlBase2Dialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgDOMNamespaces" ([EMAIL PROTECTED]@xercesc_2_8@@2QBGB)". XmlBase2Dialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static class xercesc_2_8::MemoryManager * xercesc_2_8::XMLPlatformUtils::fgMemoryManager" ([EMAIL PROTECTED]@xercesc_2_8@@[EMAIL PROTECTED]@A)". XmlBase2Dialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static class xercesc_2_8::DOMImplementation * __cdecl xercesc_2_8::DOMImplementationRegistry::getDOMImplementation(unsigned short const *)" ([EMAIL PROTECTED]@xercesc_2_8@@[EMAIL PROTECTED]@[EMAIL PROTECTED])" in Funktion "[EMAIL PROTECTED]@@[EMAIL PROTECTED]". XmlBase2Dialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static unsigned short * __cdecl xercesc_2_8::XMLString::transcode(char const * const)" ([EMAIL PROTECTED]@xercesc_2_8@@[EMAIL PROTECTED])" in Funktion "[EMAIL PROTECTED]@@[EMAIL PROTECTED]". XmlBase2Dialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLString::release(char * *)" ([EMAIL PROTECTED]@xercesc_2_8@@[EMAIL PROTECTED])" in Funktion "[EMAIL PROTECTED]@@[EMAIL PROTECTED]". XmlBase2Dialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static char * __cdecl xercesc_2_8::XMLString::transcode(unsigned short const * const)" ([EMAIL PROTECTED]@xercesc_2_8@@[EMAIL PROTECTED])" in Funktion "[EMAIL PROTECTED]@@[EMAIL PROTECTED]". XmlBase2Dialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: unsigned short const * __thiscall xercesc_2_8::XMLException::getMessage(void)const " ([EMAIL PROTECTED]@xercesc_2_8@@QBEPBGXZ)" in Funktion "[EMAIL PROTECTED]@@[EMAIL PROTECTED]". XmlBase2Dialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLPlatformUtils::Initialize(char const * const,char const * const,class xercesc_2_8::PanicHandler * const,class xercesc_2_8::MemoryManager * const,bool)" ([EMAIL PROTECTED]@xercesc_2_8@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED])" in Funktion ""public: bool __thiscall XmlBase2Dialog::Init(char const *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])". XmlBase2Dialog.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static char const * const xercesc_2_8::XMLUni::fgXercescDefaultLocale" ([EMAIL PROTECTED]@xercesc_2_8@@2QBDB)". XmlBase2Dialog.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLString::release(unsigned short * *)" ([EMAIL PROTECTED]@xercesc_2_8@@[EMAIL PROTECTED])" in Funktion ""public: __thiscall XStr::~XStr(void)" (??1XStr@@[EMAIL PROTECTED])". Dennis
