[gecode-users] Copiling with gcc on OpenSuSE 10.0

tack at ps.uni-sb.de tack at ps.uni-sb.de
Fri Nov 25 20:40:04 CET 2005


Hi!

> Hello,
>
> I have a problem with compiling gecode sources.
> I am using:
> System: OpenSuSE 10.0
> gcc --version: 4.0.2 20050901
>
> I installed the gecode:
> 1) "./compile" (no error)
> 3) "make" (no error).
>
> I copied the file "money.cc" from the directory "examples" to the same
> directory as the file "minimodel.hh" is. Then I tried to compile this file
> using:
> gcc -L./ -I./ money.cc

In fact, the make you did after ./compile should have compiled all
examples. You can then run them from the directory where you invoked make,
like this
./examples/money

If this doesn't work, please let us know!

Cheers,
   Guido






More information about the gecode-users mailing list