scons bug
Posted: Sun Mar 02, 2008 1:58 pm
Hi everyone
I've been trying to get this whole compile thing to work but I'm having problems
(I've just made "apt-get install g++" as explained in another topic in the bug section, it solved another problem)
vincent@vincent-laptop:~/Desktop/glob2-0.9.2$ sudo 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 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 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/CampaignMenuScreen.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL src/CampaignMenuScreen.cpp
In file included from src/YOGClient.h:32,
from src/NetEngine.h:26,
from src/Engine.h:31,
from src/CampaignMenuScreen.cpp:22:
src/YOGChatChannel.h:23:53: error: boost/date_time/posix_time/posix_time.hpp: No such file or directory
src/YOGChatChannel.h:50: error: 'boost::posix_time' has not been declared
src/YOGChatChannel.h:50: error: ISO C++ forbids declaration of 'ptime' with no type
src/YOGChatChannel.h:50: error: expected ';' before 'getMessageTime'
src/YOGChatChannel.h:73: error: 'posix_time' is not a member of 'boost'
src/YOGChatChannel.h:73: error: 'posix_time' is not a member of 'boost'
src/YOGChatChannel.h:73: error: template argument 2 is invalid
src/YOGChatChannel.h:73: error: template argument 1 is invalid
src/YOGChatChannel.h:73: error: template argument 2 is invalid
scons: *** [src/CampaignMenuScreen.o] Error 1
scons: building terminated because of errors.
vincent@vincent-laptop:~/Desktop/glob2-0.9.2$
I've just checked in synaptic : libfribidi0 and libfribidi-dev are installed...
I don't understand well all those compilation stuves, help me please
(I use eee xubuntu latest version installed a few weeks ago)
thanks in advance
I've been trying to get this whole compile thing to work but I'm having problems
(I've just made "apt-get install g++" as explained in another topic in the bug section, it solved another problem)
vincent@vincent-laptop:~/Desktop/glob2-0.9.2$ sudo 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 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 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/CampaignMenuScreen.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL src/CampaignMenuScreen.cpp
In file included from src/YOGClient.h:32,
from src/NetEngine.h:26,
from src/Engine.h:31,
from src/CampaignMenuScreen.cpp:22:
src/YOGChatChannel.h:23:53: error: boost/date_time/posix_time/posix_time.hpp: No such file or directory
src/YOGChatChannel.h:50: error: 'boost::posix_time' has not been declared
src/YOGChatChannel.h:50: error: ISO C++ forbids declaration of 'ptime' with no type
src/YOGChatChannel.h:50: error: expected ';' before 'getMessageTime'
src/YOGChatChannel.h:73: error: 'posix_time' is not a member of 'boost'
src/YOGChatChannel.h:73: error: 'posix_time' is not a member of 'boost'
src/YOGChatChannel.h:73: error: template argument 2 is invalid
src/YOGChatChannel.h:73: error: template argument 1 is invalid
src/YOGChatChannel.h:73: error: template argument 2 is invalid
scons: *** [src/CampaignMenuScreen.o] Error 1
scons: building terminated because of errors.
vincent@vincent-laptop:~/Desktop/glob2-0.9.2$
I've just checked in synaptic : libfribidi0 and libfribidi-dev are installed...
I don't understand well all those compilation stuves, help me please
(I use eee xubuntu latest version installed a few weeks ago)
thanks in advance