Page 1 of 1

GG Compile error Linux

Posted: Thu Jun 28, 2012 9:34 pm
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.

Re: GG Compile error Linux

Posted: Thu Jun 28, 2012 10:15 pm
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_

Re: GG Compile error Linux

Posted: Fri Jun 29, 2012 12:49 am
by KySoto
well that sorta figures. i didn't realize boost had just been updated.
also, that totally worked, and thanks :)