lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I have created a useful utility using Lua and the IUP GUI library that I want to share with my co-workers.

But I cannot expect them to install the Lua interpreter just for this tool. That's why I was looking for ways to build a
fat single executable.

I have tried everything: 

I tried 
luapak from https://github.com/jirutka/luapak
luastatic from https://github.com/ers35/luastatic
using 
the lua-distros from 
Luarocks: https://luarocks.org/
Luadist: http://luadist.org/
Luapower: https://luapower.com/

As a last resort I am trying srlua from
http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/#srlua 
But the Makefile is for Linux and Darwin only, I have tried to compile with Cygwin-Mingw,Gnuwin32-Mingw, TDM-GCC and had no success, although it was reported here:
http://lua-users.org/lists/lua-l/2011-05/msg00379.html
that it would work. 

I am looking for a step-by-step guide how to compile a Lua script into a Single executable binary in Windows 10.

Can please somebody walk me through it? I feel really stupid although I am a developer w/ 20 years experience (but new to Lua, though).

Regards
Stefan
Germany