Building on Debian Jessie
by Brian Allen Vanderburg II
I have successfully built the latest devel branch on Debian Jessie x64.
I did run into a small problem, so these are the steps I used:
Installed updated boost (also make sure other deps are installed as needed):
sudo apt-get install libboost1.55-all-dev
Created a new build directory:
cd /path/to/checkout
mkdir build-devel
cd build-devel
Prepared the build. This is the tricky part. It seems that libboost
installs the library files in a multi-arch location on Jessie instead of
the accustomed /usr/lib. This means the boost libraries are installed
to /usr/lib/x86_64-linux-gnu. The default FindBoost module seems to
expect it in /usr/lib, and needs to be convinced to search in the
correct location:
cmake -DCMAKE_INSTALL_PREFIX=$PWD/install
-DBOOST_LIBRARYDIR=/usr/lib/x86_64-linux-gnu ../tsc
I get a warning about cegui-0.7 target not being found, but it generates
the build files anyway. Afterward I build. On a multi-core system I
use -j to compile multiple files at once. Reduces total compile time
form ~12 minutes to ~2 minutes:
make -j6
make install
Tested that it runs:
cd install
bin/tsc
Side note:
I'm currently working now and have to drive a bit to get to work and
back. So I don't have much time to work on my personal projects during
the week now. Maybe I'll move closer to work eventually and get some of
that time back.
Brian Allen Vanderburg II