Skip to content

A C++ template integrating ImGui and ImPlot with Raylib using rlImGui

License

Notifications You must be signed in to change notification settings

KamelOtmani/raylib_ImGui_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raylib-ImGui template

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.

Default Example app It uses premake5 for the build system.

Supported Platforms

  • Windows
  • Linux

Build

  • 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

Windows : Visual Studio 2022

  • Generate the solution using generate_solution.bat which will generate the Visual Studio 2022 solution files (.sln) using premake

Linux : GNU Make

  • cd into the build folder
  • run ./premake5 gmake2 to generate the MakeFile (in the root directory)
  • cd back to the root
  • run make

Dependencies

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.

Note

About

A C++ template integrating ImGui and ImPlot with Raylib using rlImGui

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published