Skip to content
Norbert Pfeiler edited this page May 19, 2020 · 24 revisions

This Project uses CMake to generate its makefiles.
It is also encouraged that you use the ninja buildengine.
We use the QtCreator IDE which has support for both of the above.
For development on Windows we use msys2 where nearly all dependencies are available as official packages (QuaZIP and PythonQt are currently only packaged inhouse). There is also a CustomLibraryLocations.cmake where you can tell CMake to search for prerequisites in non-standard locations.

Step-by-Step: Setting up a Linux Build Environment

Some distributions do not provide adequate versions of KNOSSOS’ dependencies or do not provide some dependencies at all. We therefore provide step-by-step instructions based on the Arch Linux based junest mini-distribution that you can install in your home directory.

$ git clone git://github.com/fsquillace/junest
$ junest/bin/junest setup
$ junest/bin/junest
> yay -Syu --ignore sudo base-devel git ttf-dejavu qt5-python27-git

answer with n to

:: sudo is in IgnorePkg/IgnoreGroup. Install anyway? [Y/n]

then yay -S knossos or yay -S knossos-git

You need to have a libGL version installed which is compatible to the driver in your host OS (it will ask you which one to install).
For the opensource drivers of all vendors this is mesa-libgl.
For the proprietary drivers, there are different versions depending on how old your graphics cards is (AMD, NVIDIA).
You only need to install the appropriate package providing libGL and don’t have to worry about setting up the driver. But, at least for the NVIDIA driver, both the major (provided as separate packages i.e. nvidia-340xx-libgl), minor or even patch (361.45.18) release numbers are important so you may have to use the program downgrade to find an older version.