LumaShow/README.md
2024-08-15 02:11:50 -06:00

1.1 KiB

DMX Raylib

Trying to get my DMX Lightshow app working with raylib (and imgui)

Deps:

https://cmake.org/ A c++ compiler https://www.mingw-w64.org/

Cloning

Clone the repo with git:

git clone https://thisrepo.com:8080/dmxshowraylib/dmxshowraylib.git

Or you can choose the Download zip option

Then, extract / navigate to the downlaoded directory. Create a build folder:

mkdir build
cd build

Use a generator to generate the build files. (Using ninja in this example)

cmake -G "Ninja" ..

Let this run, then build the project using:

cmake --build . -- -j

(The -j flag uses all cores to build faster)

You can also build a Visual Studio solution file. This is usually the default if you don't specify a generator to cmake:

cmake ..

This should create a project .sln file you can open with Visual Studio. Then, just hit F5!

Libraries used:

https://github.com/raysan5/raylib Amazing library https://github.com/raylib-extras/rlImGui ImGui with Raylib Backend https://github.com/ocornut/imgui Little tooling