Skip to content

How to build

Nick Pope edited this page Jun 21, 2013 · 4 revisions

To get the most recent development version, clone the github git repository for dsb:

mkdir dsb
cd dsb
git clone https://github.com/dharc/dsb.git .

DSB uses cmake to configure the project build process. The recommended way to compile DSB as either Debug or Release is to create Debug and Release build directories first. In the dsb directory just created for the github clone:

mkdir Debug
cd Debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release ..

The above should be done once to configure a Debug and Release build. The actual build uses make:

cd Debug
make -j4
cd Release
make -j4

To install the compiled system:

sudo make install

DSB-IDE

The DSB-IDE follows the same procedure as for DSB itself, except DSB should be compiled and installed first before attempting to compile the IDE. The IDE requires Qt 4 (4.8) development package to be installed.

Clone this wiki locally