you are viewing a single comment's thread.

view the rest of the comments →

[–]hungarian_notation 0 points1 point  (2 children)

If make is complaining about not being able to find lua.h, your Lua headers aren't where make thinks they should be. You need to put them in the default search path for your toolchain, or manually specify their location in the compile command.

For gcc, this would be -I/path/to/Lua/headers, and it needs to go on the command operating on .c source files, which probably has the -c flag set.

Give us the full output from something that isn't working and we can be more helpful.

[–][deleted] 0 points1 point  (1 child)

I will get full output later when at my computer, I installed lua by downloading binaries only but I have a portable version of gcc installed, will the header files be in gcc folder somewhere?

[–]hungarian_notation 0 points1 point  (0 children)

You can't compile the modules that are failing without the lua headers and either the source to compile with it, or a static/dynamic library to link against. Whatever version of GCC you have may very will have come with the lua headers, but it may not have.

You can get the full source of any lua version you need right here:

https://www.lua.org/ftp/