Hi Karadoc, I am attempting to see if I can use K-mod again as the base of my mod as it has so many lovelly things in it.
However when I try to compile the .dll (just to see if I can) I get errors, which is weird because it is just a straight copy of your files.
Here are the errors, thanks in advance for any help or advice you can give.
1>Copyright (C) Microsoft Corporation. All rights reserved.
1> "C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\cl.exe" /nologo /MD /O2 /Oy /Oi /Og /G7 /DNDEBUG /DFINAL_RELEASE /Fp"Release\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\Microsoft SDKs\Windows\v7.1/Include" /I"C:\Program Files\Microsoft SDKs\Windows\v7.1/Include/mfc" /FoRelease\KmodPathFinder.obj /c KmodPathFinder.cpp
1>KmodPathFinder.cpp
1>KmodPathFinder.cpp(82) : error C2039: 'maxMoves' : is not a member of 'CvSelectionGroup'
1> c:\Games\CivIV\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\Mods\CvGameCoreDLL\CvSelectionGroup.h(16) : see declaration of 'CvSelectionGroup'
1>KmodPathFinder.cpp(82) : error C2039: 'movesLeft' : is not a member of 'CvSelectionGroup'
1> c:\Games\CivIV\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\Mods\CvGameCoreDLL\CvSelectionGroup.h(16) : see declaration of 'CvSelectionGroup'
1>KmodPathFinder.cpp(161) : error C2065: 'MOVE_SINGLE_ATTACK' : undeclared identifier
1>KmodPathFinder.cpp(161) : error C2065: 'MOVE_NO_ATTACK' : undeclared identifier
1>KmodPathFinder.cpp(173) : error C2660: 'CvTeamAI::AI_isSneakAttackReady' : function does not take 0 arguments
1>KmodPathFinder.cpp(294) : error C3861: 'pathValid_join': identifier not found, even with argument-dependent lookup
1>KmodPathFinder.cpp(306) : error C3861: 'pathValid_join': identifier not found, even with argument-dependent lookup
1>KmodPathFinder.cpp(369) : error C3861: 'pathValid_source': identifier not found, even with argument-dependent lookup
1>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\cl.exe"' : return code '0x2'
1>Stop.
1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
1>Build log was saved at "file://c:\Games\CivIV\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\Mods\DLL Work\Release\BuildLog.htm"
1>CvGameCoreDLL - 10 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
However when I try to compile the .dll (just to see if I can) I get errors, which is weird because it is just a straight copy of your files.
Here are the errors, thanks in advance for any help or advice you can give.
Spoiler :
1>Copyright (C) Microsoft Corporation. All rights reserved.
1> "C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\cl.exe" /nologo /MD /O2 /Oy /Oi /Og /G7 /DNDEBUG /DFINAL_RELEASE /Fp"Release\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\Microsoft SDKs\Windows\v7.1/Include" /I"C:\Program Files\Microsoft SDKs\Windows\v7.1/Include/mfc" /FoRelease\KmodPathFinder.obj /c KmodPathFinder.cpp
1>KmodPathFinder.cpp
1>KmodPathFinder.cpp(82) : error C2039: 'maxMoves' : is not a member of 'CvSelectionGroup'
1> c:\Games\CivIV\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\Mods\CvGameCoreDLL\CvSelectionGroup.h(16) : see declaration of 'CvSelectionGroup'
1>KmodPathFinder.cpp(82) : error C2039: 'movesLeft' : is not a member of 'CvSelectionGroup'
1> c:\Games\CivIV\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\Mods\CvGameCoreDLL\CvSelectionGroup.h(16) : see declaration of 'CvSelectionGroup'
1>KmodPathFinder.cpp(161) : error C2065: 'MOVE_SINGLE_ATTACK' : undeclared identifier
1>KmodPathFinder.cpp(161) : error C2065: 'MOVE_NO_ATTACK' : undeclared identifier
1>KmodPathFinder.cpp(173) : error C2660: 'CvTeamAI::AI_isSneakAttackReady' : function does not take 0 arguments
1>KmodPathFinder.cpp(294) : error C3861: 'pathValid_join': identifier not found, even with argument-dependent lookup
1>KmodPathFinder.cpp(306) : error C3861: 'pathValid_join': identifier not found, even with argument-dependent lookup
1>KmodPathFinder.cpp(369) : error C3861: 'pathValid_source': identifier not found, even with argument-dependent lookup
1>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\cl.exe"' : return code '0x2'
1>Stop.
1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
1>Build log was saved at "file://c:\Games\CivIV\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\Mods\DLL Work\Release\BuildLog.htm"
1>CvGameCoreDLL - 10 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========