Registry / scripting / luabridge3

luabridge3

JSON →
library3.0-rc11vcpkgunverified

A lightweight, dependency-free, suitable for game development library for binding Lua to C++17

vcpkg install luabridge3
INSTALL
IMPORT
SIG · LUABRIDGE3
L
luabridge3
scriptingcppv3.0-rc11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LuaBridge/LuaBridge.h
#include <LuaBridge/LuaBridge.h>

Register a C++ function and call it from Lua

#include "LuaBridge/LuaBridge.h" #include <lua.hpp> int main() { lua_State* L = luaL_newstate(); luaL_openlibs(L); luabridge::getGlobalNamespace(L) .addFunction("greet", []() { return "Hello from C++!"; }); luaL_dostring(L, "print(greet())"); lua_close(L); return 0; }
Debug
Known issues
gotchaLuaBridge3 requires C++17 and a compatible Lua library (e.g., Lua 5.3+).
fix
Ensure your project uses C++17 and link against the correct Lua version.
affects: >=3.0
Upgrade
Version history
3.0-rc11latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

luabridge3 — pip install luabridge3 · libregistry