Teg_Navanis
King
- Joined
- Jan 21, 2006
- Messages
- 737
When trying to compile a new CvGameCoreDLL, I'm getting several errors, apparently connected to missing functions in CvGame.
I compared the new CvGame.cpp with the old one (from the last patch), and the functions that CodeBlocks is whining about have indeed been removed for this version. To me, it seems that at least one of the SDK files is broken or outdated. Anyone having more luck than me?
Spoiler :
Project : CvGameCoreDLL
Compiler : Microsoft Visual C++ Toolkit 2003 (called directly)
Directory : C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\CvGameCoreDLL\
--------------------------------------------------------------------------------
Switching to target: Final Release
CvArea.cpp
CvArtFileMgr.cpp
CvCity.cpp
CvCityAI.cpp
CvDLLButtonPopup.cpp
CvDLLEntity.cpp
CvDLLPython.cpp
CvDLLWidgetData.cpp
CvDeal.cpp
CvDiploParameters.cpp
CvFractal.cpp
CvGame.cpp
CvGameAI.cpp
CvGameCoreDLL.cpp
CvGameCoreUtils.cpp
CvGameTextMgr.cpp
CvGlobals.cpp
CvHallOfFameInfo.cpp
CvInfoWater.cpp
CvInfos.cpp
CvInitCore.cpp
CvMap.cpp
CvMapGenerator.cpp
CvPlayer.cpp
CvPlayerAI.cpp
CvPlot.cpp
CvPlotGroup.cpp
CvPopupInfo.cpp
CvPopupReturn.cpp
CvRandom.cpp
CvReplayInfo.cpp
CvReplayMessage.cpp
CvSelectionGroup.cpp
CvSelectionGroupAI.cpp
CvStructs.cpp
CvTalkingHeadMessage.cpp
CvTeam.cpp
CvTeamAI.cpp
CvUnit.cpp
CvUnitAI.cpp
CvXMLLoadUtility.cpp
CvXMLLoadUtilityGet.cpp
CvXMLLoadUtilityInit.cpp
CvXMLLoadUtilitySet.cpp
CyArea.cpp
CyAreaInterface.cpp
CyArgsList.cpp
CyArtFileMgr.cpp
CyArtFileMgrInterface.cpp
CyCity.cpp
CyCityInterface1.cpp
CyDeal.cpp
CyEnumsInterface.cpp
CyGame.cpp
CyGameCoreUtils.cpp
CyGameCoreUtilsInterface.cpp
CyGameInterface.cpp
CyGameTextMgr.cpp
CyGameTextMgrInterface.cpp
CyGlobalContext.cpp
CyGlobalContextInterface1.cpp
CyGlobalContextInterface2.cpp
CyGlobalContextInterface3.cpp
CyGlobalContextInterface4.cpp
CyHallOfFameInfo.cpp
CyHallOfFameInterface.cpp
CyInfoInterface1.cpp
CyInfoInterface2.cpp
CyInfoInterface3.cpp
CyMap.cpp
CyMapGenerator.cpp
CyMapGeneratorInterface.cpp
CyMapInterface.cpp
CyPlayer.cpp
CyPlayerInterface1.cpp
CyPlayerInterface2.cpp
CyPlot.cpp
CyPlotInterface1.cpp
CyRandomInterface.cpp
CyReplayInfo.cpp
CySelectionGroup.cpp
CySelectionGroupInterface.cpp
CyStructsInterface1.cpp
CyTeam.cpp
CyTeamInterface.cpp
CyUnit.cpp
CyUnitInterface1.cpp
FAssert.cpp
FDialogTemplate.cpp
_precompile.cpp
Linking dynamic library: ..\Beyond the Sword\Assets\CvGameCoreDLL.dll
Creating library ..\Beyond the Sword\Assets\CvGameCoreDLL.lib and object ..\Beyond the Sword\Assets\CvGameCoreDLL.exp
CvDLLButtonPopup.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::selectionListGameNetMessage(int,int,int,int,int,bool,bool)" (?selectionListGameNetMessage@CvGame@@QAEXHHHHH_N0@Z) referenced in function "private: bool __thiscall CvDLLButtonPopup::launchLoadUnitPopup(class CvPopup *,class CvPopupInfo &)" (?launchLoadUnitPopup@CvDLLButtonPopup@@AAE_NPAVCvPopup@@AAVCvPopupInfo@@@Z)
CvDLLWidgetData.obj : error LNK2001: unresolved external symbol "public: void __thiscall CvGame::selectionListGameNetMessage(int,int,int,int,int,bool,bool)" (?selectionListGameNetMessage@CvGame@@QAEXHHHHH_N0@Z)
CyGame.obj : error LNK2001: unresolved external symbol "public: void __thiscall CvGame::selectionListGameNetMessage(int,int,int,int,int,bool,bool)" (?selectionListGameNetMessage@CvGame@@QAEXHHHHH_N0@Z)
CvDLLButtonPopup.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvGame::canDoControl(enum ControlTypes)" (?canDoControl@CvGame@@QAE_NW4ControlTypes@@@Z) referenced in function "private: bool __thiscall CvDLLButtonPopup::launchMainMenuPopup(class CvPopup *,class CvPopupInfo &)" (?launchMainMenuPopup@CvDLLButtonPopup@@AAE_NPAVCvPopup@@AAVCvPopupInfo@@@Z)
CvDLLButtonPopup.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::doControl(enum ControlTypes)" (?doControl@CvGame@@QAEXW4ControlTypes@@@Z) referenced in function "public: virtual void __thiscall CvDLLButtonPopup::OnOkClicked(class CvPopup *,class PopupReturn *,class CvPopupInfo &)" (?OnOkClicked@CvDLLButtonPopup@@UAEXPAVCvPopup@@PAVPopupReturn@@AAVCvPopupInfo@@@Z)
CvDLLWidgetData.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::doControl(enum ControlTypes)" (?doControl@CvGame@@QAEXW4ControlTypes@@@Z) referenced in function __ehhandler$?parsePediaBack@CvDLLWidgetData@@QAEXAAUCvWidgetDataStruct@@AAVCvWStringBuffer@@@Z
CvDLLWidgetData.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::selectedCitiesGameNetMessage(int,int,int,int,bool,bool,bool,bool)" (?selectedCitiesGameNetMessage@CvGame@@QAEXHHHH_N000@Z) referenced in function "public: void __thiscall CvDLLWidgetData::doLiberateCity(void)" (?doLiberateCity@CvDLLWidgetData@@QAEXXZ)
CyGame.obj : error LNK2001: unresolved external symbol "public: void __thiscall CvGame::selectedCitiesGameNetMessage(int,int,int,int,bool,bool,bool,bool)" (?selectedCitiesGameNetMessage@CvGame@@QAEXHHHH_N000@Z)
CvDLLWidgetData.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::handleAction(int)" (?handleAction@CvGame@@QAEXH@Z) referenced in function "public: void __thiscall CvDLLWidgetData::doAction(struct CvWidgetDataStruct &)" (?doAction@CvDLLWidgetData@@QAEXAAUCvWidgetDataStruct@@@Z)
CvGameTextMgr.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::getPlotUnits(class CvPlot const *,class std::vector<class CvUnit *,class std::allocator<class CvUnit *> > &)" (?getPlotUnits@CvGame@@QAEXPBVCvPlot@@AAV?$vector@PAVCvUnit@@V?$allocator@PAVCvUnit@@@std@@@std@@@Z) referenced in function "public: void __thiscall CvGameTextMgr::setPlotListHelp(class CvWStringBuffer &,class CvPlot *,bool,bool)" (?setPlotListHelp@CvGameTextMgr@@QAEXAAVCvWStringBuffer@@PAVCvPlot@@_N2@Z)
CvPlayer.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::updateColoredPlots(void)" (?updateColoredPlots@CvGame@@QAEXXZ) referenced in function "public: void __thiscall CvPlayer::doAdvancedStartAction(enum AdvancedStartActionTypes,int,int,int,bool)" (?doAdvancedStartAction@CvPlayer@@QAEXW4AdvancedStartActionTypes@@HHH_N@Z)
CvUnit.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::updateSelectionList(void)" (?updateSelectionList@CvGame@@QAEXXZ) referenced in function "public: void __thiscall CvUnit::kill(bool,enum PlayerTypes)" (?kill@CvUnit@@QAEX_NW4PlayerTypes@@@Z)
CyGame.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::cycleCities(bool,bool)" (?cycleCities@CvGame@@QAEX_N0@Z) referenced in function "public: void __thiscall CyGame::cycleCities(bool,bool)" (?cycleCities@CyGame@@QAEX_N0@Z)
CyGame.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::cycleSelectionGroups(bool,bool,bool)" (?cycleSelectionGroups@CvGame@@QAEX_N00@Z) referenced in function "public: void __thiscall CyGame::cycleSelectionGroups(bool,bool,bool)" (?cycleSelectionGroups@CyGame@@QAEX_N00@Z)
CyGame.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvGame::cyclePlotUnits(class CvPlot *,bool,bool,int)" (?cyclePlotUnits@CvGame@@QAE_NPAVCvPlot@@_N1H@Z) referenced in function "public: bool __thiscall CyGame::cyclePlotUnits(class CyPlot *,bool,bool,int)" (?cyclePlotUnits@CyGame@@QAE_NPAVCyPlot@@_N1H@Z)
CyGame.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::selectionListMove(class CvPlot *,bool,bool,bool)" (?selectionListMove@CvGame@@QAEXPAVCvPlot@@_N11@Z) referenced in function "public: void __thiscall CyGame::selectionListMove(class CyPlot *,bool,bool,bool)" (?selectionListMove@CyGame@@QAEXPAVCyPlot@@_N11@Z)
..\Beyond the Sword\Assets\CvGameCoreDLL.dll : fatal error LNK1120: 12 unresolved externals
Process terminated with status 1 (20 minutes, 56 seconds)
17 errors, 0 warnings
Compiler : Microsoft Visual C++ Toolkit 2003 (called directly)
Directory : C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\CvGameCoreDLL\
--------------------------------------------------------------------------------
Switching to target: Final Release
CvArea.cpp
CvArtFileMgr.cpp
CvCity.cpp
CvCityAI.cpp
CvDLLButtonPopup.cpp
CvDLLEntity.cpp
CvDLLPython.cpp
CvDLLWidgetData.cpp
CvDeal.cpp
CvDiploParameters.cpp
CvFractal.cpp
CvGame.cpp
CvGameAI.cpp
CvGameCoreDLL.cpp
CvGameCoreUtils.cpp
CvGameTextMgr.cpp
CvGlobals.cpp
CvHallOfFameInfo.cpp
CvInfoWater.cpp
CvInfos.cpp
CvInitCore.cpp
CvMap.cpp
CvMapGenerator.cpp
CvPlayer.cpp
CvPlayerAI.cpp
CvPlot.cpp
CvPlotGroup.cpp
CvPopupInfo.cpp
CvPopupReturn.cpp
CvRandom.cpp
CvReplayInfo.cpp
CvReplayMessage.cpp
CvSelectionGroup.cpp
CvSelectionGroupAI.cpp
CvStructs.cpp
CvTalkingHeadMessage.cpp
CvTeam.cpp
CvTeamAI.cpp
CvUnit.cpp
CvUnitAI.cpp
CvXMLLoadUtility.cpp
CvXMLLoadUtilityGet.cpp
CvXMLLoadUtilityInit.cpp
CvXMLLoadUtilitySet.cpp
CyArea.cpp
CyAreaInterface.cpp
CyArgsList.cpp
CyArtFileMgr.cpp
CyArtFileMgrInterface.cpp
CyCity.cpp
CyCityInterface1.cpp
CyDeal.cpp
CyEnumsInterface.cpp
CyGame.cpp
CyGameCoreUtils.cpp
CyGameCoreUtilsInterface.cpp
CyGameInterface.cpp
CyGameTextMgr.cpp
CyGameTextMgrInterface.cpp
CyGlobalContext.cpp
CyGlobalContextInterface1.cpp
CyGlobalContextInterface2.cpp
CyGlobalContextInterface3.cpp
CyGlobalContextInterface4.cpp
CyHallOfFameInfo.cpp
CyHallOfFameInterface.cpp
CyInfoInterface1.cpp
CyInfoInterface2.cpp
CyInfoInterface3.cpp
CyMap.cpp
CyMapGenerator.cpp
CyMapGeneratorInterface.cpp
CyMapInterface.cpp
CyPlayer.cpp
CyPlayerInterface1.cpp
CyPlayerInterface2.cpp
CyPlot.cpp
CyPlotInterface1.cpp
CyRandomInterface.cpp
CyReplayInfo.cpp
CySelectionGroup.cpp
CySelectionGroupInterface.cpp
CyStructsInterface1.cpp
CyTeam.cpp
CyTeamInterface.cpp
CyUnit.cpp
CyUnitInterface1.cpp
FAssert.cpp
FDialogTemplate.cpp
_precompile.cpp
Linking dynamic library: ..\Beyond the Sword\Assets\CvGameCoreDLL.dll
Creating library ..\Beyond the Sword\Assets\CvGameCoreDLL.lib and object ..\Beyond the Sword\Assets\CvGameCoreDLL.exp
CvDLLButtonPopup.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::selectionListGameNetMessage(int,int,int,int,int,bool,bool)" (?selectionListGameNetMessage@CvGame@@QAEXHHHHH_N0@Z) referenced in function "private: bool __thiscall CvDLLButtonPopup::launchLoadUnitPopup(class CvPopup *,class CvPopupInfo &)" (?launchLoadUnitPopup@CvDLLButtonPopup@@AAE_NPAVCvPopup@@AAVCvPopupInfo@@@Z)
CvDLLWidgetData.obj : error LNK2001: unresolved external symbol "public: void __thiscall CvGame::selectionListGameNetMessage(int,int,int,int,int,bool,bool)" (?selectionListGameNetMessage@CvGame@@QAEXHHHHH_N0@Z)
CyGame.obj : error LNK2001: unresolved external symbol "public: void __thiscall CvGame::selectionListGameNetMessage(int,int,int,int,int,bool,bool)" (?selectionListGameNetMessage@CvGame@@QAEXHHHHH_N0@Z)
CvDLLButtonPopup.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvGame::canDoControl(enum ControlTypes)" (?canDoControl@CvGame@@QAE_NW4ControlTypes@@@Z) referenced in function "private: bool __thiscall CvDLLButtonPopup::launchMainMenuPopup(class CvPopup *,class CvPopupInfo &)" (?launchMainMenuPopup@CvDLLButtonPopup@@AAE_NPAVCvPopup@@AAVCvPopupInfo@@@Z)
CvDLLButtonPopup.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::doControl(enum ControlTypes)" (?doControl@CvGame@@QAEXW4ControlTypes@@@Z) referenced in function "public: virtual void __thiscall CvDLLButtonPopup::OnOkClicked(class CvPopup *,class PopupReturn *,class CvPopupInfo &)" (?OnOkClicked@CvDLLButtonPopup@@UAEXPAVCvPopup@@PAVPopupReturn@@AAVCvPopupInfo@@@Z)
CvDLLWidgetData.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::doControl(enum ControlTypes)" (?doControl@CvGame@@QAEXW4ControlTypes@@@Z) referenced in function __ehhandler$?parsePediaBack@CvDLLWidgetData@@QAEXAAUCvWidgetDataStruct@@AAVCvWStringBuffer@@@Z
CvDLLWidgetData.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::selectedCitiesGameNetMessage(int,int,int,int,bool,bool,bool,bool)" (?selectedCitiesGameNetMessage@CvGame@@QAEXHHHH_N000@Z) referenced in function "public: void __thiscall CvDLLWidgetData::doLiberateCity(void)" (?doLiberateCity@CvDLLWidgetData@@QAEXXZ)
CyGame.obj : error LNK2001: unresolved external symbol "public: void __thiscall CvGame::selectedCitiesGameNetMessage(int,int,int,int,bool,bool,bool,bool)" (?selectedCitiesGameNetMessage@CvGame@@QAEXHHHH_N000@Z)
CvDLLWidgetData.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::handleAction(int)" (?handleAction@CvGame@@QAEXH@Z) referenced in function "public: void __thiscall CvDLLWidgetData::doAction(struct CvWidgetDataStruct &)" (?doAction@CvDLLWidgetData@@QAEXAAUCvWidgetDataStruct@@@Z)
CvGameTextMgr.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::getPlotUnits(class CvPlot const *,class std::vector<class CvUnit *,class std::allocator<class CvUnit *> > &)" (?getPlotUnits@CvGame@@QAEXPBVCvPlot@@AAV?$vector@PAVCvUnit@@V?$allocator@PAVCvUnit@@@std@@@std@@@Z) referenced in function "public: void __thiscall CvGameTextMgr::setPlotListHelp(class CvWStringBuffer &,class CvPlot *,bool,bool)" (?setPlotListHelp@CvGameTextMgr@@QAEXAAVCvWStringBuffer@@PAVCvPlot@@_N2@Z)
CvPlayer.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::updateColoredPlots(void)" (?updateColoredPlots@CvGame@@QAEXXZ) referenced in function "public: void __thiscall CvPlayer::doAdvancedStartAction(enum AdvancedStartActionTypes,int,int,int,bool)" (?doAdvancedStartAction@CvPlayer@@QAEXW4AdvancedStartActionTypes@@HHH_N@Z)
CvUnit.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::updateSelectionList(void)" (?updateSelectionList@CvGame@@QAEXXZ) referenced in function "public: void __thiscall CvUnit::kill(bool,enum PlayerTypes)" (?kill@CvUnit@@QAEX_NW4PlayerTypes@@@Z)
CyGame.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::cycleCities(bool,bool)" (?cycleCities@CvGame@@QAEX_N0@Z) referenced in function "public: void __thiscall CyGame::cycleCities(bool,bool)" (?cycleCities@CyGame@@QAEX_N0@Z)
CyGame.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::cycleSelectionGroups(bool,bool,bool)" (?cycleSelectionGroups@CvGame@@QAEX_N00@Z) referenced in function "public: void __thiscall CyGame::cycleSelectionGroups(bool,bool,bool)" (?cycleSelectionGroups@CyGame@@QAEX_N00@Z)
CyGame.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvGame::cyclePlotUnits(class CvPlot *,bool,bool,int)" (?cyclePlotUnits@CvGame@@QAE_NPAVCvPlot@@_N1H@Z) referenced in function "public: bool __thiscall CyGame::cyclePlotUnits(class CyPlot *,bool,bool,int)" (?cyclePlotUnits@CyGame@@QAE_NPAVCyPlot@@_N1H@Z)
CyGame.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvGame::selectionListMove(class CvPlot *,bool,bool,bool)" (?selectionListMove@CvGame@@QAEXPAVCvPlot@@_N11@Z) referenced in function "public: void __thiscall CyGame::selectionListMove(class CyPlot *,bool,bool,bool)" (?selectionListMove@CyGame@@QAEXPAVCyPlot@@_N11@Z)
..\Beyond the Sword\Assets\CvGameCoreDLL.dll : fatal error LNK1120: 12 unresolved externals
Process terminated with status 1 (20 minutes, 56 seconds)
17 errors, 0 warnings
I compared the new CvGame.cpp with the old one (from the last patch), and the functions that CodeBlocks is whining about have indeed been removed for this version. To me, it seems that at least one of the SDK files is broken or outdated. Anyone having more luck than me?