This project contains a minimal example that occompanies a question about Gecode.
In order to compile the example execute
g++ -I/usr/local/include/ -c tuple.cpp
You can link it with
g++ -o tuple -L/usr/local/lib/ tuple.o -lgecodekernel -lgecodesearch -lgecodeint
there is also a =Makefile= that can perform the compile and link tasks.