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)
I am using ubuntu and I didn't get that far. I got a failure at "Checking for C library SDL_ttf..." What programs did you install to get that far? Does anyone know who is in charge of the Debian/Ubuntu .deb packages?
My Machine: Ubuntu 7.10 Gutsy Gibbon, Globulation2 Version 0.9.1
each time you want a library to be checked you must install both the normal library and the dev one for example for the ttf stuff you must install :
libsdl-ttf2.0-0
and libsdl-ttf2.0-dev
in synaptic.
I just can't manage to get fribidi checked although I installed it properly...
Anyway, there are other problems
Just as an update, the data/zik problem was an issue with the packaging, it's fixed in the latest mercurial branch that should be released within the next week or two (I'm really excited about it, easily over 100 bug fixes, being rolled with changes to packaging procedures, release procedures, etc. Not much in the way of new features, but the stability is amazing!)
libfribidi isn't actually required to compile and run Glob2. From what I can tell it was put in for Arabic language support, but I don't have it installed on my mac and everything works like a charm.
As of beta3 (released soon), scons now checks for the required posix_time.hpp file needed to compile. If you still get this problem after beta3 is released, please let us know.