Closed WilliamB17 closed 8 months ago
I having the same issue trying to compile.
I just cloned the repo and run make
.
Seems issue is with LuaJit MACOSX_DEPLOYMENT_TARGET https://github.com/LuaJIT/LuaJIT/issues/538
you can try to replace the "luajit" directory to new version luajit: https://github.com/LuaJIT/LuaJIT, and run make again(old luajit may have some problems in osx 10.15).
When you make, you may meet this problem:
error: array has incomplete element type 'const struct luaL_reg'
then you can solve it by adding following line in src/script.c to solve the problem:
then make it again.