Get the JSON library and place json.hpp at src/lib/json.hpp
Get GLM v0.9.9.8 and copy the glm folder such that src/lib/glm/glm.hpp exists
Get ImGui and copy all the .cpp and .h files from the root folder into src/lib/imgui, and copy everything from the backends folder with opengl3 or glfw in its name to src/lib/imgui as well.
Install libglfw3/libglfw3-dev through your package manager
- download the GLFW source
- Compile and install GLFW with CMake, example for Ninja/MinGW bundled with CLion:
- add the path to your compiler to the PATH environment variable, e.g.
C:\Program Files\JetBrains\CLion 2022.3\bin\mingw\bin - now, in the glfw source folder, run
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -S . -B buildcmake --build buildcmake --install build --prefix install
- add the path to your compiler to the PATH environment variable, e.g.
- Copy the contents of the installed folder to
src/lib/GLFW
Everything should now be set up correctly.