Building on Linux

This guide is for building on Ubuntu 5.04 and above. Other versions and distributions are not officially supported, however the build process should still theoretically work on them as well.



sudo apt-get install git


Go to and install the latest version of the 64-bit open source version of Qt for Linux. Then run:

sudo apt-get install g++ libgl1-mesa-dev libgl-dev libglm-dev libjpeg-dev libpng16-dev libtbb-dev libxml2-dev ocl-icd-libopencl1 ocl-icd-opencl-dev opencl-headers libopenexr22 libopenexr-dev

Note that if you have an older system, and libopenexr22 is not available on it, you can use libopenexr6.

Install the OpenCL drivers and support libraries for your hardware.


For AMD get their drivers from their site, build and install a .deb package.


sudo apt-get install nvidia-352 nvidia-352-dev nvidia-libopencl1-352 nvidia-modprobe nvidia-opencl-dev nvidia-opencl-icd-352 nvidia-prime

If a version more recent than 352 is available at the time, then use that too. You can optionally check nvidia for the latest.

Obtaining source

git clone


Command line build

If you have both Qt 4 and 5 installed, select Qt 5 before compilation

export QT_SELECT=qt5


cd fractorium
qmake -r -spec linux-g++-64 CONFIG+=release

Qt Creator build

Open in Qt Creator and build all.


cd Bin/release


sudo make install


sudo make uninstall


You can also compile a .deb package to install locally. A few more tools will
be necessary:

sudo apt-get install bzr bzr-builddeb dh-make debhelper

Run in the project root. It will create ~/PPA/fractorium-VERSION as a work folder and build a signed source package.

For local use you probably want an unsigned binary package:

./ --binary-only --unsigned