I saw some general references to scons not passing environment variables correctly, which seems related to what I am getting here, but I couldn't track down a solution that I could understand well enough to adapt it to the error message I was getting:
Code: Select all
scons : Reading Sconscript files ...
KeyError: 'LIB':
File "D:\FreeOrion_SDK\FreeOrion\GG\SConstruct", line 11:
'LIB' : os.environ['LIB'],
File "D:\Python25\lib\os.py", line 433:
return self.data[key.upper()]
I get this error any time I scons anything. I was following the readme and had no trouble with SVN. Here are the relevant stats:
Windows XP home ed SP3 installed on an old AMD 64bit Athalon
Python 2.5.4
(I also have 2.6.1 installed, but scons should be looking at the other, I have tried both to no avail.)
scons-1.2.0 (d20090223 if that's relevant)
Here's the log file
Code: Select all
file C:\Documents and Settings\tzlaine\Desktop\FreeOrion_SDK\FreeOrion\GG\SConstruct,line 283:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for pkg-config...
pkg-config --atleast-pkgconfig-version 0.15.0
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
scons: Configure: no
scons: Configure: Checking for C++ header file boost/shared_ptr.hpp...
.sconf_temp\conftest_1.cpp <-
|
|#include "boost/shared_ptr.hpp"
|
|
cl /nologo /TP "/IC:\Documents and Settings\tzlaine\Desktop\FreeOrion_SDK\Boost\include\boost-1_36" /c .sconf_temp\conftest_1.cpp /Fo.sconf_temp\conftest_1.obj
conftest_1.cpp
.sconf_temp\conftest_1.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
[EDIT] Umm, after some more searching I found this:
viewtopic.php?f=24&t=2466&p=35311&hilit ... %2C#p35311
Is that what I need to do? Where does this code go?