Jump to content


Photo

Stackless Branch Difficulty


1 reply to this topic

#1 LfO

LfO

    Sergeant

  • Xenocide Sound Department
  • 81 posts

Posted 21 July 2006 - 06:36 PM

I've spent the better part of the day trying to build the stackless branch so I can't see what PGM has been been up to, and I'm almost there. I got this far following the VS C++ Express guide on the Wiki, and the top pinned thread in this forum. There's only one module ("project"?) still failing, as below. Any ideas?

Linking...
   Creating library ../../../../lib/CEGUIXercesParser_d.lib and object ../../../../lib/CEGUIXercesParser_d.exp
CEGUIXercesParser.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static char * __cdecl xercesc_2_7::XMLString::transcode(wchar_t const * const)" (__imp_?transcode@XMLString@xercesc_2_7@@SAPADQB_W@Z) referenced in function __catch$?parseXMLFile@XercesParser@CEGUI@@UAEXAAVXMLHandler@2@ABVString@2@11@Z$0
CEGUIXercesParser.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: wchar_t const * __thiscall xercesc_2_7::XMLException::getMessage(void)const " (__imp_?getMessage@XMLException@xercesc_2_7@@QBEPB_WXZ) referenced in function __catch$?parseXMLFile@XercesParser@CEGUI@@UAEXAAVXMLHandler@2@ABVString@2@11@Z$0
CEGUIXercesParser.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl xercesc_2_7::XMLString::stringLen(wchar_t const * const)" (__imp_?stringLen@XMLString@xercesc_2_7@@SAIQB_W@Z) referenced in function "public: static void __cdecl CEGUI::XercesParser::populateAttributesBlock(class xercesc_2_7::Attributes const &,class CEGUI::XMLAttributes &)" (?populateAttributesBlock@XercesParser@CEGUI@@SAXABVAttributes@xercesc_2_7@@AAVXML
ttributes@2@@Z)
CEGUIXercesParser.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_7::XMLString::release(wchar_t * *)" (__imp_?release@XMLString@xercesc_2_7@@SAXPAPA_W@Z) referenced in function __catch$?initialiseSchema@XercesParser@CEGUI@@KAXPAVSAX2XMLReader@xercesc_2_7@@ABVString@
@11@Z$0
CEGUIXercesParser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static wchar_t const * const xercesc_2_7::XMLUni::fgXercesSchemaExternalNoNameSpaceSchemaLocation" (__imp_?fgXercesSchemaExternalNoNameSpaceSchemaLocation@XMLUni@xercesc_2_7@@2QB_WB)
CEGUIXercesParser.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static wchar_t * __cdecl xercesc_2_7::XMLString::transcode(char const * const)" (__imp_?transcode@XMLString@xercesc_2_7@@SAPA_WQBD@Z) referenced in function __catch$?initialiseSchema@XercesParser@CEGUI@@KAXPAVSAX2XMLReader@xercesc_2_7@@ABVString@
@11@Z$0
etc., etc.....

CEGUIXercesParser.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_7::DefaultHandler::externalEntityDecl(wchar_t const * const,wchar_t const * const,wchar_t const * const)" (?externalEntityDecl@DefaultHandler@xercesc_2_7@@UAEXQB_W00@Z)
../../../../bin/CEGUIXercesParser_d.dll : fatal error LNK1120: 27 unresolved externals

Oscillators make my world...um...oscillate...

#2 dteviot

dteviot

    Programming Department

  • [Xenocide Senior Members]
  • 1,479 posts

Posted 22 July 2006 - 12:33 AM

The errors indicate that the linker is not able to find the .lib files for the Xerces parser. Have you put xerces_c_2.lib and xerces-c_2D.lib (from dependancies package) in directory dependencies\lib\vs80? Also I suggest you have a read through my Blog for other notes on building.
Saving the world from the scum of the universe is hard work. Especially when you have to create the scum to begin with.



Reply to this topic