stolenrays
Deity
- Joined
- Aug 2, 2009
- Messages
- 2,063
I'm trying to merge these two Mods for use into some of my Mods, but I get a massive amount of errors. I am using VS 2008 Express and I believe I am following the tutorials to compile the .dlls of the mods. I had to cut/paste a lot of the code using notepad++ before attempting to compile.
I cut out some of the code to post it. I looked at the errors in the files and they seemed OK.
Code:
1>------ Build started: Project: CvGameCoreDLL, Configuration: Debug Win32 ------
1>Performing Makefile project actions
1>Error running fastdep.
1> "C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\cl.exe" /nologo /MD /Zi /Od /D_DEBUG /RTC1 /Fp"Debug\CvGameCoreDLL.pch" /GR /Gy /W3 /EHsc /Gd /Gm- /DWIN32 /D_WINDOWS /D_USRDLL /DCVGAMECOREDLL_EXPORTS /Yu"CvGameCoreDLL.h" /IBoost-1.32.0/include /IPython24/include /I"C:\Program Files\Microsoft Visual C++ Toolkit 2003/include" /I"C:\Program Files\WindowsSDK/Include" /I"C:\Program Files\WindowsSDK/Include/mfc" /I"C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\CvGameCoreDLL\Boost-1.32.0/include" /I"C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\CvGameCoreDLL\Python24/include" /FoDebug\CvGame.obj /c CvGame.cpp
1>CvGame.cpp
1>CvGame.cpp(3917) : error C2039: 'isHumanDisabled' : is not a member of 'CvPlayerAI'
1> c:\Program Files\CvGameCoreDLL\CvPlayerAI.h(13) : see declaration of 'CvPlayerAI'
1>CvGame.cpp(3919) : error C2039: 'setHumanDisabled' : is not a member of 'CvPlayerAI'
1> c:\Program Files\CvGameCoreDLL\CvPlayerAI.h(13) : see declaration of 'CvPlayerAI'
1>CvGame.cpp(4830) : error C2039: 'AI_invalidateAttitudeCache' : is not a member of 'CvPlayerAI'
1> c:\Program Files\CvGameCoreDLL\CvPlayerAI.h(13) : see declaration of 'CvPlayerAI'
1>CvGame.cpp(4831) : error C2039: 'AI_invalidateAttitudeCache' : is not a member of 'CvPlayerAI'
1> c:\Program Files\CvGameCoreDLL\CvPlayerAI.h(13) : see declaration of 'CvPlayerAI'
1>CvGame.cpp(5515) : error C2039: 'AI_invalidateAttitudeCache' : is not a member of 'CvPlayerAI'
1> c:\Program Files\CvGameCoreDLL\CvPlayerAI.h(13) : see declaration of 'CvPlayerAI'
1>CvGame.cpp(5516) : error C2039: 'AI_invalidateAttitudeCache' : is not a member of 'CvPlayerAI'
1> c:\Program Files\CvGameCoreDLL\CvPlayerAI.h(13) : see declaration of 'CvPlayerAI'
1>CvGame.cpp(5521) : error C2039: 'AI_invalidateAttitudeCache' : is not a member of 'CvPlayerAI'
1> c:\Program Files\CvGameCoreDLL\CvPlayerAI.h(13) : see declaration of 'CvPlayerAI'
1>CvGame.cpp(5522) : error C2039: 'AI_invalidateAttitudeCache' : is not a member of 'CvPlayerAI'
1> c:\Program Files\CvGameCoreDLL\CvPlayerAI.h(13) : see declaration of 'CvPlayerAI'
1>CvGame.cpp(8315) : error C2039: 'initInGame' : is not a member of 'CvPlayerAI'
1> c:\Program Files\CvGameCoreDLL\CvPlayerAI.h(13) : see declaration of 'CvPlayerAI'
1>CvGame.cpp(8326) : error C2039: 'changeHumanPlayer' : is not a member of 'CvGame'
1> c:\Program Files\CvGameCoreDLL\CvGame.h(20) : see declaration of 'CvGame'
1>CvGame.cpp(8328) : error C3861: 'getActivePlayer': identifier not found, even with argument-dependent lookup
1>CvGame.cpp(8330) : error C2039: 'setIsHuman' : is not a member of 'CvPlayerAI'
1> c:\Program Files\CvGameCoreDLL\CvPlayerAI.h(13) : see declaration of 'CvPlayerAI'
1>CvGame.cpp(8331) : error C3861: 'setActivePlayer': identifier not found, even with argument-dependent lookup
1>CvGame.cpp(8343) : error C2039: 'setIsHuman' : is not a member of 'CvPlayerAI'
1> c:\Program Files\CvGameCoreDLL\CvPlayerAI.h(13) : see declaration of 'CvPlayerAI'
1>NMAKE : warning U4010: 'Debug\CvGame.obj' : build failed; /K specified, continuing ...
1> "C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\cl.exe" /nologo /MD /Zi /Od /D_DEBUG /RTC1 /Fp"Debug\CvGameCoreDLL.pch" /GR /Gy /W3 /EHsc /Gd /Gm- /DWIN32 /D_WINDOWS /D_USRDLL /DCVGAMECOREDLL_EXPORTS /Yu"CvGameCoreDLL.h" /IBoost-1.32.0/include /IPython24/include /I"C:\Program Files\Microsoft Visual C++ Toolkit 2003/include" /I"C:\Program Files\WindowsSDK/Include" /I"C:\Program Files\WindowsSDK/Include/mfc" /I"C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\CvGameCoreDLL\Boost-1.32.0/include" /I"C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\CvGameCoreDLL\Python24/include" /FoDebug\CvInfos.obj /c CvInfos.cpp
1>CvInfos.cpp
1>CvInfos.cpp(13751) : error C2614: 'CvLeaderHeadInfo' : illegal member initialization: 'm_iDiplomacyVictoryWeight' is not a base or member
1>CvInfos.cpp(13751) : error C2614: 'CvLeaderHeadInfo' : illegal member initialization: 'm_iDominationVictoryWeight' is not a base or member
1>CvInfos.cpp(13751) : error C2614: 'CvLeaderHeadInfo' : illegal member initialization: 'm_iConquestVictoryWeight' is not a base or member
1>CvInfos.cpp(13751) : error C2614: 'CvLeaderHeadInfo' : illegal member initialization: 'm_iSpaceVictoryWeight' is not a base or member
1>CvInfos.cpp(13751) : error C2614: 'CvLeaderHeadInfo' : illegal member initialization: 'm_iCultureVictoryWeight' is not a base or member
1>CvInfos.cpp(13852) : error C2039: 'getCultureVictoryWeight' : is not a member of 'CvLeaderHeadInfo'
1> c:\Program Files\CvGameCoreDLL\CvInfos.h(3466) : see declaration of 'CvLeaderHeadInfo'
1>CvInfos.cpp(13853) : error C2270: 'getCultureVictoryWeight' : modifiers not allowed on nonmember functions
1>CvInfos.cpp(13854) : error C2065: 'm_iCultureVictoryWeight' : undeclared identifier
1>CvInfos.cpp(13857) : error C2039: 'getSpaceVictoryWeight' : is not a member of 'CvLeaderHeadInfo'
1> c:\Program Files\CvGameCoreDLL\CvInfos.h(3466) : see declaration of 'CvLeaderHeadInfo'
1>CvInfos.cpp(13858) : error C2270: 'getSpaceVictoryWeight' : modifiers not allowed on nonmember functions
1>CvInfos.cpp(13859) : error C2065: 'm_iSpaceVictoryWeight' : undeclared identifier
1>CvInfos.cpp(13862) : error C2039: 'getConquestVictoryWeight' : is not a member of 'CvLeaderHeadInfo'
1> c:\Program Files\CvGameCoreDLL\CvInfos.h(3466) : see declaration of 'CvLeaderHeadInfo'
1>CvInfos.cpp(13863) : error C2270: 'getConquestVictoryWeight' : modifiers not allowed on nonmember functions
1>CvInfos.cpp(13864) : error C2065: 'm_iConquestVictoryWeight' : undeclared identifier
1>CvInfos.cpp(13867) : error C2039: 'getDominationVictoryWeight' : is not a member of 'CvLeaderHeadInfo'
1> c:\Program Files\CvGameCoreDLL\CvInfos.h(3466) : see declaration of 'CvLeaderHeadInfo'
1>CvInfos.cpp(13868) : error C2270: 'getDominationVictoryWeight' : modifiers not allowed on nonmember functions
1>CvInfos.cpp(13869) : error C2065: 'm_iDominationVictoryWeight' : undeclared identifier
1>CvInfos.cpp(13872) : error C2039: 'getDiplomacyVictoryWeight' : is not a member of 'CvLeaderHeadInfo'
1> c:\Program Files\CvGameCoreDLL\CvInfos.h(3466) : see declaration of 'CvLeaderHeadInfo'
1>CvInfos.cpp(13873) : error C2270: 'getDiplomacyVictoryWeight' : modifiers not allowed on nonmember functions
1>CvInfos.cpp(13874) : error C2065: 'm_iDiplomacyVictoryWeight' : undeclared identifier
1>CvInfos.cpp(14332) : error C3861: 'm_iCultureVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14333) : error C3861: 'm_iSpaceVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14334) : error C3861: 'm_iConquestVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14335) : error C3861: 'm_iDominationVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14336) : error C3861: 'm_iDiplomacyVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14493) : error C3861: 'm_iCultureVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14494) : error C3861: 'm_iSpaceVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14495) : error C3861: 'm_iConquestVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14496) : error C3861: 'm_iDominationVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14497) : error C3861: 'm_iDiplomacyVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14617) : error C3861: 'm_iCultureVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14618) : error C3861: 'm_iSpaceVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14619) : error C3861: 'm_iConquestVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14620) : error C3861: 'm_iDominationVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(14621) : error C3861: 'm_iDiplomacyVictoryWeight': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(18395) : error C2614: 'CvEraInfo' : illegal member initialization: 'm_iTechCostModifier' is not a base or member
1>CvInfos.cpp(18474) : error C2039: 'getTechCostModifier' : is not a member of 'CvEraInfo'
1> c:\Program Files\CvGameCoreDLL\CvInfos.h(5160) : see declaration of 'CvEraInfo'
1>CvInfos.cpp(18475) : error C2270: 'getTechCostModifier' : modifiers not allowed on nonmember functions
1>CvInfos.cpp(18476) : error C2065: 'm_iTechCostModifier' : undeclared identifier
1>CvInfos.cpp(18596) : error C3861: 'm_iTechCostModifier': identifier not found, even with argument-dependent lookup
1>NMAKE : warning U4010: 'Debug\CvInfos.obj' : build failed; /K specified, continuing ...
1> "C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\cl.exe" /nologo /MD /Zi /Od /D_DEBUG /RTC1 /Fp"Debug\CvGameCoreDLL.pch" /GR /Gy /W3 /EHsc /Gd /Gm- /DWIN32 /D_WINDOWS /D_USRDLL /DCVGAMECOREDLL_EXPORTS /Yu"CvGameCoreDLL.h" /IBoost-1.32.0/include /IPython24/include /I"C:\Program Files\Microsoft Visual C++ Toolkit 2003/include" /I"C:\Program Files\WindowsSDK/Include" /I"C:\Program Files\WindowsSDK/Include/mfc" /I"C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\CvGameCoreDLL\Boost-1.32.0/include" /I"C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\CvGameCoreDLL\Python24/include" /FoDebug\CvPlot.obj /c CvPlot.cpp
1>CvPlot.cpp
1>CvPlot.cpp(52) : error C2065: 'm_abIsTeamBorderCache' : undeclared identifier
1>CvPlot.cpp(99) : error C3861: 'm_abIsTeamBorderCache': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(99) : error C2541: 'delete' : cannot delete objects that are not pointers
1>CvPlot.cpp(99) : error C3861: 'm_abIsTeamBorderCache': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(99) : error C3861: 'm_abIsTeamBorderCache': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(236) : error C2065: 'm_bIsActivePlayerNoDangerCache' : undeclared identifier
1>CvPlot.cpp(240) : error C3861: 'm_abIsTeamBorderCache': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(2551) : error C2660: 'CvUnit::isBetterDefenderThan' : function does not take 3 arguments
1>CvPlot.cpp(2908) : error C2039: 'isHasPathToEnemyCity' : is not a member of 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvPlot.cpp(2918) : error C2227: left of '->getNumCities' must point to class/struct/union
1> type is ''unknown-type''
1>CvPlot.cpp(2918) : error C3861: 'area': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(2918) : error C3861: 'area': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(2929) : error C2065: 'teamStepValid' : undeclared identifier
1>CvPlot.cpp(2945) : error C3861: 'area': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(2947) : error C3861: 'getX_INLINE': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(2947) : error C3861: 'getY_INLINE': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(2968) : error C3861: 'area': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(2970) : error C3861: 'getX_INLINE': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(2970) : error C3861: 'getY_INLINE': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(2987) : error C2039: 'isHasPathToPlayerCity' : is not a member of 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvPlot.cpp(2996) : error C2227: left of '->getCitiesPerPlayer' must point to class/struct/union
1> type is ''unknown-type''
1>CvPlot.cpp(2996) : error C3861: 'area': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(3007) : error C3861: 'teamStepValid': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(3014) : error C3861: 'area': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(3016) : error C3861: 'getX_INLINE': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(3016) : error C3861: 'getY_INLINE': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(3030) : error C2039: 'calculatePathDistanceToPlot' : is not a member of 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvPlot.cpp(3036) : error C3861: 'area': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(3047) : error C3861: 'teamStepValid': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(3052) : error C3861: 'getX_INLINE': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(3052) : error C3861: 'getY_INLINE': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(3075) : error C2039: 'isActivePlayerNoDangerCache' : is not a member of 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvPlot.cpp(3076) : error C2270: 'isActivePlayerNoDangerCache' : modifiers not allowed on nonmember functions
1>CvPlot.cpp(3077) : error C3861: 'm_bIsActivePlayerNoDangerCache': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(3080) : error C2039: 'isTeamBorderCache' : is not a member of 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvPlot.cpp(3081) : error C2270: 'isTeamBorderCache' : modifiers not allowed on nonmember functions
1>CvPlot.cpp(3082) : error C3861: 'm_abIsTeamBorderCache': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(3085) : error C2039: 'setIsActivePlayerNoDangerCache' : is not a member of 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvPlot.cpp(3088) : error C3861: 'm_bIsActivePlayerNoDangerCache': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(3091) : error C2039: 'setIsTeamBorderCache' : is not a member of 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvPlot.cpp(3094) : error C3861: 'm_abIsTeamBorderCache': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(3097) : error C2039: 'invalidateIsTeamBorderCache' : is not a member of 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvPlot.cpp(3103) : error C3861: 'm_abIsTeamBorderCache': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(4053) : error C2511: 'CvArea *CvPlot::waterArea(bool) const' : overloaded member function not found in 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvPlot.cpp(4987) : error C2065: 'DANGER_RANGE' : undeclared identifier
1>CvPlot.cpp(4987) : error C3861: 'DANGER_RANGE': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(4989) : error C3861: 'DANGER_RANGE': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(4989) : error C3861: 'DANGER_RANGE': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(4995) : error C2039: 'invalidateIsTeamBorderCache' : is not a member of 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvPlot.cpp(6110) : error C2511: 'int CvPlot::calculateImprovementYieldChange(ImprovementTypes,YieldTypes,PlayerTypes,bool,bool) const' : overloaded member function not found in 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvPlot.cpp(8845) : error C3861: 'm_bIsActivePlayerNoDangerCache': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(10075) : error C2039: 'countAirInterceptorsActive' : is not a member of 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvPlot.cpp(10076) : error C2270: 'countAirInterceptorsActive' : modifiers not allowed on nonmember functions
1>CvPlot.cpp(10079) : error C3861: 'headUnitNode': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(10083) : error C3861: 'nextUnitNode': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(10233) : error C2039: 'hasDefender' : is not a member of 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvPlot.cpp(10234) : error C2270: 'hasDefender' : modifiers not allowed on nonmember functions
1>CvPlot.cpp(10238) : error C3861: 'headUnitNode': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(10242) : error C3861: 'nextUnitNode': identifier not found, even with argument-dependent lookup
1>CvPlot.cpp(10248) : error C2673: 'hasDefender' : global functions do not have 'this' pointers
1>CvPlot.cpp(10248) : error C2673: 'hasDefender' : global functions do not have 'this' pointers
1>CvPlot.cpp(10250) : error C2673: 'hasDefender' : global functions do not have 'this' pointers
1>CvPlot.cpp(10250) : error C2673: 'hasDefender' : global functions do not have 'this' pointers
1>NMAKE : warning U4010: 'Debug\CvPlot.obj' : build failed; /K specified, continuing ...
1> "C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\cl.exe" /nologo /MD /Zi /Od /D_DEBUG /RTC1 /Fp"Debug\CvGameCoreDLL.pch" /GR /Gy /W3 /EHsc /Gd /Gm- /DWIN32 /D_WINDOWS /D_USRDLL /DCVGAMECOREDLL_EXPORTS /Yu"CvGameCoreDLL.h" /IBoost-1.32.0/include /IPython24/include /I"C:\Program Files\Microsoft Visual C++ Toolkit 2003/include" /I"C:\Program Files\WindowsSDK/Include" /I"C:\Program Files\WindowsSDK/Include/mfc" /I"C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\CvGameCoreDLL\Boost-1.32.0/include" /I"C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\CvGameCoreDLL\Python24/include" /FoDebug\CvUnit.obj /c CvUnit.cpp
1>CvUnit.cpp
1>CvUnit.cpp(850) : error C2039: 'getBBAI_AIR_COMBAT' : is not a member of 'CvGlobals'
1> c:\Program Files\CvGameCoreDLL\CvGlobals.h(134) : see declaration of 'CvGlobals'
1>CvUnit.cpp(1150) : error C2039: 'getCOMBAT_DIE_SIDES' : is not a member of 'CvGlobals'
1> c:\Program Files\CvGameCoreDLL\CvGlobals.h(134) : see declaration of 'CvGlobals'
1>CvUnit.cpp(1821) : error C2511: 'bool CvUnit::isBetterDefenderThan(const CvUnit *,const CvUnit *,int *) const' : overloaded member function not found in 'CvUnit'
1> c:\Program Files\CvGameCoreDLL\CvUnit.h(67) : see declaration of 'CvUnit'
1>CvUnit.cpp(2619) : error C2039: 'hasDefender' : is not a member of 'CvPlot'
1> c:\Program Files\CvGameCoreDLL\CvPlot.h(30) : see declaration of 'CvPlot'
1>CvUnit.cpp(4771) : error C2039: 'getCOMBAT_DIE_SIDES' : is not a member of 'CvGlobals'
1> c:\Program Files\CvGameCoreDLL\CvGlobals.h(134) : see declaration of 'CvGlobals'
1>CvUnit.cpp(8617) : error C2660: 'CvUnit::isBetterDefenderThan' : function does not take 3 arguments
1>CvUnit.cpp(9632) : error C2039: 'getWAR_SUCCESS_CITY_CAPTURING' : is not a member of 'CvGlobals'
1> c:\Program Files\CvGameCoreDLL\CvGlobals.h(134) : see declaration of 'CvGlobals'
1>CvUnit.cpp(12046) : error C2039: 'getCOMBAT_DIE_SIDES' : is not a member of 'CvGlobals'
1> c:\Program Files\CvGameCoreDLL\CvGlobals.h(134) : see declaration of 'CvGlobals'
1>CvUnit.cpp(12710) : error C2039: 'getCOMBAT_DIE_SIDES' : is not a member of 'CvGlobals'
1> c:\Program Files\CvGameCoreDLL\CvGlobals.h(134) : see declaration of 'CvGlobals'
1>CvUnit.cpp(12719) : error C2039: 'getCOMBAT_DIE_SIDES' : is not a member of 'CvGlobals'
1> c:\Program Files\CvGameCoreDLL\CvGlobals.h(134) : see declaration of 'CvGlobals'
1>CvUnit.cpp(12719) : error C2780: 'const _Ty &std::min(const _Ty &,const _Ty &,_Pr)' : expects 3 arguments - 2 provided
1> C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\xutility(1265) : see declaration of 'std::min'
1>CvUnit.cpp(12731) : error C2039: 'getCOMBAT_DIE_SIDES' : is not a member of 'CvGlobals'
1> c:\Program Files\CvGameCoreDLL\CvGlobals.h(134) : see declaration of 'CvGlobals'
1>CvUnit.cpp(12731) : error C2780: 'const _Ty &std::max(const _Ty &,const _Ty &,_Pr)' : expects 3 arguments - 2 provided
1> C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\xutility(1250) : see declaration of 'std::max'
1>CvUnit.cpp(12743) : error C2039: 'getCOMBAT_DAMAGE' : is not a member of 'CvGlobals'
1> c:\Program Files\CvGameCoreDLL\CvGlobals.h(134) : see declaration of 'CvGlobals'
1>CvUnit.cpp(12743) : error C2780: 'const _Ty &std::max(const _Ty &,const _Ty &,_Pr)' : expects 3 arguments - 2 provided
1> C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\xutility(1250) : see declaration of 'std::max'
1>CvUnit.cpp(12744) : error C2039: 'getCOMBAT_DAMAGE' : is not a member of 'CvGlobals'
1> c:\Program Files\CvGameCoreDLL\CvGlobals.h(134) : see declaration of 'CvGlobals'
1>CvUnit.cpp(12744) : error C2780: 'const _Ty &std::max(const _Ty &,const _Ty &,_Pr)' : expects 3 arguments - 2 provided
1> C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\xutility(1250) : see declaration of 'std::max'
1>CvUnit.cpp(13130) : error C2660: 'CvUnit::isBetterDefenderThan' : function does not take 3 arguments
1>CvUnit.cpp(13135) : error C2039: 'LFBisBetterDefenderThan' : is not a member of 'CvUnit'
1> c:\Program Files\CvGameCoreDLL\CvUnit.h(67) : see declaration of 'CvUnit'
1>CvUnit.cpp(13136) : error C2270: 'LFBisBetterDefenderThan' : modifiers not allowed on nonmember functions
1>CvUnit.cpp(13142) : error C3861: 'LFBgetDefenderRank': identifier not found, even with argument-dependent lookup
1>CvUnit.cpp(13147) : error C2039: 'LFBgetDefenderRank' : is not a member of 'CvUnit'
1> c:\Program Files\CvGameCoreDLL\CvUnit.h(67) : see declaration of 'CvUnit'
1>CvUnit.cpp(13152) : error C2673: 'LFBisBetterDefenderThan' : global functions do not have 'this' pointers
1>CvUnit.cpp(13167) : error C2039: 'LFBgetAttackerRank' : is not a member of 'CvUnit'
1> c:\Program Files\CvGameCoreDLL\CvUnit.h(67) : see declaration of 'CvUnit'
1>CvUnit.cpp(13168) : error C2270: 'LFBgetAttackerRank' : modifiers not allowed on nonmember functions
1>CvUnit.cpp(13171) : error C2039: 'LFBgetDefenderOdds' : is not a member of 'CvUnit'
1> c:\Program Files\CvGameCoreDLL\CvUnit.h(67) : see declaration of 'CvUnit'
1>CvUnit.cpp(13171) : error C2673: 'LFBgetAttackerRank' : global functions do not have 'this' pointers
1>CvUnit.cpp(13174) : error C3861: 'withdrawalProbability': identifier not found, even with argument-dependent lookup
1>CvUnit.cpp(13175) : error C3861: 'withdrawalProbability': identifier not found, even with argument-dependent lookup
1>CvUnit.cpp(13178) : error C3861: 'currCombatStr': identifier not found, even with argument-dependent lookup
1>CvUnit.cpp(13180) : error C3861: 'LFBgetValueAdjustedOdds': identifier not found, even with argument-dependent lookup
1>CvUnit.cpp(13186) : error C2039: 'LFBgetDefenderRank' : is not a member of 'CvUnit'
1> c:\Program Files\CvGameCoreDLL\CvUnit.h(67) : see declaration of 'CvUnit'
1>CvUnit.cpp(13187) : error C2270: 'LFBgetDefenderRank' : modifiers not allowed on nonmember functions
1>CvUnit.cpp(13187) : error C2365: 'LFBgetDefenderRank' : redefinition; previous definition was a 'formerly unknown identifier'
1>CvUnit.cpp(13188) : error C3861: 'LFBgetDefenderOdds': identifier not found, even with argument-dependent lookup
1>CvUnit.cpp(13190) : error C3861: 'maxHitPoints': identifier not found, even with argument-dependent lookup
1>CySelectionGroup.cpp(169) : error C2039: 'isStranded' : is not a member of 'CvSelectionGroup'
1> c:\Program Files\CvGameCoreDLL\CvSelectionGroup.h(16) : see declaration of 'CvSelectionGroup'
1>NMAKE : warning U4010: 'Debug\CySelectionGroup.obj' : build failed; /K specified, continuing ...
1>NMAKE : warning U4011: 'Debug\CvGameCoreDLL.dll' : not all dependents available; target not built
1>NMAKE : warning U4011: 'Debug' : not all dependents available; target not built
1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
1>Build log was saved at "file://c:\Program Files\CvGameCoreDLL\Debug\BuildLog.htm"
1>CvGameCoreDLL - 194 error(s), 9 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I cut out some of the code to post it. I looked at the errors in the files and they seemed OK.