[tsc-devel] Building on Debian Jessie

Brian Allen Vanderburg II | Sun, 02 Aug 2015 14:25:43 UTC

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

By Thread
2015-08-02 14:25:43Brian Allen Vanderburg II[tsc-devel] Building on Debian Jessie
2015-08-02 19:12:13QuintusRe: [tsc-devel] Building on Debian Jessie
By Date
[tsc-devel] Building on Debian JessieBrian Allen Vanderburg II2015-08-02 14:25:43
Re: [tsc-devel] Building on Debian JessieQuintus2015-08-02 19:12:13