Archid
Warlord
Great news that you got the compile to work ... now you can have some real fun playing around with the code
It's been a while since I have tried this and got this to work and now I need help.
I am trying to compile a FfH modmod (Orbis) and can't get it to work. I can compile BtS no problem, but not the Orbis dll. I am using the given makefile with the correct paths and 2008 Express.
I copy over the BtS files and then copy over top the Orbis files.
Any ideas?
Does '1>NMAKE : warning U4011: 'Release' : not all dependents available; target not built' when I try to compile mean that I'm missing a couple of SDK files, or something? New to this, totally lost...
TOOLKIT=E:\Microsoft Visual C++ Toolkit 2003
PSDK=C:\Program Files\Microsoft SDKs\Windows\v7.0A
CIVINSTALL=E:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword
1>------ Build started: Project: CvGameCoreDLL, Configuration: Release Win32 ------
1>Build started 7/15/2014 10:19:10 AM.
1>Build:
1> ""C:\Program Files (x86)\Microsoft Visual C++ Toolkit 2003"\bin\cl.exe" /nologo /MD /O2 /Oy /Oi /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 (x86)\Microsoft Visual C++ Toolkit 2003"/include" /I""C:\Program Files\WindowsSDK"/Include" /I""C:\Program Files\WindowsSDK"/Include/mfc" /I""C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword"\CvGameCoreDLL\Boost-1.32.0/include" /I""C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword"\CvGameCoreDLL\Python24/include" /FoRelease\CvUnit.obj /c CvUnit.cpp
1> The input line is too long.
1>NMAKE : warning U4010: 'Release\CvUnit.obj' : build failed; /K specified, continuing ...
1>NMAKE : warning U4011: 'Release\CvGameCoreDLL.dll' : not all dependents available; target not built
1>NMAKE : warning U4011: 'Release' : not all dependents available; target not built
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "nmake /NOLOGO /K Release" exited with code 1.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:01.71
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
1> CvUnit.cpp
1>CvUnit.cpp(4654): error C2086: 'CvPlot *pTargetPlot' : redefinition
1> CvUnit.cpp(4642) : see declaration of 'pTargetPlot'
// Super Forts begin *bombard*
//FAssertMsg(pBombardCity != NULL, "BombardCity is not assigned a valid value"); - Removed for Super Forts
CvPlot* pTargetPlot;
//CvPlot* pTargetPlot = pBombardCity->plot(); - Original Code
if(pBombardCity != NULL)
{
pTargetPlot = pBombardCity->plot();
}
else
{
pTargetPlot = bombardImprovementTarget(pPlot);
}
// Super Forts end
CvPlot* pTargetPlot = pBombardCity->plot();
if (!isEnemy(pTargetPlot->getTeam()))
{
getGroup()->groupDeclareWar(pTargetPlot, true);
}
if (!isEnemy(pTargetPlot->getTeam()))
{
return false;
}
Performing Makefile project actions
"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:\Users\Igor\Documents\My Games\Beyond the Sword\CvGameCoreDLL\Boost-1.32.0/include" /I"C:\Users\Igor\Documents\My Games\Beyond the Sword\CvGameCoreDLL\Python24/include" /YcCvGameCoreDLL.h /Fo"Debug\_precompile.obj" /c _precompile.cpp
_precompile.cpp
c:\Program Files\CvGameCoreDLL\CvGameCoreDLL.h(160) : fatal error C1083: Cannot open include file: 'boost/python/list.hpp': No such file or directory
NMAKE : warning U4010: 'Debug\CvGameCoreDLL.pch' : build failed; /K specified, continuing ...
"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:\Users\Igor\Documents\My Games\Beyond the Sword\CvGameCoreDLL\Boost-1.32.0/include" /I"C:\Users\Igor\Documents\My Games\Beyond the Sword\CvGameCoreDLL\Python24/include" /FoDebug\CvArea.obj /c CvArea.cpp
CvArea.cpp
CvArea.cpp(3) : fatal error C1083: Cannot open precompiled header file: 'Debug\CvGameCoreDLL.pch': No such file or directory
NMAKE : warning U4010: 'Debug\CvArea.obj' : build failed; /K specified, continuing ...