After two days of updating libboost in my Ubuntu 11.10 from 1.46 to 1.47 i`m able to cmake GiGi lib:
Code: Select all
FreeOrion/GG$ cmake -DBUILD_TUTORIALS=off .
-- Build platform: linux
-- Configuring GiGi
-- Configuring GiGiSDL
-- Configuring GiGiOgre
-- libraries : OgreMain;pthread from /usr/lib
-- includes : /usr/include/OGRE
-- Configuring Ogre OIS Input Plugin
-- Configuring Tests
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Warning: Doxygen could not be found. Disabling the documentation build.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/Storage/Games/freeorion/FreeOrion/GG
Code: Select all
FreeOrion/GG$ make
[ 1%] Building CXX object src/CMakeFiles/GiGi.dir/AdamParser.cpp.o
In file included from /home/Storage/Games/freeorion/FreeOrion/GG/GG/LexerFwd.h:35:0,
from /home/Storage/Games/freeorion/FreeOrion/GG/GG/Lexer.h:31,
from /home/Storage/Games/freeorion/FreeOrion/GG/GG/ExpressionParser.h:31,
from /home/Storage/Games/freeorion/FreeOrion/GG/src/AdamParser.cpp:27:
/usr/include/boost/spirit/home/lex/lexer/lexertl/position_token.hpp:700:12: error: ‘assign_to_container_from_value’ is not a template
/usr/include/boost/spirit/home/lex/lexer/lexertl/position_token.hpp:876:81: error: wrong number of template arguments (2, should be 5)
/usr/include/boost/spirit/home/lex/lexer/lexertl/position_token.hpp:701:86: error: provided for ‘template<class Attribute, class Iterator, class AttributeTypes, class HasState, class Idtype> struct boost::spirit::traits::assign_to_container_from_value’
/usr/include/boost/spirit/home/lex/lexer/lexertl/position_token.hpp:908:86: error: wrong number of template arguments (2, should be 5)
/usr/include/boost/spirit/home/lex/lexer/lexertl/position_token.hpp:701:86: error: provided for ‘template<class Attribute, class Iterator, class AttributeTypes, class HasState, class Idtype> struct boost::spirit::traits::assign_to_container_from_value’
make[2]: *** [src/CMakeFiles/GiGi.dir/AdamParser.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/GiGi.dir/all] Error 2
make: *** [all] Error 2
I hate play Freeorion in wine...