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

sudo make cc -c -O3 -Wall -pedantic -DNDEBUG -I/usr/local/include -fpic -o lua_cjson.o lua_cjson.c lua_cjson.c:43:10: fatal error: lua.h: No such file or directory #include <lua.h> ^~~~~~~ compilation terminated. Makefile:90: recipe for target 'lua_cjson.o' failed make: *** [lua_cjson.o] Error 1 #65

Open
majulong opened this issue Feb 28, 2019 · 2 comments

Comments

@majulong
Copy link

No description provided.

@majulong
Copy link
Author

sudo make

cc -c -O3 -Wall -pedantic -DNDEBUG -I/usr/local/include -fpic -o lua_cjson.o lua_cjson.c
lua_cjson.c:43:10: fatal error: lua.h: No such file or directory
#include <lua.h>
^~~~~~~
compilation terminated.
Makefile:90: recipe for target 'lua_cjson.o' failed
make: *** [lua_cjson.o] Error 1

doesn't have lua.h in the program

@CpuID
Copy link

CpuID commented Jun 4, 2019

You will likely need a lua installation + dev package/s installed before building?

Example for Alpine Linux: https://pkgs.alpinelinux.org/contents?file=lua.h&path=&name=&branch=v3.9&arch=x86_64

(will differ by OS)

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