DPE - Setup under Linux

How to setup The Dreaded Portal Engine under Linux

First of all we create a seperate directory and get the latest source code.

~$ mkdir ~/dpe
~$ cd ~dpe
~/dpe$ svn co https://subversion.assembla.com/svn/horror-flash-thing/
~/dpe$ cd trunk

Next we need to get all the dependencies. In our case we need to get the following:

Assimp:

This package is available under Ubuntu so we can get it with:

sudo apt-get install libassimp-dev libassimp3

If this package is not available then you might need to download and install it yourself (http://assimp.sourceforge.net/). Make sure you get at least 3.1, otherwise some animations might not work.

Glew:

This package should be available on most Linux distributions. Under Ubunty you get it with:

sudo apt-get install libglew-dev

The engine is tested with version 1.8.0.

GLFW:

Make sure to get version 3 of this package, version 2 is no longer supported by my engine. The engine is tested with version 3.2.1.

sudo apt-get install libglfw3 libglfw3-dev

GLM:

My Ubuntu distribution only offers an older version of GLM so I had to download the latest version myself from http://glm.g-truc.net/0.9.8/index.html. The version the engine is tested against is 0.9.8.4. If you download it yourself then make sure to update the CMakeFile.txt to reflect its position. If your distribution provides a more recent version then this is not necessary.

Compiling:

After installing all dependencies create a build directory and initialise the cmake building environment:

~/dpe/trunk$ mkdir build
~/dpe/trunk/build$ cmake ..

Next we can start compiling:

~/dpe/trunk/build$ make

Demos:

After the compilation is done we can test the engine by running the demos in the bin folder:

~/dpe/trunk/build$ cd ..
~/dpe/trunk/./bin/boilerplate

If you have any issues feel free to contact me!