From 9d58fa7f6f696d237c9f71f92c775d7b632c6516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fou=C3=A9?= Date: Sun, 4 Jan 2026 19:14:25 +0100 Subject: [PATCH] Actualiser Lua installation on windows --- Lua-installation-on-windows.md | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/Lua-installation-on-windows.md b/Lua-installation-on-windows.md index a761bbe..d18d4da 100644 --- a/Lua-installation-on-windows.md +++ b/Lua-installation-on-windows.md @@ -1,4 +1,12 @@ -# msys2 +# Install Lua on windows + +There are two methods, one is (almost) automatic, and the other is more manual. + +# "automatic" install + +# "manual" install + +## msys2 Install [msys2](https://www.msys2.org/) app. @@ -10,7 +18,7 @@ add msys path in the environment `C:\msys64\ucrt64\bin` -# lua +## lua copy lua somewhere @@ -26,15 +34,17 @@ compile it copy the files in lua dir (here `C:\lua`) -`cp src/*.exe src/*.dll /c/lua/` - -`cp -v src/lapi.h src/lauxlib.h src/lua.h src/luaconf.h src/lualib.h ../include/` +``` +mkdir /c/lua/include +cp src/*.exe src/*.dll /c/lua/` +cp -v src/lapi.h src/lauxlib.h src/lua.h src/luaconf.h src/lualib.h /c/lua/include/ +``` add lua path in the env `C:\lua` -# Luarocks +## Luarocks download luarocks from [github](https://github.com/luarocks/luarocks/archive/refs/tags/v3.12.2.zip)