I am going CRAZY!!! I cannot compile this .dll and I am not lying when I say I have been trying off and on for months. This is the third time I tried vc 2005, and although codeblocks finishes the compile, it crashes after, despite my having only changed the max civilizations in cvdefines.h.
Here's the message:
Build Log Build started: Project: CvGameCoreDLL, Configuration: Final_Release|Win32
Command Lines Creating temporary file "C:\Users\Carson\AppData\Local\Temp\BAT000008496392.bat" with contents
[
@echo off
nmake Final_Release
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
exit 1
:VCEnd
]
Creating command line "C:\Users\Carson\AppData\Local\Temp\BAT000008496392.bat"
Output Window Performing Makefile project actions
Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
"C:/Program Files/Microsoft Visual C++ Toolkit 2003/bin/link.exe" /dll /nologo /LIBPATH
ython24/libs /LIBPATH:boost-1.32.0/libs/ /LIBPATH:"C:/Program Files/Microsoft Visual C++ Toolkit 2003/lib" /LIBPATH:"C:/Program Files/Microsoft Platform SDK for Windows Server 2003 R2/Lib" /out:Final_Release/CvGameCoreDLL.dll boost_python-vc71-mt-1_32.lib winmm.lib user32.lib Final_Release/CvArea.obj Final_Release/CvArtFileMgr.obj Final_Release/CvCity.obj Final_Release/CvCityAI.obj Final_Release/CvDLLButtonPopup.obj Final_Release/CvDLLEntity.obj Final_Release/CvDLLPython.obj Final_Release/CvDLLWidgetData.obj Final_Release/CvDeal.obj Final_Release/CvDiploParameters.obj Final_Release/CvFractal.obj Final_Release/CvGame.obj Final_Release/CvGameAI.obj Final_Release/CvGameCoreDLL.obj Final_Release/CvGameCoreUtils.obj Final_Release/CvGameTextMgr.obj Final_Release/CvGlobals.obj Final_Release/CvHallOfFameInfo.obj Final_Release/CvInfoWater.obj Final_Release/CvInfos.obj Final_Release/CvInitCore.obj Final_Release/CvMap.obj Final_Release/CvMapGenerator.obj Final_Release/CvPlayer.obj Final_Release/CvPlayerAI.obj Final_Release/CvPlot.obj Final_Release/CvPlotGroup.obj Final_Release/CvPopupInfo.obj Final_Release/CvPopupReturn.obj Final_Release/CvRandom.obj Final_Release/CvReplayInfo.obj Final_Release/CvReplayMessage.obj Final_Release/CvSelectionGroup.obj Final_Release/CvSelectionGroupAI.obj Final_Release/CvStructs.obj Final_Release/CvTalkingHeadMessage.obj Final_Release/CvTeam.obj Final_Release/CvTeamAI.obj Final_Release/CvUnit.obj Final_Release/CvUnitAI.obj Final_Release/CvXMLLoadUtility.obj Final_Release/CvXMLLoadUtilityGet.obj Final_Release/CvXMLLoadUtilityInit.obj Final_Release/CvXMLLoadUtilitySet.obj Final_Release/CyArea.obj Final_Release/CyAreaInterface.obj Final_Release/CyArgsList.obj Final_Release/CyArtFileMgr.obj Final_Release/CyArtFileMgrInterface.obj Final_Release/CyCity.obj Final_Release/CyCityInterface1.obj Final_Release/CyDeal.obj Final_Release/CyEnumsInterface.obj Final_Release/CyGame.obj Final_Release/CyGameCoreUtils.obj Final_Release/CyGameCoreUtilsInterface.obj Final_Release/CyGameInterface.obj Final_Release/CyGameTextMgr.obj Final_Release/CyGameTextMgrInterface.obj Final_Release/CyGlobalContext.obj Final_Release/CyGlobalContextInterface1.obj Final_Release/CyGlobalContextInterface2.obj Final_Release/CyGlobalContextInterface3.obj Final_Release/CyGlobalContextInterface4.obj Final_Release/CyHallOfFameInfo.obj Final_Release/CyHallOfFameInterface.obj Final_Release/CyInfoInterface1.obj Final_Release/CyInfoInterface2.obj Final_Release/CyInfoInterface3.obj Final_Release/CyMap.obj Final_Release/CyMapGenerator.obj Final_Release/CyMapGeneratorInterface.obj Final_Release/CyMapInterface.obj Final_Release/CyPlayer.obj Final_Release/CyPlayerInterface1.obj Final_Release/CyPlot.obj Final_Release/CyPlotInterface1.obj Final_Release/CyRandomInterface.obj Final_Release/CyReplayInfo.obj Final_Release/CySelectionGroup.obj Final_Release/CySelectionGroupInterface.obj Final_Release/CyStructsInterface1.obj Final_Release/CyTeam.obj Final_Release/CyTeamInterface.obj Final_Release/CyUnit.obj Final_Release/CyUnitInterface1.obj Final_Release/FAssert.obj Final_Release/FDialogTemplate.obj Final_Release/_precompile.obj /debug /INCREMENTAL:NO /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF
Creating library Final_Release/CvGameCoreDLL.lib and object Final_Release/CvGameCoreDLL.exp
CvCityAI.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvExtraSaveData::getSaveData(enum ExtraSaveDataType,int,int,int,int &)" (?getSaveData@CvExtraSaveData@@QAE_NW4ExtraSaveDataType@@HHHAAH@Z) referenced in function "public: void __thiscall CvCityAI::read(class FDataStreamBase *)" (?read@CvCityAI@@QAEXPAVFDataStreamBase@@@Z)
CvMap.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CvExtraSaveData::getSaveData(enum ExtraSaveDataType,int,int,int,int &)" (?getSaveData@CvExtraSaveData@@QAE_NW4ExtraSaveDataType@@HHHAAH@Z)
CvPlayerAI.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvExtraSaveData::getSaveData(enum ExtraSaveDataType,int,int,int,int &)" (?getSaveData@CvExtraSaveData@@QAE_NW4ExtraSaveDataType@@HHHAAH@Z) referenced in function "public: virtual bool __thiscall CvPlayerAI::AI_demandRebukedWar(enum PlayerTypes)" (?AI_demandRebukedWar@CvPlayerAI@@UAE_NW4PlayerTypes@@@Z)
CvTeamAI.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CvExtraSaveData::getSaveData(enum ExtraSaveDataType,int,int,int,int &)" (?getSaveData@CvExtraSaveData@@QAE_NW4ExtraSaveDataType@@HHHAAH@Z)
CvCityAI.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvExtraSaveData::setSaveData(enum ExtraSaveDataType,int,int,int,int)" (?setSaveData@CvExtraSaveData@@QAE_NW4ExtraSaveDataType@@HHHH@Z) referenced in function "protected: void __thiscall CvCityAI::writeExtraSaveData(class CvExtraSaveData &)" (?writeExtraSaveData@CvCityAI@@IAEXAAVCvExtraSaveData@@@Z)
CvMap.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CvExtraSaveData::setSaveData(enum ExtraSaveDataType,int,int,int,int)" (?setSaveData@CvExtraSaveData@@QAE_NW4ExtraSaveDataType@@HHHH@Z)
CvPlayerAI.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CvExtraSaveData::setSaveData(enum ExtraSaveDataType,int,int,int,int)" (?setSaveData@CvExtraSaveData@@QAE_NW4ExtraSaveDataType@@HHHH@Z)
CvTeamAI.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CvExtraSaveData::setSaveData(enum ExtraSaveDataType,int,int,int,int)" (?setSaveData@CvExtraSaveData@@QAE_NW4ExtraSaveDataType@@HHHH@Z)
CvMap.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvExtraSaveData::invalidate(void)" (?invalidate@CvExtraSaveData@@QAE_NXZ) referenced in function "public: void __thiscall CvMap::doTurn(void)" (?doTurn@CvMap@@QAEXXZ)
CvMap.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall CvExtraSaveData::~CvExtraSaveData(void)" (??1CvExtraSaveData@@UAE@XZ) referenced in function "public: virtual __thiscall CvMap::~CvMap(void)" (??1CvMap@@UAE@XZ)
CvMap.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvExtraSaveData::cleanPlotValues(class CvMap &)" (?cleanPlotValues@CvExtraSaveData@@QAE_NAAVCvMap@@@Z) referenced in function "public: virtual void __thiscall CvMap::read(class FDataStreamBase *)" (?read@CvMap@@UAEXPAVFDataStreamBase@@@Z)
CvMap.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvExtraSaveData::setupForRead(class CvMap &)" (?setupForRead@CvExtraSaveData@@QAE_NAAVCvMap@@@Z) referenced in function "public: virtual void __thiscall CvMap::read(class FDataStreamBase *)" (?read@CvMap@@UAEXPAVFDataStreamBase@@@Z)
CvMap.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvExtraSaveData::restorePlotValues(class CvMap &)" (?restorePlotValues@CvExtraSaveData@@QAE_NAAVCvMap@@@Z) referenced in function "public: virtual void __thiscall CvMap::write(class FDataStreamBase *)" (?write@CvMap@@UAEXPAVFDataStreamBase@@@Z)
CvMap.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvExtraSaveData::writeToPlots(class CvMap &)" (?writeToPlots@CvExtraSaveData@@QAE_NAAVCvMap@@@Z) referenced in function "public: virtual void __thiscall CvMap::write(class FDataStreamBase *)" (?write@CvMap@@UAEXPAVFDataStreamBase@@@Z)
CvMap.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvExtraSaveData::setupForWrite(class CvMap &)" (?setupForWrite@CvExtraSaveData@@QAE_NAAVCvMap@@@Z) referenced in function "public: virtual void __thiscall CvMap::write(class FDataStreamBase *)" (?write@CvMap@@UAEXPAVFDataStreamBase@@@Z)
CvMap.obj : error LNK2019: unresolved external symbol "public: __thiscall CvExtraSaveData::CvExtraSaveData(void)" (??0CvExtraSaveData@@QAE@XZ) referenced in function "public: __thiscall CvMap::CvMap(void)" (??0CvMap@@QAE@XZ)
Final_Release/CvGameCoreDLL.dll : fatal error LNK1120: 10 unresolved externals
NMAKE : fatal error U1077: '"C:/Program Files/Microsoft Visual C++ Toolkit 2003/bin/link.exe"' : return code '0x460'
Stop.
Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
Results Build log was saved at "file://c:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Gold\Warlords\Mods\Total Realism\TRWARLORDSCvGameCoreDLL\CvGameCoreDLL\Final_Release\BuildLog.htm"
CvGameCoreDLL - 19 error(s), 0 warning(s)
Anyone that helps will gain good karma