GG Compile error Linux

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
KySoto
Space Krill
Posts: 2
Joined: Thu Jun 28, 2012 9:30 pm

GG Compile error Linux

#1 Post by KySoto »

Code: Select all

[ 25%] Building CXX object src/CMakeFiles/GiGi.dir/GUI.cpp.o
/home/kysoto/gigi/GG/src/GUI.cpp: In member function ‘virtual void GG::GUI::Wait(unsigned int)’:
/home/kysoto/gigi/GG/src/GUI.cpp:782:26: error: ‘TIME_UTC’ is not a member of ‘boost’
make[2]: *** [src/CMakeFiles/GiGi.dir/GUI.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/GiGi.dir/all] Error 2
make: *** [all] Error 2
I'm not sure whats wrong here.
Ubuntu 12.04
I'm using the 1.50.0 boost library, if I need to give any other information just let me know.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13603
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: GG Compile error Linux

#2 Post by Geoff the Medio »

Seeing as Boost 1.50 was released today, probably the boost::TIME_UTC enumeration has been removed or changed, and GiGi hasn't been updated accordingly. You'll need to use an earlier version of Boost, or make appropriate changes to GiGi itself to use whatever Boost 1.50 replaced that enumeration with.

Edit: Based on this try replacing TIME_UTC with TIME_UTC_

KySoto
Space Krill
Posts: 2
Joined: Thu Jun 28, 2012 9:30 pm

Re: GG Compile error Linux

#3 Post by KySoto »

well that sorta figures. i didn't realize boost had just been updated.
also, that totally worked, and thanks :)

Post Reply