Skip to content
Sebastian Wendel edited this page Apr 22, 2014 · 6 revisions

These instructions were based on a relatively fresh install of Mint 14.

Install prerequisite software:

The following are needed to download the code:

sudo apt-get install git

The following are needed to get cmake to finish:

sudo apt-get install cmake gcc build-essential libjack-jackd2-dev python libqt4-dev libavcodec-dev
sudo apt-get install ffmpeg libswscale-dev freeglut3-dev libasound2-dev libncurses5-dev yasm python-dev
sudo apt-get install cython libxmu-dev libxi-dev

The following are needed to allow everything to compile.. hmm looks like the cmake scripts should be updated to look for these dependencies:

sudo apt-get install libavformat-dev libavdevice-dev

On Debian Wheezy you may need to install the additional libhersheyfont-dev package. But the problem is that it's only available in future releases, so you have to add the testing repository. To prevent a total package version and dependencie messup you need to add this apt config or pin the package.

echo 'deb http://ftp.debian.org/debian/ testing main contrib'| sudo tee -a /etc/apt/sources.list
echo 'APT::Default-Release "wheezy";' | sudo tee -a /etc/apt/apt.conf
sudo aptitude update
sudo aptitude install libhersheyfont-dev

Download:

cd ~/Desktop

git clone <open lase url or fork of choice>

For marcan's repo: git clone https://github.com/marcan/openlase.git

Compile:

cd openlase

mkdir build && cd build

cmake ..

Scroll through the cmake output and make sure it found everything it was looking for. Once verified run the following.:

make

You should once again scroll through the output to verify everything built.

Clone this wiki locally