git clone --recursive https://github.com/quazuo/grafika-mimuw
cd grafika-mimuw
cmake -B build
cmake --build buildIf all goes well, these steps should be enough. However, there might be some errors due to missing packages:
-
Failed to find wayland-scannerIn case of this error, please refer to the glfw compilation guide. On most distributions of Linux this should be enough:
sudo apt install libwayland-dev libxkbcommon-dev xorg-dev
Running the above steps generates all executables inside the build directory. For example, to run 1-window:
Linux:
cd build
./1_windowWindows:
cd build
./1_window.exeAs of writing these steps, running these programs from the build directory is essential (except for 1-window). Programs that use shaders read them at runtime from specific relative paths which break when running the programs from other directories.