A simple cross platform C++ template for using ImGui with Raylib. It integrate ImGui (the docking branch), using the rlImGui backend, and ImPlot With Raylib for rapid prototyping.
It uses premake5 for the build system.
- Windows
- Linux
- Make sure you have the needed software to use raylib
- For linux you may need to install the needed dependancies
- On Ubuntu :
sudo apt install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev
- Please consult the raylib Wiki for more details on your specefic platform
- Generate the solution using
generate_solution.bat
which will generate the Visual Studio 2022 solution files (.sln) using premake
- cd into the
build
folder - run
./premake5 gmake2
to generate theMakeFile
(in the root directory) - cd back to the root
- run
make
The dependecies are automatically downloaded in the build/external
directory (the latest version is downloaded)
Currently we depend on :
In order to update the dependencies, just delete the build/external
and the latest releases will be automatically donwloaded when generating the solution files (for example you need to run generate_solution.bat
in Windows). For more info check the functions check_raylib
and check_imgui
in the premake file.
- This template has been greatly inspired by raylib-quickstart