scons: *** [src/FertilityCalculatorThreadMessage.o] Error 1
Posted: Sun Oct 05, 2008 10:12 am
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.
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.