MS Visual C++, GG compile error, missing file GG/Config.h
Moderator: Oberlus
MS Visual C++, GG compile error, missing file GG/Config.h
Starting with GG revision 658 file GG\src\Texture.cpp includes GG/Config.h, which unfortunately does not exist when compiling with MS Visual C++. Is this file possibly meant to be generated by scons?
I have latest FreeOrion SDK installed, no build node for GiGi*.dll's - which is also missing missing from the latest SDK. Is this intentional?
M.
I have latest FreeOrion SDK installed, no build node for GiGi*.dll's - which is also missing missing from the latest SDK. Is this intentional?
M.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: MS Visual C++, GG compile error, missing file GG/Config.h
I believe SCons does create Config.h
To clarify, are you trying to build GG or FreeOrion with MSVC? If GG, did you make the project files yourself?
The msvc2008 and msvc2005 directories in FreeOrion contain /include/GG directories which contain Config.h. You can probably use that file to replace the SCons-created one for your own project files in the same manner.
I'm not sure what you mean by "build node for GiGi*.dll's".
Note that the MSVC project files for FreeOrion don't need any GG dlls. They build the GG code into the FreeOrion executables.
To clarify, are you trying to build GG or FreeOrion with MSVC? If GG, did you make the project files yourself?
The msvc2008 and msvc2005 directories in FreeOrion contain /include/GG directories which contain Config.h. You can probably use that file to replace the SCons-created one for your own project files in the same manner.
I'm not sure what you mean by "build node for GiGi*.dll's".
Note that the MSVC project files for FreeOrion don't need any GG dlls. They build the GG code into the FreeOrion executables.
Re: MS Visual C++, GG compile error, missing file GG/Config.h
Ah... my mistake! There it is. I'm compiling FreeOrion, solution and project files in msvc2005 path is tampered with, so my cvs update was incomplete... After also adding some Unicode related files it compiles, links and runs just fine.
Thanks for quick response!
Thanks for quick response!
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: MS Visual C++, GG compile error, missing file GG/Config.h
What do you mean by that?stride wrote:...adding some Unicode related files...
Re: MS Visual C++, GG compile error, missing file GG/Config.h
Caused by me having non SVN versions of IDE solution and project files. New items in later revisions like GG\src\UnicodeCharsets.cpp etc from repository need to be added as "item" in project...
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: MS Visual C++, GG compile error, missing file GG/Config.h
So the SVN version of the MSVC 2005 project files are fine, then?
Re: MS Visual C++, GG compile error, missing file GG/Config.h
He had old revision.stride wrote:Starting with GG revision 658
Re: MS Visual C++, GG compile error, missing file GG/Config.h
Peeking into the latest repository version of freeorion.vcproj shows that it has UnicodeCharsets.cpp correctly added.Geoff the Medio wrote:So the SVN version of the MSVC 2005 project files are fine, then?
However I cannot find the Config.h, GG\GG\utf8\core.h and GG\GG\utf8\checked.h header files included, which might need to be fixed.
Here is my diffs, please note that I have SVN source tree and SDK/Python in different locations. I'm using environment variables pointing to heades/libraries. Also all SDK .dll's are manually copied into same location as generated .exe files.
Code: Select all
Index: freeorion.vcproj
===================================================================
--- freeorion.vcproj (revision 2680)
+++ freeorion.vcproj (working copy)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="8.00"
+ Version="8,00"
Name="freeorion"
ProjectGUID="{DB6FF1B0-5485-4DB9-8390-88CE29C22261}"
RootNamespace="freeorion"
@@ -42,7 +42,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="3"
- AdditionalIncludeDirectories="../../../../include/;"../../../../Boost/include/boost-1_35";C:\Python25\include;../../../network/;../../../GG/;../../include/"
+ AdditionalIncludeDirectories=""$(FreeOrion_SDK)/include/";"$(FreeOrion_SDK)/Boost/include/boost-1_36";../../../GG;../../../network;../../include/;"$(Python_SDK)/include";"$(Platform_SDK)\Include""
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_WIN32_WINNT;GIGI_EXPORTS;GIGI_SDL_EXPORTS;FREEORION_BUILD_HUMAN;FREEORION_WIN32;BOOST_SIGNALS_STATIC_LINK"
StringPooling="true"
MinimalRebuild="true"
@@ -69,10 +69,10 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="opengl32.lib glu32.lib wsock32.lib zdll.lib SDL.lib SDLmain.lib log4cpp.lib freetype214MT.lib cdt.lib circogen.lib common.lib dotgen.lib fdpgen.lib gd.lib graph.lib gvc.lib libexpat.lib neatogen.lib pack.lib pathplan.lib plugin.lib twopigen.lib png.lib jpeg.lib OpenAL32.lib alut.lib libvorbisfile.lib glew32.lib"
+ AdditionalDependencies="user32.lib opengl32.lib glu32.lib wsock32.lib zdll.lib SDL.lib SDLmain.lib log4cpp.lib freetype214MT.lib cdt.lib circogen.lib common.lib dotgen.lib fdpgen.lib gd.lib graph.lib gvc.lib libexpat.lib neatogen.lib pack.lib pathplan.lib plugin.lib twopigen.lib png.lib jpeg.lib OpenAL32.lib alut.lib libvorbisfile.lib glew32.lib"
OutputFile="../../../freeorion.exe"
LinkIncremental="1"
- AdditionalLibraryDirectories="../../../../lib/;../../../../Boost/lib/;C:\Python25\libs"
+ AdditionalLibraryDirectories=""$(FreeOrion_SDK)/lib/";"$(FreeOrion_SDK)/Boost/lib/";"$(Python_SDK)/libs";"$(Platform_SDK)/lib""
GenerateManifest="true"
IgnoreDefaultLibraryNames="LIBCMT"
GenerateDebugInformation="true"
@@ -113,328 +113,6 @@
</References>
<Files>
<Filter
- Name="GG"
- Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <Filter
- Name="GG"
- >
- <File
- RelativePath="..\..\..\GG\GG\AlignmentFlags.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Base.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\BrowseInfoWnd.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Button.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Clr.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Control.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Cursor.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\DrawUtil.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\DropDownList.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\DynamicGraphic.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Edit.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Enum.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\EventPump.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Flags.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Font.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\GUI.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Layout.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\ListBox.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Menu.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\MultiEdit.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\PtRect.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Scroll.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Slider.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Spin.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\StaticGraphic.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\StyleFactory.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\TabWnd.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\TextControl.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Texture.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Timer.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\Wnd.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\WndEditor.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\WndEvent.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\ZList.h"
- >
- </File>
- <Filter
- Name="dialogs"
- >
- <File
- RelativePath="..\..\..\GG\GG\dialogs\ColorDlg.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\dialogs\FileDlg.h"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\GG\dialogs\ThreeButtonDlg.h"
- >
- </File>
- </Filter>
- <Filter
- Name="SDL"
- >
- <File
- RelativePath="..\..\..\GG\GG\SDL\SDLGUI.h"
- >
- </File>
- </Filter>
- </Filter>
- <Filter
- Name="src"
- >
- <File
- RelativePath="..\..\..\GG\src\AlignmentFlags.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Base.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\BrowseInfoWnd.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Button.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Clr.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Control.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Cursor.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\DrawUtil.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\DropDownList.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\DynamicGraphic.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Edit.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\EventPump.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Font.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\GUI.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Layout.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\ListBox.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Menu.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\MultiEdit.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\PtRect.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Scroll.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Slider.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\StaticGraphic.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\StyleFactory.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\TabWnd.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\TextControl.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Texture.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Timer.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\Wnd.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\WndEditor.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\WndEvent.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\ZList.cpp"
- >
- </File>
- <Filter
- Name="dialogs"
- >
- <File
- RelativePath="..\..\..\GG\src\dialogs\ColorDlg.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\dialogs\FileDlg.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\GG\src\dialogs\ThreeButtonDlg.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="SDL"
- >
- <File
- RelativePath="..\..\..\GG\src\SDL\SDLGUI.cpp"
- >
- </File>
- </Filter>
- </Filter>
- </Filter>
- <Filter
Name="client"
>
<File
@@ -1141,6 +819,382 @@
>
</File>
</Filter>
+ <Filter
+ Name="GG"
+ >
+ <Filter
+ Name="GG"
+ >
+ <File
+ RelativePath="..\..\..\GG\GG\AlignmentFlags.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Base.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\BrowseInfoWnd.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Button.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\utf8\checked.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Clr.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\dialogs\ColorDlg.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\include\GG\Config.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Control.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\utf8\core.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Cursor.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\DrawUtil.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\DropDownList.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\DynamicGraphic.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Edit.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Enum.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\EventPump.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Exception.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\dialogs\FileDlg.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Flags.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Font.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\glext.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\GUI.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Layout.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\ListBox.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Menu.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\MultiEdit.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\PtRect.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Scroll.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\SDL\SDLGUI.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Signal0.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Signal1.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Signal2.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Signal3.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Signal4.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Signal5.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Signal6.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Signal7.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Signal8.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\SignalsAndSlots.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\SignalTemplate.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Slider.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Spin.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\StaticGraphic.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\StyleFactory.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\TabWnd.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\TextControl.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Texture.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\dialogs\ThreeButtonDlg.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Timer.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\UnicodeCharsets.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\Wnd.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\WndEditor.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\WndEvent.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\GG\ZList.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="src"
+ >
+ <File
+ RelativePath="..\..\..\GG\src\AlignmentFlags.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Base.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\BrowseInfoWnd.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Button.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Clr.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\dialogs\ColorDlg.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Control.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Cursor.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\DrawUtil.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\DropDownList.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\DynamicGraphic.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Edit.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\EventPump.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\dialogs\FileDlg.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Font.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\GUI.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Layout.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\ListBox.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Menu.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\MultiEdit.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\PtRect.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Scroll.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\SDL\SDLGUI.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Slider.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\StaticGraphic.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\StyleFactory.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\TabWnd.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\TextControl.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Texture.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\dialogs\ThreeButtonDlg.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Timer.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\UnicodeCharsets.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\Wnd.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\WndEditor.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\WndEvent.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\GG\src\ZList.cpp"
+ >
+ </File>
+ </Filter>
+ </Filter>
</Files>
<Globals>
</Globals>
Code: Select all
Index: freeorionca.vcproj
===================================================================
--- freeorionca.vcproj (revision 2680)
+++ freeorionca.vcproj (working copy)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="8.00"
+ Version="8,00"
Name="freeorionca"
ProjectGUID="{4B69AB88-9DA9-41AB-B6D6-CACFE5F3DAD9}"
Keyword="Win32Proj"
@@ -40,7 +40,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="3"
- AdditionalIncludeDirectories="../../../../include/;"../../../../Boost/include/boost-1_35";C:\Python25\include;../../../network;/../../../GG/;../../include/"
+ AdditionalIncludeDirectories=""$(FreeOrion_SDK)/include/";"$(FreeOrion_SDK)/Boost/include/boost-1_36";../../../GG;../../../network;../../include/;"$(Python_SDK)/include";"$(Platform_SDK)\Include""
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;GIGI_EXPORTS;FREEORION_BUILD_AI;FREEORION_WIN32;BOOST_SIGNALS_STATIC_LINK"
StringPooling="true"
MinimalRebuild="true"
@@ -66,10 +66,10 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="opengl32.lib glu32.lib wsock32.lib zdll.lib log4cpp.lib freetype214MT.lib cdt.lib common.lib pathplan.lib libexpat.lib python25.lib boost_python-vc80-mt-1_35.lib"
+ AdditionalDependencies="user32.lib opengl32.lib glu32.lib wsock32.lib zdll.lib log4cpp.lib freetype214MT.lib cdt.lib common.lib pathplan.lib libexpat.lib python25.lib boost_python-vc80-mt-1_36.lib"
OutputFile="../../../freeorionca.exe"
LinkIncremental="1"
- AdditionalLibraryDirectories="../../../../lib/;../../../../Boost/lib/;C:\Python25\libs"
+ AdditionalLibraryDirectories=""$(FreeOrion_SDK)/lib/";"$(FreeOrion_SDK)/Boost/lib/";"$(Python_SDK)/libs";"$(Platform_SDK)/lib""
GenerateManifest="true"
GenerateDebugInformation="false"
SubSystem="1"
Code: Select all
Index: freeoriond.vcproj
===================================================================
--- freeoriond.vcproj (revision 2680)
+++ freeoriond.vcproj (working copy)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="8.00"
+ Version="8,00"
Name="freeoriond"
ProjectGUID="{BA9529CC-B803-4763-B803-2B374D4ECD43}"
RootNamespace="freeoriond"
@@ -41,7 +41,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="3"
- AdditionalIncludeDirectories="../../../../include/;"../../../../Boost/include/boost-1_35";C:\Python25\include;../../../network/;/../../../GG/;../../include/"
+ AdditionalIncludeDirectories=""$(FreeOrion_SDK)/include/";"$(FreeOrion_SDK)/Boost/include/boost-1_36";../../../GG;../../../network;../../include/;"$(Python_SDK)/include";"$(Platform_SDK)\Include""
PreprocessorDefinitions="WIN32;NDEBUG;GIGI_EXPORTS;_WINDOWS;FREEORION_BUILD_SERVER;FREEORION_WIN32;BOOST_SIGNALS_STATIC_LINK"
StringPooling="true"
MinimalRebuild="true"
@@ -67,10 +67,10 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="opengl32.lib glu32.lib wsock32.lib zdll.lib log4cpp.lib freetype214MT.lib cdt.lib common.lib graph.lib pathplan.lib libexpat.lib"
+ AdditionalDependencies="user32.lib opengl32.lib glu32.lib wsock32.lib zdll.lib log4cpp.lib freetype214MT.lib cdt.lib common.lib graph.lib pathplan.lib libexpat.lib"
OutputFile="../../../freeoriond.exe"
LinkIncremental="2"
- AdditionalLibraryDirectories="../../../../lib/;../../../../Boost/lib/;C:\Python25\libs"
+ AdditionalLibraryDirectories=""$(FreeOrion_SDK)/lib/";"$(FreeOrion_SDK)/Boost/lib/";"$(Python_SDK)/libs";"$(Platform_SDK)/lib""
GenerateManifest="true"
GenerateDebugInformation="true"
SubSystem="1"
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: MS Visual C++, GG compile error, missing file GG/Config.h
The SDK is set up so that if you put the FreeOrion directory and the include and lib directories in the SDK into the same place, the relative pathes in the MSVC project files should find the necessary files. If you've placed the directories in different locations, you'll have to maintain that yourself.
The GG utf8 headers are in SVN, so make sure you've got the latest version. The utf8 headers aren't in the MSVC project files (at least not in 2008; I don't have 2005 in front of me) but this doesn't prevent them from being found when building the .cpp files that include them. It would probably be better to have them in the project, but it's not really necessary.
The Config.h header is in a nonstandard location, so didn't get added to the project files, but as above, it doesn't really need to be in them to work.
The GG utf8 headers are in SVN, so make sure you've got the latest version. The utf8 headers aren't in the MSVC project files (at least not in 2008; I don't have 2005 in front of me) but this doesn't prevent them from being found when building the .cpp files that include them. It would probably be better to have them in the project, but it's not really necessary.
The Config.h header is in a nonstandard location, so didn't get added to the project files, but as above, it doesn't really need to be in them to work.