Search found 219 matches

by loonycyborg
Sun Feb 10, 2008 11:40 am
Forum: Compile
Topic: Building problem on OSX (SVN) - Linker doesn't find DesignWn
Replies: 17
Views: 2058

Re: Building problem on OSX (SVN) - Linker doesn't find DesignWn

px is the pointer that the boost::shared_ptr contains. So this assertion is caused by a shared_ptr containing NULL pointer.
by loonycyborg
Sun Feb 10, 2008 11:20 am
Forum: Compile
Topic: Building problem on OSX (SVN) - Linker doesn't find DesignWn
Replies: 17
Views: 2058

Re: Building problem on OSX (SVN) - Linker doesn't find DesignWn

lseek and write calls output the error message to stderr(fd 2), then kill call is used to send SIGABRT. What's interesting here?
by loonycyborg
Sun Feb 10, 2008 9:10 am
Forum: Compile
Topic: Can't compile from svn
Replies: 3
Views: 949

Re: Can't compile from svn

scons: Configure: Checking for GiGiSDL >= 0.6.0... pkg-config GiGiSDL --atleast-version 0.6.0 scons: Configure: no It fails to find GiGi with pkg-config so -lGiGi, -lGiGiSDL flags are not added to linker command. GG's "scons install" should install GiGi.pc, GiGiSDL.pc and GiGiOgre.pc into /usr/lib/...
by loonycyborg
Fri Feb 08, 2008 7:48 pm
Forum: Compile
Topic: error with ubuntu
Replies: 10
Views: 1854

Re: error with ubuntu

It can't find GG because there's no -I compiler flag that points to it.
Run "scons configure" and post config.log if there are errors during configuration.
by loonycyborg
Thu Feb 07, 2008 10:34 pm
Forum: Compile
Topic: installation bug in svn 2302
Replies: 2
Views: 1022

Re: installation bug in svn 2302

Index: SConstruct =================================================================== --- SConstruct (revision 2307) +++ SConstruct (working copy) @@ -595,7 +595,7 @@ Alias('install', Install(env['bindir'], freeoriond)) Alias('install', Install(env['bindir'], freeorionca)) Alias('install', Install(...
by loonycyborg
Wed Jan 30, 2008 9:59 am
Forum: Compile
Topic: GiGi compile error "sh: o: not found"
Replies: 10
Views: 3845

Re: GiGi compile error "sh: o: not found"

It looks like these messages are not red herrings after all: http://www.freeorion.org/forum/viewtopic.php?f=24&t=1935 The problem looks like the line is missing "gcc -" at the start of each line. This would also be why I keep getting the shell error "o: not found" I didn't notice that :oops: Due to ...
by loonycyborg
Tue Jan 29, 2008 10:01 am
Forum: Compile
Topic: GiGi compile error "sh: o: not found"
Replies: 10
Views: 3845

Re: GiGi compile error "sh: o: not found"

Tarran wrote: sh: o: not found
close failed: [Errno 9] Bad file descriptor
scons: Configure: yes
These error messages are red herrings. They appear in config.log on Ubuntu, but don't prevent configuration from succeeding.
Post log for the last check, that actually failed.
by loonycyborg
Fri Jan 18, 2008 9:28 pm
Forum: Compile
Topic: Compiling on Ubuntu 7.04
Replies: 12
Views: 2356

Re: Compiling on Ubuntu 7.04

The Silent One wrote:

Code: Select all

 
/usr/bin/ld: cannot find -lboost_iostreams-gcc41-mt-1_34_1
Is there libboost_iostreams-gcc41-mt-1_34_1.so in /usr/local/lib?
If you compiled boost from source it should have installed all libraries including boost_iostreams into /usr/local/lib
by loonycyborg
Fri Jan 18, 2008 2:04 pm
Forum: Compile
Topic: Compiling on Ubuntu 7.04
Replies: 12
Views: 2356

Re: Compiling on Ubuntu 7.04

Since configuration actually failed this time, config.log might contain some useful info...
by loonycyborg
Thu Jan 17, 2008 9:12 pm
Forum: Compile
Topic: Compiling on Ubuntu 7.04
Replies: 12
Views: 2356

Re: Compiling on Ubuntu 7.04

Run:
scons configure with_boost_include=/usr/local/include/boost-1_34_1 with_boost_libdir=/usr/local/lib boost_lib_suffix=-gcc41-mt-1_34_1
by loonycyborg
Thu Jan 17, 2008 6:49 pm
Forum: Compile
Topic: Compiling on Ubuntu 7.04
Replies: 12
Views: 2356

Re: Compiling on Ubuntu 7.04

-L/usr/lib -L/usr/local/lib -L/usr/lib/graphviz -lpython2.5 -lGiGiSDL -lIL -lILU -lGiGi -lboost_signals-gcc41-mt-1_34_1 -lboost_filesystem-gcc41-mt-1_34_1 -lboost_thread-gcc41-mt-1_34_1 -lGL -lGLU -lfreetype -lz -lSDL -lboost_serialization -lboost_iostreams -lboost_python -lopenal -lalut -lvorbisfi...
by loonycyborg
Thu Jan 17, 2008 2:58 pm
Forum: Compile
Topic: Compiling on Ubuntu 7.04
Replies: 12
Views: 2356

Re: Compiling on Ubuntu 7.04

config.log is most useful if you have problems during configuration. If you have errors during build process, why don't you post build output also?
by loonycyborg
Tue Jan 08, 2008 11:45 pm
Forum: Compile
Topic: compile on x86_64 fails due to log4cpp
Replies: 15
Views: 3966

Re: compile on x86_64 fails due to log4cpp

You can modify SConstruct to use log4cpp-config to get linker flags: @@ -431,8 +434,7 @@ AppendPackagePaths('log4cpp', env) found_it_with_pkg_config = False if pkg_config: - if conf.CheckPkg('log4cpp', log4cpp_version): - env.ParseConfig('pkg-config --cflags --libs log4cpp') + env.ParseConfig('log4c...
by loonycyborg
Tue Jan 08, 2008 4:56 pm
Forum: Compile
Topic: compile on x86_64 fails due to log4cpp
Replies: 15
Views: 3966

Re: compile on x86_64 fails due to log4cpp

I don't see -llog4cpp in linker command. Edit: hummm ... i just noticed configure spat out Checking for log4cpp >= 0.3.4b... no This check tries to detect log4cpp with pkg-config. This fails because log4cpp-config must be used instead. Checking for C++ header file log4cpp/Category.hh... yes This che...
by loonycyborg
Thu Jan 03, 2008 7:35 pm
Forum: Compile
Topic: scons run unsuccesfull on WinXP x84
Replies: 12
Views: 2839

Re: scons run unsuccesfull on WinXP x84

cl is MSVC compiler. FreeOrion's SCons script supports only Microsoft Visual Studio compiler on windows.