[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua For Windows v5.1.3.12 released
- From: "steve donovan" <steve.j.donovan@...>
- Date: Wed, 9 Jul 2008 10:50:09 +0200
On Wed, Jul 9, 2008 at 8:58 AM, Sebastien Loisel <loisel@temple.edu> wrote:
>>lua -e "io.stdout:setvbuf 'no'" "gtk.lua"
> lua: gtk.lua:1: module 'luarocks.require' not found:
> no field package.preload['luarocks.require']
> no file '.\luarocks\require.lua'
The first observation is that this example needs LuaRocks, which isn't
part of LfW. You can remove this line, alien is on the Lua path.
However, a more serious problem is that it's a specifically Unix
example. If you had GTK for Windows, then it would work if that
'/usr/lib' path was replaced with the actual path to the GTK DLL.
Although cool, this example really should be taken out of LfW.
life.lua will only work properly in a Command Prompt. lua.exe is on
the path so typing 'lua life.lua' should work if you open a box in
that directory.
As for LuaJIT - well, it's definitely part of the plan for the next release!
steve d.