Start by cloning the program and all submodules using the following command:
git clone --recursive https://github.com/linusmossberg/fluid-simulator
Build files can then be generated with CMake using:
cd fluid-simulator
mkdir build
cd build
cmake ..
These should work automatically, but a few additional packages are required on certain platforms. On Debian/Ubuntu, these can be installed using:
apt-get install xorg-dev libglu1-mesa-dev
and on RedHat/Fedora:
sudo dnf install mesa-libGLU-devel libXi-devel libXcursor-devel libXinerama-devel libXrandr-devel xorg-x11-server-devel