dinau/dear_bindings_build
ImGui: Simple dear_bindings build project
This project aims to simply and easily build Dear ImGui examples with C language and Zig language using Dear_Bindings as first step.
DearBindings: dear_bindings_v0.17_ImGui_v1.92.2b-docking
Dear ImGui version 1.92.2b (2025/08)
No download external libraries
Included Dear_Bindings / Dear ImGui / GLFW / SDL3 / STB_image libraries in this project
Included IconFont FontAwewsome 6
Image load/save example
Library name / C lang. wrapper
ImGui / Dear_Bindings
ImGui-Knobs / CImGui-Knobs (2025/07)
ImGuiFileDialog / CImGuiFileDialog (2025/07)
ImGui_Toggle / CimGui_Toggle (2025/07)
ImSpinner / CImSpinner (2025/07)
ImGuiColorTextEdit / cimCTE (2025/08)
ImGuizmo / CImGuizmo (2025/08)
ImNodes / CImNodes (2025/08)
ImPlot / CImPlot (2025/08)
ImPlot3d / CImPlot3d (2025/08)
ImGui_Markdown (2025/09 WIP)
Windows10 OS or later
MSys/MinGW basic commands (make, rm, cp ...)
pacman -S make mingw-w64-x86_64-{gcc,vulkan-headers,vulkan-loader}
Vulkan version: 1.4.321.0-1
Linux OS: Debian13 / Ubunts families
sudo apt install make gcc lib{opengl-dev,gl1-mesa-dev,glfw3,glfw3-dev}
sudo apt install libvulkan1 mesa-vulkan-drivers vulkan-utils
SDL3
If you are using Debian13, add
sudo apt install libsdl3-dev
otherwise install SDL3 manually
GCC (or Clang or 'Zig cc' compiler)
Install Zig Compiler
Windows: zig-x86_64-windows-0.15.1.zip
Linux: zig-x86_64-linux-0.15.1.tar.xz
GCC compiler
example | Windows | Linux |
---|---|---|
glfw_* | v | - |
sdl3_* | v | - |
Zig compiler
Example | Windows | Linux |
---|---|---|
zig_* | v | v |
zig_sdl3_vulkan | v | ? |
git clone https://github.com/dinau/dear_bindings_build
cd dear_bindings_build/examples/glfw_opengl3
make run
Work in progress
Incremantal search
Magnifing glass
zig_imPlotDemo written in Zig.
Language | GLFW | Magnifing glass | Image load /save |
---|---|---|---|
C lang. | glfw_opengl3_image_load | - | v |
C lang. | glfw_opengl3_image_save | - | v |
Zig lang. | zig_glfw_opengl3_image_load | v | v |
Zig lang. | zig_sdl3_sdlgup3 | - | load |
Image file captured will be saved in current folder.
Image format can be selected from JPEG / PNG / BMP / TGA
.
Basic example
Language | GLFW | SDL3 |
---|---|---|
C lang. | glfw_opengl3, glfw_opengl3_jp | sdl3_opengl3 |
Zig lang. | zig_glfw_opengl3 | zig_sdl3_opengl3 |
Zig lang. examples
Open build.zig
in each example folder and enable option line as follows,
... snip ...
exe.subsystem = .Windows; // Hide console window
... snip ...
and execute make
.
C lang. examples
Open Makefile
in each example folder and change option as follows,
... snip ...
HIDE_CONSOLE_WINDOW = true
... snip ...
and execute make
.
https://github.com/libsdl-org/SDL
https://github.com/libsdl-org/SDL/releases
Language | Project | |
---|---|---|
Lua | Script | LuaJITImGui |
NeLua | Compiler | NeLuaImGui |
Nim | Compiler | ImGuin, Nimgl_test, Nim_implot |
Python | Script | DearPyGui for 32bit WindowsOS Binary |
Ruby | Script | igRuby_Examples |
Zig, C lang. | Compiler | Dear_Bindings_Build |
Zig | Compiler | ImGuinZ |
Language | SDL | Project | |
---|---|---|---|
LuaJIT | Script | SDL2 | LuaJIT-Platformer |
Nelua | Compiler | SDL2 | NeLua-Platformer |
Nim | Compiler | SDL3 / SDL2 | Nim-Platformer-sdl2/ Nim-Platformer-sdl3 |
Ruby | Script | SDL3 | Ruby-Platformer |
Zig | Compiler | SDL3 / SDL2 | Zig-Platformer |