[gecode-users] Boost and serialization with new release
Stefano Gualandi
gualandi at elet.polimi.it
Mon Mar 3 10:57:03 CET 2008
Hi,
Does the new release depend on a particular boost version?
So far, it compile only with serialization disabled (I am trying on
both Linux and Mac OS X).
In 'configure' and 'gecode.m4' files there are references to
boost-1_33_1 (see below).
This is the error on compilation:
g++ -I. -fvisibility=hidden -fPIC -Wextra -Wall -pipe -ggdb -fno-
inline-functions -fimplement-inlines -I/usr/local/include/
boost-1_34_1 -c -o gecode/serialization/flatzinc.o gecode/
serialization/flatzinc.cc
./gecode/serialization/boost.icc: In function 'void
boost::serialization::save_construct_data(Archive&, const
Gecode::Reflection::ActorSpec*, unsigned int)':
./gecode/serialization/boost.icc:308: error: 'const class
Gecode::Reflection::ActorSpec' has no member named 'name'
./gecode/int.hh:294: confused by earlier errors, bailing out
{standard input}:33:FATAL:.abort detected. Assembly stopping.
make[1]: *** [gecode/serialization/flatzinc.o] Error 1
make: *** [compilelib] Error 2
cheers,
Stefano
=====================================
--- configure (revision 6392)
+++ configure (working copy)
@@ -6307,7 +6307,7 @@
fi
if test "${with_boost:-no}" != "no"; then
- BOOST_CPPFLAGS=-I${with_boost}/include/boost-1_33_1
+ BOOST_CPPFLAGS=-I${with_boost}/
--- gecode.m4 (revision 6392)
+++ gecode.m4 (working copy)
@@ -854,7 +854,7 @@
AC_HELP_STRING([--with-boost],
[path to the boost library (used for serialization)]))
if test "${with_boost:-no}" != "no"; then
- AC_SUBST(BOOST_CPPFLAGS,[-I${with_boost}/include/boost-1_33_1])
+ AC_SUBST(BOOST_CPPFLAGS,[-I${with_boost}/])
More information about the gecode-users
mailing list