Welcome to the installation!
Contents
- Requirements
- Installation of the commandline interface
- Installation of the Qt GUI
- Debugging
You will need the following libraries, headers and tools:
- g++>=4.8 or clang>=3.3 (clang is suggested)
- C++ 4.8 or higher
- boost
- cmake
- Qt (if you want to build the GUI)
In this directory, type:
mkdir build
cd build
cmake .. # TODO: describe help about SCA_DEBUG, -Wall, -g
make # we suggest make -j<n>, where n is the number of CPU cores
If you get boost compile errors now, try to disable boost::graph:
cmake -DNO_BOOST_GRAPH=1 ..
make
The gui is built directly with the other tools, if you have Qt installed.
The sca toosuite gives you debug output exactly if both of the following conditions apply:
- you compiled with
-DSCA_DEBUG
(see (1) of this file) - you set
SCA_DEBUG=1
(or any other integer) in your shell
For the second condition, you can do either
SCA_DEBUG=1 ./path/program
export SCA_DEBUG=1; ./path/program
Debug output is always sent to stdout, so it does not affect pipelining.