|
Re: Visual Studio Install (win32): msg#00031text.xml.xerces-c.user
Ok, scrap the its OK buisness... I tried to compile one of the samples & im getting lots of linking errors... Linking... DOMCount.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_7::XMLPlatformUtils::Terminate(void)" (__imp_?Terminate@XMLPlatformUtils@xercesc_2_7@@SAXXZ) referenced in function __catch$_main$0 DOMCount.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static bool __cdecl xercesc_2_7::DOMImplementation::loadDOMExceptionMsg(enum xercesc_2_7::DOMException::ExceptionCode,unsigned short * const,unsigned int)" (__imp_?loadDOMExceptionMsg@DOMImplementation@xercesc_2_7@@SA_NW4ExceptionCode@DOMException@2@QAGI@Z) referenced in function __catch$_main$0 DOMCount.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned long __cdecl xercesc_2_7::XMLPlatformUtils::getCurrentMillis(void)" (__imp_?getCurrentMillis@XMLPlatformUtils@xercesc_2_7@@SAKXZ) referenced in function __catch$_main$0 DOMCount.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_7::XMLUni::fgDOMDatatypeNormalization" (__imp_?fgDOMDatatypeNormalization@XMLUni@xercesc_2_7@@2QBGB) DOMCount.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_7::XMLUni::fgDOMValidation" (__imp_?fgDOMValidation@XMLUni@xercesc_2_7@@2QBGB) DOMCount.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_7::XMLUni::fgDOMValidateIfSchema" (__imp_?fgDOMValidateIfSchema@XMLUni@xercesc_2_7@@2QBGB) DOMCount.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_7::XMLUni::fgXercesSchemaFullChecking" (__imp_?fgXercesSchemaFullChecking@XMLUni@xercesc_2_7@@2QBGB) DOMCount.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_7::XMLUni::fgXercesSchema" (__imp_?fgXercesSchema@XMLUni@xercesc_2_7@@2QBGB) DOMCount.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_7::XMLUni::fgDOMNamespaces" (__imp_?fgDOMNamespaces@XMLUni@xercesc_2_7@@2QBGB) DOMCount.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class xercesc_2_7::DOMImplementation * __cdecl xercesc_2_7::DOMImplementationRegistry::getDOMImplementation(unsigned short const *)" (__imp_?getDOMImplementation@DOMImplementationRegistry@xercesc_2_7@@SAPAVDOMImplementation@2@PBG@Z) referenced in function __catch$_main$0 DOMCount.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: unsigned short const * __thiscall xercesc_2_7::XMLException::getMessage(void)const " (__imp_?getMessage@XMLException@xercesc_2_7@@QBEPBGXZ) referenced in function __catch$_main$0 DOMCount.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_7::XMLPlatformUtils::recognizeNEL(bool,class xercesc_2_7::MemoryManager * const)" (__imp_?recognizeNEL@XMLPlatformUtils@xercesc_2_7@@SAX_NQAVMemoryManager@2@@Z) referenced in function _main DOMCount.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class xercesc_2_7::MemoryManager * xercesc_2_7::XMLPlatformUtils::fgMemoryManager" (__imp_?fgMemoryManager@XMLPlatformUtils@xercesc_2_7@@2PAVMemoryManager@2@A) DOMCount.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static char const * const xercesc_2_7::XMLUni::fgXercescDefaultLocale" (__imp_?fgXercescDefaultLocale@XMLUni@xercesc_2_7@@2QBDB) DOMCount.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_7::XMLPlatformUtils::Initialize(char const * const,char const * const,class xercesc_2_7::PanicHandler * const,class xercesc_2_7::MemoryManager * const,bool)" (__imp_?Initialize@XMLPlatformUtils@xercesc_2_7@@SAXQBD0QAVPanicHandler@2@QAVMemoryManager@2@_N@Z) referenced in function _main DOMCount.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static char * __cdecl xercesc_2_7::XMLString::transcode(unsigned short const * const)" (__imp_?transcode@XMLString@xercesc_2_7@@SAPADQBG@Z) referenced in function "public: __thiscall StrX::StrX(unsigned short const * const)" (??0StrX@@QAE@QBG@Z) DOMCount.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_7::XMLString::release(char * *)" (__imp_?release@XMLString@xercesc_2_7@@SAXPAPAD@Z) referenced in function "public: __thiscall StrX::~StrX(void)" (??1StrX@@QAE@XZ) DOMCount.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: __thiscall xercesc_2_7::DOMErrorHandler::DOMErrorHandler(void)" (__imp_??0DOMErrorHandler@xercesc_2_7@@IAE@XZ) referenced in function "public: __thiscall DOMCountErrorHandler::DOMCountErrorHandler(void)" (??0DOMCountErrorHandler@@QAE@XZ) DOMCount.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall xercesc_2_7::DOMErrorHandler::~DOMErrorHandler(void)" (__imp_??1DOMErrorHandler@xercesc_2_7@@UAE@XZ) referenced in function "public: virtual __thiscall DOMCountErrorHandler::~DOMCountErrorHandler(void)" (??1DOMCountErrorHandler@@UAE@XZ) Debug/Xerces.exe : fatal error LNK1120: 19 unresolved externals Any Ideas? -Alex appleGuy wrote: > > Hi, > > Thanks Alberto for your help > I tried to compile a blank project with an Xerces header & it seemed to > compile Ok. > > Cheers > Alex > > > Alberto Massari wrote: >> >> At 06.33 13/12/2006 -0800, appleGuy wrote: >> >>>Hi, >>> >>>Ok I built it ok... However I dont have an include or a lib directory in my >>>Xerces folder >> >> Because it's not the binary distribution... you can use the 'src' as >> include folder and the 'Build\Win32\VC7.1\Debug' + >> 'Build\Win32\VC7.1\Release' as the lib folders. Or rebuild the >> sources using the script packageBinaries.pl under the scripts >> directory to build a binary distribution. >> >> Alberto >> >> >>>-Alex >>> >>> >>>Alberto Massari wrote: >>> > >>> > At 05.45 13/12/2006 -0800, appleGuy wrote: >>> > >>> >>Ok Thanks, >>> >> >>> >>I have Vs7.1...To compile the source is it as simple as openning the >>> vc7.1 >>> >>project file in the source disto & hitting the compile button? >>> > >>> > Yes. >>> > >>> > Alberto >>> > >>> > >>> >>Thank For Your Help >>> >>-Alex >>> >> >>> >> >>> >>Alberto Massari wrote: >>> >> > >>> >> > Hi Alex, >>> >> > if you have Visual Studio 6, these are the steps: >>> >> > >>> >> > 1) Go to Tools | Options >>> >> > 2) click on the Directories tab >>> >> > 3) it will show the settings for the 'Include files' >>> >> > 4) click on the first button in the mini toolbar ('New') >>> >> > 5) in the newly added edit box type in <xercesdir>\include and >>> press >>> >> Enter >>> >> > 6) click on the combo box and select 'Library files' >>> >> > 7) click on the first button in the mini toolbar ('New') >>> >> > 8) in the newly added edit box type in <xercesdir>\lib and press >>> Enter >>> >> > 9) click OK >>> >> > >>> >> > If you have Visual Studio .NET 2002/2003 or Visual Studio 2005 you >>> >> > will first have to download the source distribution of Xerces and >>> >> > recompile it using your compiler. >>> >> > Then, >>> >> > >>> >> > 1) Go to Tools | Options >>> >> > 2) Select the Projects entry in the tree on the left, then the VC++ >>> >> > Directories leaf under it >>> >> > 3) Choose 'Include files' from the combo box >>> >> > 4) click on the second button in the mini toolbar ('New Line') >>> >> > 5) in the newly added edit box type in <xercesdir>\include and >>> press >>> >> Enter >>> >> > 6) click on the combo box and select 'Library files' >>> >> > 7) click on the first button in the mini toolbar ('New Line') >>> >> > 8) in the newly added edit box type in <xercesdir>\lib and press >>> Enter >>> >> > 9) click OK >>> >> > >>> >> > Alberto >>> >> > >>> >> > At 05.06 13/12/2006 -0800, appleGuy wrote: >>> >> > >>> >> >>Hi, >>> >> >> >>> >> >>Im a complete beginner when it comes to Xerces. My Main question is >>> >> could >>> >> >>somebody please go through a step by step on how to install Xerces >>> in >>> >>Visual >>> >> >>Studio (the include directories etc).. Ive currently got the Binary >>> >>distro, >>> >> >>is this ok? >>> >> >> >>> >> >>Many Thanks >>> >> >>Alex >>> >> >>-- >>> >> >>View this message in context: >>> >> >>http://www.nabble.com/Visual-Studio-Install-%28win32%29-tf2813856. >>> >> html#a7852419 >>> >> >>Sent from the Xerces - C - Users mailing list archive at >>> Nabble.com. >>> >> > >>> >> > >>> >> > >>> >> >>> >>-- >>> >>View this message in context: >>> >>http://www.nabble.com/Visual-Studio-Install-%28win32%29-tf2813856. >>> html#a7853016 >>> >>Sent from the Xerces - C - Users mailing list archive at Nabble.com. >>> > >>> > >>> > >>> >>>-- >>>View this message in context: >>>http://www.nabble.com/Visual-Studio-Install-%28win32%29-tf2813856.html#a7853846 >>>Sent from the Xerces - C - Users mailing list archive at Nabble.com. >> >> >> > > -- View this message in context: http://www.nabble.com/Visual-Studio-Install-%28win32%29-tf2813856.html#a7854396 Sent from the Xerces - C - Users mailing list archive at Nabble.com. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Visual Studio Install (win32): 00031, appleGuy |
|---|---|
| Next by Date: | Re: Visual Studio Install (win32): 00031, Alberto Massari |
| Previous by Thread: | Re: Visual Studio Install (win32)i: 00031, appleGuy |
| Next by Thread: | Re: Visual Studio Install (win32): 00031, Alberto Massari |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |