Hi all -
I was building GiGi and it conks out at:
/home/collin/non-portage-installs/freeorion/FreeOrion/GG/tutorial/adam.cpp: In function ‘bool GG::TestExpressionParser(const GG::expression_parser<__gnu_cxx::__normal_iterator<$
/home/collin/non-portage-installs/freeorion/FreeOrion/GG/tutorial/adam.cpp:391: error: invalid initialization of non-const reference of type ‘__gnu_cxx::__normal_iterator<const$
/usr/include/boost-1_42/boost/spirit/home/qi/parse.hpp:62: error: in passing argument 1 of ‘bool boost::spirit::qi::phrase_parse(Iterator&, Iterator, const Expr&, const Skipper$
In file included from /usr/include/boost-1_42/boost/fusion/view/ext_/segmented_iterator.hpp:23,
from /usr/include/boost-1_42/boost/proto/fusion.hpp:28,
from /usr/include/boost-1_42/boost/proto/core.hpp:21,
from /usr/include/boost-1_42/boost/proto/proto.hpp:12,
from /usr/include/boost-1_42/boost/spirit/home/support/meta_compiler.hpp:17,
from /usr/include/boost-1_42/boost/spirit/home/qi/meta_compiler.hpp:14,
from /usr/include/boost-1_42/boost/spirit/home/qi/action/action.hpp:14,
from /usr/include/boost-1_42/boost/spirit/home/qi/action.hpp:14,
from /usr/include/boost-1_42/boost/spirit/home/qi.hpp:14,
from /usr/include/boost-1_42/boost/spirit/include/qi.hpp:16,
from /home/collin/non-portage-installs/freeorion/FreeOrion/GG/tutorial/adam.cpp:41: ...
and goes on and on....
Anyone seen anything similar and know a way to fix / get around it? Thanks! BTW - I have boot-1.42 and gcc-4.4.5
Problem building GiGi at adam.cpp
Moderator: Oberlus
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Problem building GiGi at adam.cpp
I can't find another thread after a few minutes, but I'm pretty sure I've seen previous reports of issues compiling the GiGi tutorials. You should be able to just remove those from the build, since you don't need them to build GiGi itself.
Re: Problem building GiGi at adam.cpp
Yeah - that is what I figured - I just have to figure out how to pass options w/ cmake. I sort of know autotools, but no Cmake yet.
Oh - just figured it out - ccmake lets you select it from a menu - pretty spiffy.
Oh - just figured it out - ccmake lets you select it from a menu - pretty spiffy.
Re: Problem building GiGi at adam.cpp
Yeah, sorry about that. I'm doing some experiments in that tutorial atm. I didn't actually think most people were building them.
Re: Problem building GiGi at adam.cpp
tenspd137 wrote:I just have to figure out how to pass options w/ cmake.
Code: Select all
cmake -DBUILD_TUTORIALS=off .