Lua with Sol2 for openFrameworks
- Lua version: currently using LuaJIT 2.1 binary, but you can use Lua v5.4.7 (included sources)
- WARNING: Currently containing LuaJIT win_x64/mac_x64/mac_arm64/linux_x64 binaries, but not other platforms.
- Sol2 version: currently using v3.5.0
- Tested with oF 0.12.0 (win_x64/mac_arm64/linux_x64)
- cmath (common ones), ofMath.h
- ofGraphics.h
- ofPrimitives.h
- of3DGraphics.h
- ofLog.h
- Default values of methods are not treated perfectly now. So you may need
ofSetColor(r, g, b, a)instead ofofSetColor(r, g, b).
See tools/bindgen/README.md for detail.
$ cd tools/bindgen
# $ pip install uv # only first time
# $ uv sync # only first time
$ uv run main.py -of ../../../../ ../../../../libs/openFrameworks/ofMain.h
$ cp of_generated.cpp ../../src/generated- lua: MIT License
- LuaJIT: MIT License
- sol2: MIT License
- ofxSol2Lua: Apache License 2.0 and/or MIT License