- Msys2 ( buildtools, curl )
Notice: Lua itself uses mkdir -p
and rm -rf
in its Makefile, which needs environment supporting.
Ensure mkdir.exe rm.exe
's folder is in PATH.
build
You will see something like:
Unzipping lua-5.3.5.tar.gz ..
Ok.
Building lua-5.3.5 ..
Check version:
src/lua -v
Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio
Making target [lua-5.3.4\install -> lua] ..
Ok.
clean
Ok.
Then there will be lua/
in this folder, which contains:
bin:
lua luac lua*.dll
include:
lua.h luaconf.h lualib.h lauxlib.h lua.hpp
lib:
liblua.a
man/man1:
lua.1 luac.1
The package manager for Lua modules. Quick installation:
- download the latest release and extract it
- start a cmd.exe with administrator privileges
install /F /MW
(force cover & use mingw)- add
C:\Program Files (x86)\LuaRocks
to PATH
WTFPLv2.