Page 1 of 1

scons: *** [src/FertilityCalculatorThreadMessage.o] Error 1

Posted: Sun Oct 05, 2008 10:12 am
by ubername
Hi

I get the following when trying to build Glob2 0.9.3 on a 64 bit machine. I am an absolute novice at building stuff - I just follow instructions and read error messages -I don't have much clue, but I have successfully built glob before on this box, on Ubuntu Hardy. I am trying on Ubuntu linux kernel 2.6.26-1-rt. Can anyone help?

output from scons:
scons: Reading SConscript files ...
Checking for C library SDL... (cached) yes
Checking for C library SDL_ttf... (cached) yes
Checking for C library SDL_image... (cached) yes
Checking for C library SDL_net... (cached) yes
Checking for C library speex... (cached) yes
Checking for C++ header file speex/speex.h... (cached) yes
Checking for C library vorbisfile... (cached) yes
Checking for C library vorbis... (cached) yes
Checking for C library ogg... (cached) yes
Checking for C++ header file zlib.h... (cached) yes
Checking for C library z... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C++ header file boost/thread/thread.hpp... (cached) yes
Checking for C++ header file boost/shared_ptr.hpp... (cached) yes
Checking for C++ header file boost/tuple/tuple.hpp... (cached) yes
Checking for C++ header file boost/tuple/tuple_comparison.hpp... (cached) yes
Checking for C++ header file boost/logic/tribool.hpp... (cached) yes
Checking for C++ header file boost/lexical_cast.hpp... (cached) yes
Checking for C++ header file boost/date_time/posix_time/posix_time.hpp... (cached) yes
Checking for C library GL... (cached) yes
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C library GLU... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C library fribidi... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
scons: `libgag/src/libgag.a' is up to date.
g++ -o src/FertilityCalculatorThreadMessage.o -c -g -O2 -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL src/FertilityCalculatorThreadMessage.cpp
src/FertilityCalculatorThreadMessage.cpp: In member function 'virtual bool FCTUpdateCompletionPercent::operator==(const FertilityCalculatorThreadMessage&) const':
src/FertilityCalculatorThreadMessage.cpp:48: error: must #include <typeinfo> before using typeid
src/FertilityCalculatorThreadMessage.cpp:48: error: must #include <typeinfo> before using typeid
src/FertilityCalculatorThreadMessage.cpp: In member function 'virtual bool FCTFertilityCompleted::operator==(const FertilityCalculatorThreadMessage&) const':
src/FertilityCalculatorThreadMessage.cpp:89: error: must #include <typeinfo> before using typeid
src/FertilityCalculatorThreadMessage.cpp:89: error: must #include <typeinfo> before using typeid
scons: *** [src/FertilityCalculatorThreadMessage.o] Error 1
scons: building terminated because of errors.

Re: scons: *** [src/FertilityCalculatorThreadMessage.o] Error 1

Posted: Sun Oct 05, 2008 3:00 pm
by ubername
Actually, no need to fix as the synaptic repository now has 0.9.3-2 version. However I still am interested in why I can't build it, but perhaps that is not for this forum.

Thanks

Re: scons: *** [src/FertilityCalculatorThreadMessage.o] Error 1

Posted: Sat Oct 18, 2008 11:58 am
by Giszmo
Hi

I copied your bug report to the bug tracker as I can't see the solution neither.
The error: must #include <typeinfo> before using typeid
can be found in the bug tracker in a fixed bug so i guess it is not simply a missing dependency.
See
https://savannah.nongnu.org/bugs/index.php?24598
for progress.

Re: scons: *** [src/FertilityCalculatorThreadMessage.o] Erro

Posted: Sat Dec 06, 2014 7:18 am
by Aliraza149
Hi,

I've got a repeatable crash in Glob2 which I installed from the Ubuntu 8.04 repository. It's happened on several maps now, but I've finally got a game that's been saved a few seconds before it crashes in a way that appears completely repeatable. Is there anything I can do to help track down this bug? I'm not all that familiar with Linux I'm afraid, but I'll happily dig out whatever is needed if somebody can point me to some instructions.

Re: scons: *** [src/FertilityCalculatorThreadMessage.o] Erro

Posted: Sat Dec 06, 2014 10:15 am
by ProgVal
Hasn't the bug been fixed since 2008?
Could you try with a more recent OS?