I'm using VS Code under Windows 11 and under Linux Kubuntu 22.04. I have a simple Lua program that I compile under Win'11 by choosing Lua version 5.1 and Jit with no issues. Under Linux the same program compiles with Lua version 5.1 but it doesn't with Lua Jit. I get this error:
/home/leo/.vscode/extensions/actboy168.lua-debug-1.60.0-linux-x64/runtime/linux-x64/luajit/lua -e dofile\"/home/leo/.vscode/extensions/actboy168.lua-debug-1.60.0-linux-x64/script/launch.lua\"\;DBG\"2289\" /home/leo/OneDrive_leo/Lua/test/src/main.lua /home/leo/.vscode/extensions/actboy168.lua-debug-1.60.0-linux-x64/runtime/linux-x64/luajit/lua: (debugger.lua):133: /home/leo/.vscode/extensions/actboy168.lua-debug-1.60.0-linux-x64/runtime/linux-x64/luajit/remotedebug.so: undefined symbol: lua_checkstackstack traceback:[C]: in function 'assert'(debugger.lua):133: in function 'initDebugger'(debugger.lua):154: in function 'start'...s/actboy168.lua-debug-1.60.0-linux-x64/script/launch.lua:29: in function 'f'(debugger.lua):205: in function 'DBG'(command line):1: in main chunk[C]: at 0x55c285c6ab70
I did no change in the environment, just installed the extension.
I'm using VS Code under Windows 11 and under Linux Kubuntu 22.04. I have a simple Lua program that I compile under Win'11 by choosing Lua version 5.1 and Jit with no issues. Under Linux the same program compiles with Lua version 5.1 but it doesn't with Lua Jit. I get this error:
/home/leo/.vscode/extensions/actboy168.lua-debug-1.60.0-linux-x64/runtime/linux-x64/luajit/lua -e dofile\"/home/leo/.vscode/extensions/actboy168.lua-debug-1.60.0-linux-x64/script/launch.lua\"\;DBG\"2289\" /home/leo/OneDrive_leo/Lua/test/src/main.lua /home/leo/.vscode/extensions/actboy168.lua-debug-1.60.0-linux-x64/runtime/linux-x64/luajit/lua: (debugger.lua):133: /home/leo/.vscode/extensions/actboy168.lua-debug-1.60.0-linux-x64/runtime/linux-x64/luajit/remotedebug.so: undefined symbol: lua_checkstack
stack traceback:
[C]: in function 'assert'
(debugger.lua):133: in function 'initDebugger'
(debugger.lua):154: in function 'start'
...s/actboy168.lua-debug-1.60.0-linux-x64/script/launch.lua:29: in function 'f'
(debugger.lua):205: in function 'DBG'
(command line):1: in main chunk
[C]: at 0x55c285c6ab70
I did no change in the environment, just installed the extension.