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
build
directory in the project's directory - Run
Cmake-gui
and configure the build using theMingw Makefiles
option - Run
mingw-w64
ormingw-w32
- Go to project's directory then
build
directory - Run
mingw32-make
Type ./imgui-template
to run the program