build lpmt (or lpmtX2) with openframeworks 0.9 on ubuntu

August 18, 2015 1:55 pm

Hurrai, after years the development of lpmt is actively going on. It’s time for lpmtX2 which includes some improvements like:

*loads 3D Models *(I still have depth configuration problem).
*global grid (for multiprojection calibration)

So let’s have a look how to get the things done.


There are maybe more, but the one was missing for me is librtaudio-dev.

openFrameworks/libs/openFrameworks/sound/ofRtAudioSoundStream.cpp|8|fatal error: RtAudio.h: File not found|

sudo apt-get install librtaudio-dev git build-essential

Get the things

Lpmt is based uponĀ  open frameworks. From wikipedia openFrameworks is an open source toolkit designed for “creative coding”. It is for “folks using computers for creative, artistic expression, and who would like low level access to the data inside of media in order manipulate, analyze or explore.” So first we have to get the openFramewoks. There are two possibilities for that. Download the stable-Version from the official homepage or use github. I am going to use github, because it gives me the possibility to update OF really fast.

The easiest way to compile the code is to use the Code::Blocks IDE because oF has its own project-generator, which includes a predefined workspace for the IDE. So I recommend to use it.

sudo apt-get install codeblocks

Then change with cd to directory you want to work with. Clone the oF repro, but this takes a while because its 1.4 gb.

git clone

After that we have to get the lpmtX2 in the right folder of oF. For that we change to the directory, make a new directory and clone it.

cd ./openframeworks/apps/

mkdir MyApps

cd ./MyApps

git clone

We are also missing some plug-ins for oF. Change back to the main oF directory and then get the Addons.

cd ../../../addons/

# ofxMidi/
git clone
git clone
git clone
git clone
git clone
git clone
git clone -b develop
git clone
git clone
git clone
git clone
git clone

Build it

Open Code::Blocks IDE from the application menu. Then Open the lpmtX2.workspace file in the openFrameworks/apps/myApps/lpmtX2 folder and build it from the menu or “strg+f9”.

Fix the errors

Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

is solved with

sudo apt-get remove libgtk-3-dev

Thats it.


Categorised in: ,