So, I got file "lfs.c" "lfs.h" "lfs.def" and ".gitignore". I tried installing MinGW and typing in that command: gcc lfs.c
(Keep in mind that I'm a total newbie in such things), which leaves me with error "failed to include lua.h"... I don't know how to do that, can anyone please explain to me how to do that? Or at least give me the link to already compiled lfs.dll?
Asked
Active
Viewed 1,860 times
2

Vadim Kotov
- 8,084
- 8
- 48
- 62

user3426112
- 401
- 1
- 3
- 11
-
Compiling is more than just calling `gcc`. Check if LFS contains a `configure` script, and if it does, run it, then run `make`. Also, you need to add the headers and libraries for Lua to the appropriate places. – Colonel Thirty Two Oct 25 '14 at 14:34
1 Answers
2
You are likely to be missing Lua include files; see this SO answer for details on how to set it up.
Simply getting lfs.dll may not be so easy as different DLLs may depends on different Lua DLLs on Windows. I have lfs.dll that is compiled against Lua51.dll, so if this works for your project/needs, you can get a compiled version here.

Paul Kulchenko
- 25,884
- 3
- 38
- 56