Search found 219 matches

by loonycyborg
Sat May 23, 2009 3:35 pm
Forum: Programming
Topic: MacOsX Version issues
Replies: 189
Views: 35764

Re: MacOsX Version issues

tzlaine wrote:I really don't know of another way to get SCons to tell me the platform, so if you find a better way, let me know.
You either look for it in env["PLATFORM"] or use python's sys.platform. On Mac env["PLATFORM"] will be 'darwin' AFAIK.
by loonycyborg
Sun Mar 22, 2009 1:17 pm
Forum: Compile
Topic: SCons doesn't like op.environ on windows system.
Replies: 13
Views: 3897

Re: SCons doesn't like op.environ on windows system.

MathGeek wrote:

Code: Select all

cl /Fo.sconf_temp\conftest_1.obj /c .sconf_temp\conftest_1.cpp /TP /nologo /ID:\FreeOrion_SDK\Boost\include\boost-1_36
'cl' is not recognized as an internal or external command,
operable program or batch file.
Interesting.. There's no cl in PATH while in your previous config.log cl was found..
by loonycyborg
Tue Mar 17, 2009 10:49 am
Forum: Compile
Topic: SCons doesn't like op.environ on windows system.
Replies: 13
Views: 3897

Re: SCons doesn't like op.environ on windows system.

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()] Try replacing os.environ['LIB'] with os.environ.get('LIB') on line 11 in the SConstruct fi...
by loonycyborg
Fri Feb 13, 2009 12:38 am
Forum: Compile
Topic: ogre problem when building
Replies: 48
Views: 8956

Re: ogre problem when building

I was getting a segfault at startup which was fixed by upgrading to boost 1.38 You probably need to copy the Ogre .so's listed in ogre_plugins.cfg from /usr/local/lib/OGRE to your working dir. You probably need to read Ogre plugin dir with "pkg-config OGRE --variable=plugindir" when generating ogre_...
by loonycyborg
Thu Feb 12, 2009 3:12 pm
Forum: Compile
Topic: ogre problem when building
Replies: 48
Views: 8956

Re: ogre problem when building

Failures in the pkg-config checks are possibly due to recent versions of scons not propagating the environment when running commands in TryAction, ParseConfig, etc. PKG_CONFIG_PATH must be propagated for some of them to work: Index: SConstruct ========================================================...
by loonycyborg
Thu Jan 01, 2009 9:31 am
Forum: Compile
Topic: Scons can't find boost serialization
Replies: 81
Views: 14519

Re: Scons can't find boost serialization

There's also a possibility that there's no execute access to /usr/local/lib for everyone.. What is the output of "ls -ald /usr/local/lib"?
by loonycyborg
Wed Dec 31, 2008 10:43 pm
Forum: Compile
Topic: Scons can't find boost serialization
Replies: 81
Views: 14519

Re: Scons can't find boost serialization

Perhaps it's permission problem? What's the output of "ls -al /usr/local/lib/libGiGi*.so*" when GG is installed?
by loonycyborg
Wed Dec 24, 2008 9:23 am
Forum: Compile
Topic: Scons can't find boost serialization
Replies: 81
Views: 14519

Re: Scons can't find boost serialization

SCons doesn't search for the library. It tries to build a test program that uses it using the same machinery as for building freeorion itself, e.g. scanning for implicit dependencies. Based on LIBPATH and LIBS it thinks that the test program depends on /usr/local/lib/libGiGi.so, most likely because ...
by loonycyborg
Tue Dec 23, 2008 7:57 pm
Forum: Compile
Topic: Scons can't find boost serialization
Replies: 81
Views: 14519

Re: Scons can't find boost serialization

g++ -o .sconf_temp/conftest_5.o -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/python2.5 -I/usr/local/include -I/usr/include/SDL -I/usr/include/boost .sconf_temp/conftest_5.cpp close failed: [Errno 9] Bad file descriptor scons: Configure: Caught exception while building ".sconf_temp/confte...
by loonycyborg
Tue Dec 23, 2008 5:09 pm
Forum: Compile
Topic: Scons can't find boost serialization
Replies: 81
Views: 14519

Re: Scons can't find boost serialization

yoshi wrote:ok which package has gl?
Package of your videocard's driver, e.g. nvidia-glx-dev for nvidia.
by loonycyborg
Mon Dec 22, 2008 3:23 pm
Forum: Compile
Topic: Scons can't find boost serialization
Replies: 81
Views: 14519

Re: Scons can't find boost serialization

scons boost_lib_suffix=-gcc41-mt-1_37
Substitute suffix as appropriate for your boost libs. E.g. -gcc43-mt-1_37
by loonycyborg
Mon Dec 22, 2008 12:17 pm
Forum: Compile
Topic: Scons can't find boost serialization
Replies: 81
Views: 14519

Re: Scons can't find boost serialization

All: you have to find out which version of boost you have(if is multithreaded) and to fix scons script. But how to fix scons script is another case. I have no idea. Yet. There's no need to fix scons script. It already has an option to specify suffix of the library. E.g. boost_lib_suffix=-gcc41-mt-1...
by loonycyborg
Mon Dec 22, 2008 11:43 am
Forum: Compile
Topic: GG: scons trying to install files during build process
Replies: 5
Views: 1155

Re: GG: scons trying to install files during build process

It happens because GG's scons script now builds tutorials too. Based on LIBS and LIBPATH scons figures out that tutorial binaries depend on GG libs located in install target dir and tries to build them. Solution: prepend "." to LIBPATH so it'll depend on libs in GG's compile dir. Index: SConstruct =...
by loonycyborg
Tue Nov 18, 2008 10:28 am
Forum: Compile
Topic: GG Compile
Replies: 6
Views: 1381

Re: GG Compile

My point was there's no way anyone could help you unless you'll post really useful error messages. "Too many errors" only tells us that MSVC sucks at error reporting.