把他的lib。bin。include都放到我得Options的directory里面了,但是运行时遇到连接错误啊?
错误是这样:
Linking...
CreateDOMDocument.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class xercesc_2_6::MemoryManager * xercesc_2_6::XMLPlatformUtils::fgMemoryManager" (__imp_?fgMemoryManager@XMLPlatformUtils@xercesc_2_6@@2PAVMemo
ryManager@2@A)
CreateDOMDocument.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class xercesc_2_6::DOMImplementation * __cdecl xercesc_2_6::DOMImplementationRegistry::getDOMImplementation(unsigned short const *)" (__imp_?getD
OMImplementation@DOMImplementationRegistry@xercesc_2_6@@SAPAVDOMImplementation@2@PBG@Z)
CreateDOMDocument.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_6::XMLPlatformUtils::Terminate(void)" (__imp_?Terminate@XMLPlatformUtils@xercesc_2_6@@SAXXZ)
CreateDOMDocument.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_6::XMLString::release(char * *)" (__imp_?release@XMLString@xercesc_2_6@@SAXPAPAD@Z)
CreateDOMDocument.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static char * __cdecl xercesc_2_6::XMLString::transcode(unsigned short const * const)" (__imp_?transcode@XMLString@xercesc_2_6@@SAPADQBG@Z)
CreateDOMDocument.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: unsigned short const * __thiscall xercesc_2_6::XMLException::getMessage(void)const " (__imp_?getMessage@XMLException@xercesc_2_6@@QBEPBGXZ)
CreateDOMDocument.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_6::XMLPlatformUtils::Initialize(char const * const,char const * const,class xercesc_2_6::PanicHandler * const,class xerces
c_2_6::MemoryManager * const)" (__imp_?Initialize@XMLPlatformUtils@xercesc_2_6@@SAXQBD0QAVPanicHandler@2@QAVMemoryManager@2@@Z)
CreateDOMDocument.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static char const * const xercesc_2_6::XMLUni::fgXercescDefaultLocale" (__imp_?fgXercescDefaultLocale@XMLUni@xercesc_2_6@@2QBDB)
CreateDOMDocument.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short * __cdecl xercesc_2_6::XMLString::transcode(char const * const)" (__imp_?transcode@XMLString@xercesc_2_6@@SAPAGQBD@Z)
CreateDOMDocument.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_6::XMLString::release(unsigned short * *)" (__imp_?release@XMLString@xercesc_2_6@@SAXPAPAG@Z)
Debug/CreateDOMDocument.exe : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.CreateDOMDocument.exe - 11 error(s), 0 warning(s)
好像是函数地址找不到啊??