AndroLua icon indicating copy to clipboard operation
AndroLua copied to clipboard

fatal error: lua.h: No such file or directory

Open k-lam opened this issue 9 years ago • 1 comments

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"

k-lam avatar May 20 '15 09:05 k-lam

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.

xingchch avatar Aug 06 '15 06:08 xingchch