AndroLua
AndroLua copied to clipboard
fatal error: lua.h: No such file or directory
i use android studio when i try to build(gradlew assembleRelease) failed /AndroLua/app/src/main/jni/luajava/luajava.c:40:17: fatal error: lua.h: No such file or directory #include "lua.h"
To fix this issue. you just need to install lua from source code on you platfrom . so the lua.h will add into the include file.
curl -R -O http://www.lua.org/ftp/lua-5.3.1.tar.gz tar zxf lua-5.3.1.tar.gz cd lua-5.3.1 make linux test
just read the official webpage of lua.