You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
When requiring "compat53" module when LuaJIT is used, I get a curious error.
Output:
$ ./build/Debug/sol_compat53[sol2] An error occurred and has been passed to an error handler: sol: runtime error: /usr/local/share/lua/5.1/compat53/init.lua:1: attempt to index global '_VERSION' (a string value)stack traceback: /usr/local/share/lua/5.1/compat53/init.lua:1: in main chunk [C]: in function 'require' [string "..."]:2: in main chunkterminate called after throwing an instance of 'sol::error' what(): sol: runtime error: /usr/local/share/lua/5.1/compat53/init.lua:1: attempt to index global '_VERSION' (a string value)stack traceback: /usr/local/share/lua/5.1/compat53/init.lua:1: in main chunk [C]: in function 'require' [string "..."]:2: in main chunk[1] 255547 abort (core dumped) ./build/Debug/sol_compat53
Versions:
Problem:
When requiring "compat53" module when LuaJIT is used, I get a curious error.
Output:
Source:
sol_compat53.cpp:
Here is the line that fails...
Compile-Command:
If I add a print statement above the require:
I get the expected "Lua 5.1".
I feel like I'm missing something substantial, but I'm at a loss.
The text was updated successfully, but these errors were encountered: