Skip to content
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

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

Open
k-lam opened this issue May 20, 2015 · 1 comment
Open

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

k-lam opened this issue May 20, 2015 · 1 comment

Comments

@k-lam
Copy link

k-lam commented May 20, 2015

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"

@xingchch
Copy link

xingchch commented Aug 6, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants