lua-users home
lua-l archive

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


Hi,

I dont know what is xmake and I dont use Luarocks but I made a subfolder to my Lua2SC project in order to compile LuaSocket with cmake and mingw-w64: https://github.com/sonoro1234/Lua2SC/tree/master/luasocket_cmake

On January 13, 2021 at 3:23 PM Pierre Chapuis <catwell@archlinux.us> wrote:

On Tue, Jan 12, 2021, at 16:26, Russell Haley wrote:
http://winlua.net

That's precisely why I created WinLua, it contains Lua, LuaRocks and the LLVM-Mingw compiler. The LLD linker has a gotcha (doesn't link to DLLs, only static or *.lib files), and I am currently working on the debugger machine interface. However, Lua, LuaRocks and the compiler all work well together. I have included GNU make as well as xmake (lua based build system) and  regularly use it. Give it a spin and let me know what you think!

I installed it and installed odbc with LuaRocks, it worked.

I tried to install LuaSocket but it failed. Apparently it is due to to an incompatibility between LuaSocket and MinGW-GCC. See  https://gist.github.com/catwell/44bc95ca61c2c5529dedb162f22e47b6

Do you have an example project using xmake with it?

-- 
Pierre Chapuis