[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Building lua on windows
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 19 Feb 2010 10:18:55 +0200
On Thu, Feb 18, 2010 at 9:20 PM, Fabio Mascarenhas <firstname.lastname@example.org> wrote:
> To compile C modules from source you are going to need the Windows Platform
> SDK, and the process is a little involved.
A good GCC version for Windows is the TDM mingw builds:
> I added mingw support for LuaRocks, but the mingw .lib file for the version
> of MSVCRT that Lua for Windows uses is a little flaky, and some Lua
> libraries fail to compile, so using the (free as in beer) MSVC is still your
> best bet.
In particular, luafilesystem. If you build with gcc -lmsvcr80 then
some entry points are incorrectly named.
There is a hackish way to get around this, described in
(which BTW is an excellent resource)
(search for 'Using MinGW to build against LuaBinaries')
PS. Ryan has been making noises about moving Lua for Windows to a mingw platform