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
majulong opened this issue · comments
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
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)