/luajitImGui

Luajit + ImGui: Windows binary project using anima project

Primary LanguageLuaMIT LicenseMIT

LuaJITImGui


  • LuaJIT + ImGui : The binaries project on Windows OS using anima project
    Differencies from anima project are as follows,
    1. Added compilation option for IME (Imput method)

      -DIMGUI_ENABLE_WIN32_DEFAULT_IME_FUNCTIONS
    2. Added compilation option for ImPlot

      -DImDrawIdx="unsigned int"
    3. Included newer Font Awesome Icon fonts.

    4. Added *.bat files to easily execute example programs.

    5. Added luajitw.exe to hide console window.

    6. Added simple examples like ImGuin / ImGuinZ project.

  • Support OS: Windows10 or later

ImGui / CImGui Version


  • ImGui v1.91.1dock (2024/09)

Examples


glfw_opengl3_simple

glfw_opengl3

glfw_opengl3_implot
See more example: implot_sample.lua

glfw_opengl3_jp

sdl2_opengl3

This sample is attached by anima project. You can execute this sample using ImGuizmo_sample.bat in bin/examples/LuaJIT-ImGui/examples folder.

ImGuizmo_sample

This sample is attached by anima project. You can execute this sample using imnodes_graph_sample.bat in bin/examples/LuaJIT-ImGui/examples folder.

imnodes_graph_sample

This sample is attached by anima project. You can execute this sample,

pwd
luajitImGui-1.91.0.0
cd bin/examples
../luajit.exe delaunay_particles.lua

delaunay_particles

Download Zip binary

Running examples


First on WindowsOS extract zip file downloaded then
for instance,

cd luajitImGui-1.91.0.0
cd examples/glfw_opengl3
glfw_opengl3.exe         # Double click on Windows file explore

Other examples


Refer to nice exmaples: bin/examples

Build binaries from source


  • Prerequisites

    • Gcc.exe (Rev1, Built by MSYS2 project) 14.2.0)
    • (Clang 18.1.8 (Current compiler))
    • (Microsoft Visual Studio 2019 C/C++)
    • CMake version 3.30.3
    • Git version 2.46.0.windows.1
    • Make: GNU Make 4.4.1
    • MSys/MinGW tools
    • Libraries: openMP ? etc
  • Build

    git clone --recurse-submodules https://github.com/dinau/luajitImGui
    cd luajitImGui
    make

History


  • WindowsOS 64bit versions
    • Updated to
      • 2024/09: ImGui v1.91.1 / LuaJITImGui v1.91.1.0
      • 2024/09: ImGui v1.91.0 / LuaJITImGui v1.91.0.3
  • WindowsOS 32bit versions
    • Updated to
      • 2024/08: ImGui v1.91.0 / LuaJITImGui v1.91.0.2 last version
      • 2024/07: ImGui v1.90.9
      • 2024/06: ImGui v1.90.8
      • 2024/05: ImGui v1.90.7
      • 2024/05: ImGui v1.90.6
      • 2024/03: ImGui v1.90.4
      • 2024/02: Added: Button "Save window image" and combo box,
        it can be saved as JPEG, PNG, TIFF, BMP file format
      • 2024/01: Added: Icon font demo

Similar project


Language Project
Nim ImGuin, Nimgl_test, Nim_implot
Lua LuaJITImGui
Python DearPyGui for 32bit WindowsOS Binary
Zig, C lang. Dear_Bindings_Build
Zig ImGuinZ