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 qt.io 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
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.
git clone https://firstname.lastname@example.org/mfeemster/fractorium.git
Command line build
If you have both Qt 4 and 5 installed, select Qt 5 before compilation
cd fractorium qmake main.pro -r -spec linux-g++-64 CONFIG+=release make
Qt Creator build
main.pro in Qt Creator and build all.
cd Bin/release ./fractorium
sudo make install
sudo make uninstall
You can also compile a
.deb package to install locally. A few more tools will
sudo apt-get install bzr bzr-builddeb dh-make debhelper
package-linux.sh 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:
./package-linux.sh --binary-only --unsigned