Hello, I have problem compiling revDCM 2.6
Im using CodeBlocks.
I edited a few RevDCM 2.6 source files (Added Event Images and Realistic Diplomacy)
Plan to recompile so I can play a game with a new dll file.
So i edited the source files.
Copied everything inside the source files then to a copy of Vanila Source files.
I renamed a part of the 3 Makefiles to :
## BUG DLL MAKEFILE
##
## Based on Refar's makefile
### Tool Paths
TOOLKIT = C:\Program Files\Microsoft Visual C++ Toolkit 2003
PSDK = C:\Program Files\Microsoft Platform SDK
Orginally it was
## BUG DLL MAKEFILE
##
## Based on Refar's makefile
### Tool Paths
TOOLKIT = C:/Program Files (x86)/Microsoft Visual C++ Toolkit 2003
PSDK = C:/Program Files/Microsoft SDKs/Windows/v6.0A
I opened RevolutionDCM.vcproj with codeblocks.
It had no build options, So i copied the build options from Final release of the vanilla BTS vcproj file.
I remove the Resource .rc file as standard method from tutorial.
Theres another folder attached to project that i have not removed. It Called "Others" containing FVariableSystem.inl, InterfaceDirtyBits.inl and readme.txt
I build and get this error straight away:
So i tried something else....
I copied all the files from RevDCM sources (With my changes) to BTS vanilla source file.
But this time i do not use RevolutionDCM.vcproj and use the .vcproj already in vanilla. It compiles all the way down to the very last file and gives a bunch of errors when linking library.
Im Demoralised... Please someone cast a glimmer of hope in my direction...
Im using CodeBlocks.
I edited a few RevDCM 2.6 source files (Added Event Images and Realistic Diplomacy)
Plan to recompile so I can play a game with a new dll file.
So i edited the source files.
Copied everything inside the source files then to a copy of Vanila Source files.
I renamed a part of the 3 Makefiles to :
Spoiler :
## BUG DLL MAKEFILE
##
## Based on Refar's makefile
### Tool Paths
TOOLKIT = C:\Program Files\Microsoft Visual C++ Toolkit 2003
PSDK = C:\Program Files\Microsoft Platform SDK
Orginally it was
Spoiler :
## BUG DLL MAKEFILE
##
## Based on Refar's makefile
### Tool Paths
TOOLKIT = C:/Program Files (x86)/Microsoft Visual C++ Toolkit 2003
PSDK = C:/Program Files/Microsoft SDKs/Windows/v6.0A
I opened RevolutionDCM.vcproj with codeblocks.
It had no build options, So i copied the build options from Final release of the vanilla BTS vcproj file.
I remove the Resource .rc file as standard method from tutorial.
Theres another folder attached to project that i have not removed. It Called "Others" containing FVariableSystem.inl, InterfaceDirtyBits.inl and readme.txt
I build and get this error straight away:
Code:
-------------- Build: Final_Release Win32 in RevolutionDCM ---------------
CvArea.cpp
c:\Users\Nathan\Documents\Nathan\Civ4\My Mod\Compiles\RevDCM\CvGameCoreDLL\CvGameCoreDLL.h(17) : fatal error C1034: windows.h: no include path set
Process terminated with status 2 (0 minutes, 0 seconds)
1 errors, 0 warnings
So i tried something else....
I copied all the files from RevDCM sources (With my changes) to BTS vanilla source file.
But this time i do not use RevolutionDCM.vcproj and use the .vcproj already in vanilla. It compiles all the way down to the very last file and gives a bunch of errors when linking library.
Code:
_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
CvDLLPython.obj : error LNK2019: unresolved external symbol "void __cdecl CyCityPythonInterface2(class boost::python::class_<class CyCity,struct boost::python::detail::not_specified,struct boost::python::detail::not_specified,struct boost::python::detail::not_specified> &)" (?CyCityPythonInterface2@@YAXAAV?$class_@VCyCity@@Unot_specified@detail@python@boost@@U2345@U2345@@python@boost@@@Z) referenced in function "void __cdecl DLLPublishToPython(void)" (?DLLPublishToPython@@YAXXZ)
CvDLLWidgetData.obj : error LNK2019: unresolved external symbol "bool __cdecl getBugOptionBOOL(char const *,bool,char const *)" (?getBugOptionBOOL@@YA_NPBD_N0@Z) referenced in function "public: void __thiscall CvDLLWidgetData::parseHealthHelp(struct CvWidgetDataStruct &,class CvWStringBuffer &)" (?parseHealthHelp@CvDLLWidgetData@@QAEXAAUCvWidgetDataStruct@@AAVCvWStringBuffer@@@Z)
CvGameTextMgr.obj : error LNK2001: unresolved external symbol "bool __cdecl getBugOptionBOOL(char const *,bool,char const *)" (?getBugOptionBOOL@@YA_NPBD_N0@Z)
CvSelectionGroup.obj : error LNK2001: unresolved external symbol "bool __cdecl getBugOptionBOOL(char const *,bool,char const *)" (?getBugOptionBOOL@@YA_NPBD_N0@Z)
CvUnit.obj : error LNK2001: unresolved external symbol "bool __cdecl getBugOptionBOOL(char const *,bool,char const *)" (?getBugOptionBOOL@@YA_NPBD_N0@Z)
CvGameTextMgr.obj : error LNK2019: unresolved external symbol "void __cdecl logMsg(char const *,...)" (?logMsg@@YAXPBDZZ) referenced in function "public: void __thiscall CvGameTextMgr::buildCityBillboardIconString(class CvWStringBuffer &,class CvCity *)" (?buildCityBillboardIconString@CvGameTextMgr@@QAEXAAVCvWStringBuffer@@PAVCvCity@@@Z)
CvGameTextMgr.obj : error LNK2019: unresolved external symbol "int __cdecl getBugOptionINT(char const *,int,char const *)" (?getBugOptionINT@@YAHPBDH0@Z) referenced in function "public: void __thiscall CvGameTextMgr::setUnitHelp(class CvWStringBuffer &,enum UnitTypes,bool,bool,bool,class CvCity *)" (?setUnitHelp@CvGameTextMgr@@QAEXAAVCvWStringBuffer@@W4UnitTypes@@_N22PAVCvCity@@@Z)
CvInfos.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvXMLLoadUtilityModTools::setLocationName(class CvString *,char const *)" (?setLocationName@CvXMLLoadUtilityModTools@@QAEXPAVCvString@@PBD@Z) referenced in function "public: virtual bool __thiscall CvInfoBase::read(class CvXMLLoadUtility *)" (?read@CvInfoBase@@UAE_NPAVCvXMLLoadUtility@@@Z)
CvInfos.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvXMLLoadUtilityModTools::StringArrayExtend(class CvString * *,int *,class CvString * *,int,class CvString)const " (?StringArrayExtend@CvXMLLoadUtilityModTools@@QBEXPAPAVCvString@@PAH0HV2@@Z) referenced in function "public: void __thiscall CvCivilizationInfo::copyNonDefaults(class CvCivilizationInfo *)" (?copyNonDefaults@CvCivilizationInfo@@QAEXPAV1@@Z)
CvInfos.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvXMLLoadUtilityModTools::isDuplicate(int,int *,int)const " (?isDuplicate@CvXMLLoadUtilityModTools@@QBE_NHPAHH@Z) referenced in function "public: void __thiscall CvHandicapInfo::copyNonDefaults(class CvHandicapInfo *)" (?copyNonDefaults@CvHandicapInfo@@QAEXPAV1@@Z)
CvInfos.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvXMLLoadUtilityModTools::isDuplicate(int,class CvWString *,class CvWString)const " (?isDuplicate@CvXMLLoadUtilityModTools@@QBE_NHPAVCvWString@@V2@@Z) referenced in function "public: void __thiscall CvEventTriggerInfo::copyNonDefaults(class CvEventTriggerInfo *)" (?copyNonDefaults@CvEventTriggerInfo@@QAEXPAV1@@Z)
CvXMLLoadUtilitySet.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvXMLLoadUtilitySetMod::loadModControlArray(class std::vector<class CvString,class std::allocator<class CvString> > &,char const *,int)" (?loadModControlArray@CvXMLLoadUtilitySetMod@@QAEXAAV?$vector@VCvString@@V?$allocator@VCvString@@@std@@@std@@PBDH@Z) referenced in function "private: void __thiscall CvXMLLoadUtility::LoadDiplomacyInfo(class std::vector<class CvDiplomacyInfo *,class std::allocator<class CvDiplomacyInfo *> > &,char const *,char const *,char const *,class CvCacheObject * (__thiscall CvDLLUtilityIFaceBase::*)(char const *))" (?LoadDiplomacyInfo@CvXMLLoadUtility@@AAEXAAV?$vector@PAVCvDiplomacyInfo@@V?$allocator@PAVCvDiplomacyInfo@@@std@@@std@@PBD11P8CvDLLUtilityIFaceBase@@AEPAVCvCacheObject@@1@Z@Z)
CvXMLLoadUtilitySet.obj : error LNK2019: unresolved external symbol "public: class CvString __thiscall CvXMLLoadUtilityModTools::deleteFileName(char const *,char)" (?deleteFileName@CvXMLLoadUtilityModTools@@QAE?AVCvString@@PBDD@Z) referenced in function "private: void __thiscall CvXMLLoadUtility::LoadDiplomacyInfo(class std::vector<class CvDiplomacyInfo *,class std::allocator<class CvDiplomacyInfo *> > &,char const *,char const *,char const *,class CvCacheObject * (__thiscall CvDLLUtilityIFaceBase::*)(char const *))" (?LoadDiplomacyInfo@CvXMLLoadUtility@@AAEXAAV?$vector@PAVCvDiplomacyInfo@@V?$allocator@PAVCvDiplomacyInfo@@@std@@@std@@PBD11P8CvDLLUtilityIFaceBase@@AEPAVCvCacheObject@@1@Z@Z)
CvXMLLoadUtilitySet.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvXMLLoadUtilityModTools::isModularArt(char const *)" (?isModularArt@CvXMLLoadUtilityModTools@@QAE_NPBD@Z) referenced in function "private: bool __thiscall CvXMLLoadUtility::LoadModLoadControlInfo<class CvModLoadControlInfo>(class std::vector<class CvModLoadControlInfo *,class std::allocator<class CvModLoadControlInfo *> > &,char const *,char const *)" (??$LoadModLoadControlInfo@VCvModLoadControlInfo@@@CvXMLLoadUtility@@AAE_NAAV?$vector@PAVCvModLoadControlInfo@@V?$allocator@PAVCvModLoadControlInfo@@@std@@@std@@PBD1@Z)
CvXMLLoadUtilitySet.obj : error LNK2019: unresolved external symbol "public: void __thiscall CvXMLLoadUtilitySetMod::setModLoadControlDirArray(bool)" (?setModLoadControlDirArray@CvXMLLoadUtilitySetMod@@QAEX_N@Z) referenced in function "private: void __thiscall CvXMLLoadUtility::ModularLoadingControlXML(void)" (?ModularLoadingControlXML@CvXMLLoadUtility@@AAEXXZ)
..\Beyond the Sword\Assets\CvGameCoreDLL.dll : fatal error LNK1120: 12 unresolved externals
Process terminated with status 1120 (19 minutes, 33 seconds)
16 errors, 0 warnings
Im Demoralised... Please someone cast a glimmer of hope in my direction...