Geoff the Medio wrote:
Again, see the README.txt. Once installed, using scons just to get GG and FreeOrion compiled should be trivially simple.
I installed python to C:\Python25 and added it to the path environment variable, then installed scons. I used tortoise to update freeorion and GG. Then from the VS 2005 Command Prompt I performed the below, but it seems to be having problems. Following that is the config.log from the FreeOrion\GG directory showing it is having problems finding boost/shared_ptr.hpp. One instance of this file is located in at this location:
C:\Subversion\FreeOrion\FreeOrion_SDK\Boost\include\boost-1_34\boost
Code: Select all
C:\Subversion\FreeOrion\FreeOrion_SDK\FreeOrion\GG>scons configure
scons: Reading SConscript files ...
Configuring for WIN32 system...
Checking for C++ header file boost/shared_ptr.hpp... no
Boost configuration... (cached) no
C:\Subversion\FreeOrion\FreeOrion_SDK\FreeOrion\GG>scons install
scons: Reading SConscript files ...
Configuring for WIN32 system...
Checking for C++ header file boost/shared_ptr.hpp... no
Boost configuration... (cached) no
C:\Subversion\FreeOrion\FreeOrion_SDK\FreeOrion\GG>cd ..
C:\Subversion\FreeOrion\FreeOrion_SDK\FreeOrion>scons configure
scons: Reading SConscript files ...
Configuring for WIN32 system...
Checking for pkg-config... no
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking Boost version >= 1.34... (cached) yes
Boost configuration... (cached) ok
Checking for sdl-config... (cached) no
Checking for C header file SDL\SDL.h... yes
Checking SDL version >= 1.2.7... (cached) yes
SDL configuration... (cached) yes
Checking freetype2 version >= 2.1.2... (cached) yes
Checking for C header file ft2build.h... yes
Checking DevIL version >= 1.6.1... (cached) yes
Checking for C header file IL/il.h... yes
Checking for C header file IL/ilu.h... yes
Checking for C header file IL/ilut.h... yes
Checking for DevIL OpenGL support... yes
Checking for C header file gvc.h... yes
Checking log4cpp version == 0.3.4b... (cached) yes
Checking for C++ header file log4cpp/Category.hh... yes
Configuration successful... (cached) yes
C:\Subversion\FreeOrion\FreeOrion_SDK\FreeOrion>scons
scons: Reading SConscript files ...
Using previous successful configuration; if you want to re-run the configuration
step, run "scons configure".
IOError: [Errno 2] No such file or directory: '..\\lib\\GiGi.dll':
File "C:\Subversion\FreeOrion\FreeOrion_SDK\FreeOrion\SConstruct", line 565:
shutil.copy(os.path.join('..', 'lib', 'GiGi.dll'), '.')
File "C:\Python25\lib\shutil.py", line 80:
copyfile(src, dst)
File "C:\Python25\lib\shutil.py", line 46:
fsrc = open(src, 'rb')
C:\Subversion\FreeOrion\FreeOrion_SDK\FreeOrion>
Code: Select all
file C:\Subversion\FreeOrion\FreeOrion_SDK\FreeOrion\GG\SConstruct,line 202:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for C++ header file boost/shared_ptr.hpp...
.sconf_temp\conftest_0.cpp <-
|
|#include "boost/shared_ptr.hpp"
|
|
cl /nologo /TP /c .sconf_temp\conftest_0.cpp /Fo.sconf_temp\conftest_0.obj
conftest_0.cpp
.sconf_temp\conftest_0.cpp(2) : fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
scons: Configure: no
scons: Configure: Boost configuration...
scons: Configure: (cached) no