Hi,

I've fixed the problem with boost serialization, the trunk version compiles again. I also changed the way configure looks for boost, you now have to give the path to the header files, so that the version is not hard-coded into configure any longer.

We will release Gecode 2.1.1 and Gecode/J 2.1.1 tomorrow, both 2.1.0 versions had some minor flaws the we want to correct. Thanks again for pointing this out!

Cheers,
        Guido

Stefano Gualandi wrote:

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}/])

_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to