[gecol-devel] Bug report

Willem Broekema metawilm at gmail.com
Thu Apr 3 17:49:09 UTC 2008


On Thu, Apr 3, 2008 at 6:07 PM, Mauricio Toro <mauriciotorob at gmail.com> wrote:
> Hello Will,

Let's keep it Willem please - it's Dutch :)

>  I am still getting this error when compiling the last version of gecol with gecode 2.1.1.

That's unfortunate. Apparently we are not compiling with the same
Gecode library?

>  /Library/Frameworks/Gecode/gecol20/glue.cpp: In function
>  'Gecode::Set::SetVarImp* gec_fs_variable(Gecode::SetVar*)':
>  /Library/Frameworks/Gecode/gecol20/glue.cpp:1451: error: 'class
>  Gecode::SetVar' has no member named 'var'
>
>  what is the difference between set->var and set->variable ?

This is the error I get for set->variable, when asdf-loading:

cl-user(5): (aload :gecol)
; $ /usr/bin/g++ /Users/willem/dev/lisp/gecol20/glue.cpp -dynamiclib
-fPIC -lgecodesearch -lgecodekernel -lgecodeint -lgecodeset
-lgecodeminimodel -lstdc++ -lgecodesupport -o
/Users/willem/.fasl/allegro-8.1m-macosx-x86/Users/willem/dev/lisp/gecol20/glue.so
/Users/willem/dev/lisp/gecol20/glue.cpp: In function
'Gecode::Set::SetVarImp* gec_fs_variable(Gecode::SetVar*)':
/Users/willem/dev/lisp/gecol20/glue.cpp:1452: error: 'class
Gecode::SetVar' has no member named 'variable'
Error: erred while invoking #<compile-op nil @ #x10cf61ca> on
#<gecode-source-file "glue" @ #x105b0f6a>
  [condition type: operation-error]

The member "var" seems documented here:
http://www.gecode.org/gecode-doc-latest/classGecode_1_1VarBase.html
(SetVar is derived from VarBase).
http://www.gecode.org/gecode-doc-latest/classGecode_1_1VarBase.html

And seems defined in release-2.1.1/gecode/kernel/var.icc line 59.

>  And this other error:
>
>  /Library/Frameworks/Gecode/gecol20/glue.cpp: In function
>  'Gecode::DFS<GecolSpace>* make_DFS_Space_int_int_Stop(GecolSpace*,
>  int, int, Gecode::Search::Stop*)':
>  /Library/Frameworks/Gecode/gecol20/glue.cpp:534: error: 'Options' is
>  not a member of 'Gecode::Search'

In release-2.1.1/gecode/search.hh there is on line 224 a class Options
inside a namespace Search inside a namespace Gecode. That looks right
to me. Also, it is documented at
<http://www.gecode.org/gecode-doc-latest/classGecode_1_1Search_1_1Options.html>.

- Willem



More information about the gecol-devel mailing list