Yeah. Most of them are warnings anyway.
Error 14 error C1010: unexpected end of file while looking for precompiled header directive C:\Users\Philip\Documents\Visual Studio 2010\Projects\CvGameCoreDLL\dllmain.cpp 39
Error 18 error MSB3073: The command "nmake /NOLOGO /K Release" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets 38
19 IntelliSense: cannot open source file "boost/python/tuple.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cycity.h 11
20 IntelliSense: name followed by '::' must be a class or namespace name c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cycity.h 12
21 IntelliSense: name followed by '::' must be a class or namespace name c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cycity.h 536
22 IntelliSense: name followed by '::' must be a class or namespace name c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cycity.h 537
23 IntelliSense: cannot open source file "boost/python/object.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvdllpythonifacebase.h 13
24 IntelliSense: name followed by '::' must be a class or namespace name c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvdllpythonifacebase.h 14
25 IntelliSense: identifier "PyObject" is undefined c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvdllpythonifacebase.h 32
26 IntelliSense: cannot open source file "boost/python/list.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 160
27 IntelliSense: cannot open source file "boost/python/tuple.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 161
28 IntelliSense: cannot open source file "boost/python/class.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 162
29 IntelliSense: cannot open source file "boost/python/manage_new_object.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 163
30 IntelliSense: cannot open source file "boost/python/return_value_policy.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 164
31 IntelliSense: cannot open source file "boost/python/object.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 165
32 IntelliSense: cannot open source file "boost/python/def.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 166
33 IntelliSense: name followed by '::' must be a class or namespace name c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 168
1>------ Build started: Project: CvGameCoreDLL, Configuration: Release Win32 ------
1> "C:\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:\Microsoft Visual C++ Toolkit 2003/include" /I"C:\WindowsSDK/Include" /I"C:\WindowsSDK/Include/mfc" /I"C:\Program Files (x86)\Steam\SteamApps\common\Sid Meier's Civilization IV Beyond the Sword\Beyond the Sword\CvGameCoreDLL\Boost-1.32.0/include" /I"C:\Program Files (x86)\Steam\SteamApps\common\Sid Meier's Civilization IV Beyond the Sword\Beyond the Sword\CvGameCoreDLL\Python24/include" /FoRelease\dllmain.obj /c dllmain.cpp
1> dllmain.cpp
1>dllmain.cpp(39): fatal error C1010: unexpected end of file while looking for precompiled header directive
1>NMAKE : warning U4010: 'Release\dllmain.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.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Error 1 error C1010: unexpected end of file while looking for precompiled header directive C:\Users\Philip\Documents\Visual Studio 2010\Projects\CvGameCoreDLL\dllmain.cpp 39
Error 5 error MSB3073: The command "nmake /NOLOGO /K Release" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets 38
12 IntelliSense: cannot open source file "boost/python/list.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 160
13 IntelliSense: cannot open source file "boost/python/tuple.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 161
14 IntelliSense: cannot open source file "boost/python/class.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 162
15 IntelliSense: cannot open source file "boost/python/manage_new_object.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 163
16 IntelliSense: cannot open source file "boost/python/return_value_policy.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 164
17 IntelliSense: cannot open source file "boost/python/object.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 165
18 IntelliSense: cannot open source file "boost/python/def.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 166
19 IntelliSense: name followed by '::' must be a class or namespace name c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 168
20 IntelliSense: cannot open source file "boost/python/tuple.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cycity.h 11
21 IntelliSense: name followed by '::' must be a class or namespace name c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cycity.h 12
22 IntelliSense: name followed by '::' must be a class or namespace name c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cycity.h 536
23 IntelliSense: name followed by '::' must be a class or namespace name c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cycity.h 537
24 IntelliSense: cannot open source file "boost/python/object.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvdllpythonifacebase.h 13
25 IntelliSense: name followed by '::' must be a class or namespace name c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvdllpythonifacebase.h 14
26 IntelliSense: identifier "PyObject" is undefined c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvdllpythonifacebase.h 32
Yeah, you can place the Boost and Python folders right in the CvGameCoreDLL folder.
What is dllmain.cpp?
Error 15 error C1010: unexpected end of file while looking for precompiled header directive C:\Users\Philip\Documents\Visual Studio 2010\Projects\CvGameCoreDLL\dllmain.cpp 39
/* Replace "dll.h" with the name of your header */
#include "dll.h"
#include <windows.h>
DllClass::DllClass()
{
}
DllClass::~DllClass ()
{
}
BOOL APIENTRY DllMain (HINSTANCE hInst /* Library instance handle. */ ,
DWORD reason /* Reason this function is being called. */ ,
LPVOID reserved /* Not used. */ )
{
switch (reason)
{
case DLL_PROCESS_ATTACH:
break;
case DLL_PROCESS_DETACH:
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
}
/* Returns TRUE on success, FALSE on failure */
return TRUE;
[COLOR="Red"]}[/COLOR]
27 IntelliSense: cannot open source file "boost/python/list.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 160
28 IntelliSense: cannot open source file "boost/python/tuple.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 161
29 IntelliSense: cannot open source file "boost/python/class.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 162
30 IntelliSense: cannot open source file "boost/python/manage_new_object.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 163
31 IntelliSense: cannot open source file "boost/python/return_value_policy.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 164
32 IntelliSense: cannot open source file "boost/python/object.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 165
33 IntelliSense: cannot open source file "boost/python/def.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 166
34 IntelliSense: name followed by '::' must be a class or namespace name c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 168
//
// Boost Python
//
#include <boost/python/list.hpp>
#include <boost/python/tuple.hpp>
#include <boost/python/class.hpp>
#include <boost/python/manage_new_object.hpp>
#include <boost/python/return_value_policy.hpp>
#include <boost/python/object.hpp>
#include <boost/python/def.hpp>
namespace python = boost::python;
22 IntelliSense: cannot open source file "boost/python/return_value_policy.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 164
23 IntelliSense: cannot open source file "boost/python/object.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 165
24 IntelliSense: cannot open source file "boost/python/def.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 166
25 IntelliSense: name followed by '::' must be a class or namespace name c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cvgamecoredll.h 168
#include <boost/python/tuple.hpp>
namespace python = boost::python;
...
void setWallOverridePoints(const python::tuple& kPoints); /* points are given in world space ... i.e. PlotXToPointX, etc */
python::tuple getWallOverridePoints() const;
26 IntelliSense: cannot open source file "boost/python/tuple.hpp" c:\users\philip\documents\visual studio 2010\projects\cvgamecoredll\cycity.h 11
virtual PyObject* MakeFunctionArgs(void** args, int argc) = 0;
Error 15 error MSB3073: The command "nmake /NOLOGO /K Release" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets 38
<Target Name="Build" DependsOnTargets="PrepareForNMakeBuild;ResolveReferences;GetTargetPath" Returns="$(NMakeManagedOutput)">
<VCMessage Code="MSB8005" Type="Warning" Arguments="NMakeBuildCommandLine" Condition="'$(NMakeBuildCommandLine)'==''"/>
<Exec Command="$(NMakeBuildCommandLine)" Condition="'$(NMakeBuildCommandLine)'!=''"/>
</Target>
Even yours is only referenced in the GLOBALPYTHON, GLOBALBOOST (which I don't have) and YOURMOD variables. And I've just used the whole path for the latter.You don't have a CivInstall path?