[gecode-users] Compilation problem
Mikael Zayenz Lagerkvist
zayenz at gmail.com
Thu Oct 12 13:34:09 CEST 2006
On 10/12/06, Jean-Francois Molderez <jfmolderez at hotmail.com> wrote:
> hello ,
> I am starting with Gecode and I have the following problem when trying to
> compile a first example (money.cc)
>
> jfm at pt-jfm:~/gecode/dev> gcc -I ../gecode-1.3.0 -c money.cc
>
> jfm at pt-jfm:~/gecode/dev> gcc -lgecodekernel -lgecodeint -lgecodesearch
> money.o -o money
>
<snip/ >
> There is a problem to find/link the class Options.
> Thak you for any help me to get out of this predicament.
Since you didn't link the object-file containing the code for Options
(examples/support.o), it is quite natural to get these problems.
More general though, if you want to compile the examples that come
with Gecode, you are probably better off using the Makefile for
Gecode.With a standard configure, the examples will be compiled when
running make.
Cheers,
Mikael
--
Mikael Zayenz Lagerkvist, http://www.ict.kth.se/~zayenz/
More information about the gecode-users
mailing list