Page 1 of 1

Revision 3845 problem compiling GG in Linux

Posted: Sun Nov 28, 2010 6:07 am
by RgnadKzin
I went in and changed the required version of boost to 1.42, which is the highest version I can install from synanptic package manager.

Code: Select all

[  3%] Building CXX object src/CMakeFiles/GiGi.dir/AdamParser.cpp.o              
In file included from /usr/local/src/freeorion/FreeOrion/GG/GG/Lexer.h:32,       
                 from /usr/local/src/freeorion/FreeOrion/GG/GG/ExpressionParser.h:31,
                 from /usr/local/src/freeorion/FreeOrion/GG/src/AdamParser.cpp:27:
/usr/local/src/freeorion/FreeOrion/GG/GG/Token.h:207: error: ‘token_printer_debug’ is not a template
/usr/local/src/freeorion/FreeOrion/GG/GG/Token.h: In static member function ‘static void boost::spirit::traits::token_printer_debug<Iter, Attribute, HasState>::print(Out&, const GG::position_tracking_token<Iter, AttributeTypes, HasState>&)’:
/usr/local/src/freeorion/FreeOrion/GG/GG/Token.h:214: error: ‘print_token’ is not a member of ‘boost::spirit::traits’

Re: Revision 3845 problem compiling GG in Linux

Posted: Sun Nov 28, 2010 6:28 am
by Geoff the Medio
You can probably revert to the last working (for you) version of GG and build FreeOrion against that.

Re: Revision 3845 problem compiling GG in Linux

Posted: Sun Nov 28, 2010 10:32 am
by OndrejR
I also have this problem and it is not only problem with this revision. I already sent private message to tzlaine. The last working revision of GG is 853. FreeOrion does not have problem. Simply don't install GG with make install. FreeOrion check installed version of GG. For other newcomers before compiling and installing GG first update GG to revision 853 with:

Code: Select all

cd freeorion/FreeOrion/GG
svn update -r 853
EDIT: Gigi now requires Boost 1.44 which is not common in linux distributions, therefore is easier use revision 853.

Re: Revision 3845 problem compiling GG in Linux [solved]

Posted: Sun Nov 28, 2010 10:36 pm
by RgnadKzin
I was able to get it compiled by simply "requiring" the older version and re-installing catalyst.