GG compile error

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
OxUlsen
Space Krill
Posts: 7
Joined: Mon Nov 24, 2008 10:01 pm

GG compile error

#1 Post by OxUlsen »

2685 version.

g++ -o tutorial/saveload.o -c -pthread -Wall -O2 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I. -Ilibltdl -I/usr/include/SDL tutorial/saveload.cpp
............

tutorial/saveload.cpp:83: instantiated from here
/usr/local/include/boost/serialization/access.hpp:109: error: 'struct std::_List_iterator<GG::ListBox::Row*>' has no member named 'serialize'

tzlaine
Programming Lead Emeritus
Posts: 1092
Joined: Thu Jun 26, 2003 1:33 pm

Re: GG compile error

#2 Post by tzlaine »

Right. Sorry about that. GG is in an intermediate state right now. I've turned on building of the tutorials with every build, but one of them is broken. For now, just please ignore the error, because the libraries themselves are built and it's only that one tutorial that's broken. The next commit will fix the tutorial.

User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: GG compile error

#3 Post by kroddn »

I had mouch trouble getting GG to work, because of those tutorials.
One major problem is, that the tutorials won't build if you compile static (scons dynamic=no). I could not figure out how to configure the tutorials to link libGiGi.a statically instead of using shared objects.

Why don't you deactivate them until a "scons configure" parameter for building or not it exists?

Post Reply