Instructions for building the software using
cmake are provided in the
BUILDING file that is distributed with the source code i.e.
Instructions for building
1) Create a build directory and generate Makefiles using CMake
If the cmake command completes successfully, you can proceed. If you have
libraries (such as Boost) installed in nonstandard locations, you may need
to run cmake with special options like -DBOOST_ROOT=/path/to/boost.
make -j 2
Everything should pass.
However, it seems that the perl script in step 3) actually assumes that the build was done 'in tree' rather than 'out of tree' i.e. by running
cmake . followed by
make in the parent
cdec directory, instead of using a separate
If you have followed the suggested steps 1) and 2) above, then probably the simplest way to run the tests is to copy the
cdec/test directory into your
build directory e.g. from inside
cp -r ../tests/ ./
You should then be able to run
./tests/run-system-tests.pl also from within the
Alternatively, you could start over and do an in-tree build instead.