This is a template for a OpenGL project with ImGui using GLFW, GLAD, GLM librairies.
git clone --recursive https://github.com/TheSpyGeek/ImGUITemplate.git
To install dependices :
sudo apt-get install -y build-essential cmake xorg-dev libgl1-mesa-dev libfreetype6-dev
To compile :
-
create build directory in the project's directory :
mkdir build -
In this directory run :
cmake .. -
Compile with make :
make
To compile :
- create
builddirectory in the project's directory - Run
Cmake-guiand configure the build using theMingw Makefilesoption - Run
mingw-w64ormingw-w32 - Go to project's directory then
builddirectory - Run
mingw32-make
Type ./imgui-template to run the program
