-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on startup "invalid escape sequence" when using LuaJIT #15
Comments
Interesting, this is on startup, right? |
Yes, I can't start without making the above changes.
Well I do use Windows (10), so possibly.
Lua 5.1, LuaJIT 2.0.5. |
I found this statement here (luapower/ui0#2)
looks like the problem is "just" the old luajit version |
Hmm... I was sure it was working fine with MT 5.3.0, maybe I somehow only used the official build back then... I'll try updating and rebuilding MT tommorow. |
I couldn't work out how to change LuaJIT to the latest version, but I did try compiling without LuaJIT and it worked fine, so that seems to be what is causing this error. (I compiled the stable-5 branch of Minetest with LuaJIT and it had the same problem) I also found the reason that I had LuaJIT 2.0.5 is because that is the stable version (2.1 is beta) that vcpkg installs: https://github.com/microsoft/vcpkg/blob/master/ports/luajit/CONTROL#L2 So if Minetest does require LuaJIT 2.1, then shouldn't be mentioned in the compiling section of the readme? https://github.com/minetest/minetest#a-using-vcpkg-to-install-dependencies |
I cannot find what changed to cause this, but I was able to get it to work by replacing the escapes (
\u{2007}
and\u{253c}
) on these lines with spaces:inspector/init.lua
Line 56 in dea8618
inspector/init.lua
Line 115 in dea8618
The text was updated successfully, but these errors were encountered: