• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

macOS compiling lua error

Noupz

New Member
Joined
Jul 13, 2010
Messages
126
Reaction score
1
Error:
/Users/hsinhori/Library/Mobile Documents/com~apple~CloudDocs/Desktop/otclient/src/framework/luaengine/lbitlib.cpp:36:10: fatal error: 'lua.h' file not found


#include <lua.h>


^~~~~~~


1 error generated.


make[2]: *** [CMakeFiles/otclient.dir/src/framework/luaengine/lbitlib.cpp.o] Error 1


make[2]: *** Waiting for unfinished jobs....


/Users/hsinhori/Library/Mobile Documents/com~apple~CloudDocs/Desktop/otclient/src/framework/luaengine/luainterface.cpp:27:10: fatal error: 'lua.hpp' file not found


#include <lua.hpp>


^~~~~~~~~


1 error generated.


make[2]: *** [CMakeFiles/otclient.dir/src/framework/luaengine/luainterface.cpp.o] Error 1


make[1]: *** [CMakeFiles/otclient.dir/all] Error 2


make: *** [all] Error 2

I followed the compiling guide of edubart, everything was fine until
make -j$(sysctl -n hw.ncpu)
I'm on Ventura 13.6 (22G120)
 
Back
Top