Sha256: c885834d2486341019169e614c88e2709b7b6da1c5d7c3c3de1217931a2a8903

Contents?: true

Size: 1 KB

Versions: 5

Compression:

Stored size: 1 KB

Contents

To compile the examples, you must add the qecode folder and the gecode folder (i.e. .. and ../../.. from this examples folder) to your include and library paths. These examples have to been linked against the gecodeint, gecodekernel, gecodeminimodel, gecodesupport, and gecodeqecode libraries. If you built the dynamic version of the gecode/qecode libraries, you will also have to add these folders to the dynamic libraries search path.

Example (with dynamic libs) : 
  For Linux, using gcc :
    $ g++ stress_test.cpp -I.. -I../../.. -L.. -L../../.. -lgecodeqecode -lgecodeminimodel -lgecodeint -lgecodekernel -lgecodesupport -o stress_test
    $ export LD_LIBRARY_PATH="..:../../.." # only if using shared libraries
    $ ./stress_test

  For MacOS, using gcc : 
    $ g++ stress_test.cpp -I.. -I../../.. -L.. -L../../.. -lgecodeqecode -lgecodeminimodel -lgecodesearch -lgecodeint -lgecodekernel -lgecodesupport -o stress_test
    $ export DYLD_LIBRARY_PATH="..:../../.." # only if using shared libraries
    $ ./stress_test

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gecoder-with-gecode-1.1.1.1 ext/gecode-2.2.0/contribs/qecode/examples/COMPILING
gecoder-with-gecode-1.1.1 ext/gecode-2.2.0/contribs/qecode/examples/COMPILING
gecoder-with-gecode-1.1.0 ext/gecode-2.2.0/contribs/qecode/examples/COMPILING
gecoder-with-gecode-0.9.1 ext/gecode-2.2.0/contribs/qecode/examples/COMPILING
gecoder-with-gecode-1.0.0 ext/gecode-2.2.0/contribs/qecode/examples/COMPILING