Open Frityet opened 1 year ago
Fails in dlopen, which is not something cpath or path can change.
Fails in dlopen, which is not something cpath or path can change.
why is it failing? running manually works fine
its tryna dlopen
a directory, this is lua-debug
doing this, right?
Printing out the cpath
gives me this. the extension is adding these errors
/Users/frityet/Documents/Thor/lua_modules/lib/lua/5.1/?.so;/usr/local/share/lua/;/usr/local/lib/lua/;%{workspaceFolder}/?.so
the first one is correct, the next ones are not
Got it to work, but in the worst way.
package.cpath = "/Users/frityet/Documents/Thor/lua_modules/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/?.so"
this is bad, but it works, I would like a real fix
The debug seems to be ignoring what I set for path/cpath