lua-users home
lua-l archive

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

Hi Ivan,

The focus for LfW is running scripts more than developing libs, so LfW
uses Lua Binaries for Windows straight out of LuaForge. The hope is
that future versions of LfW will build off of LuaRocks 2.0 so that
switching to debug dlls would be an option.

As for wxLua & OpenGL, might connect with wxLua developer.

Andrew Wilson

On Mon, Oct 19, 2009 at 5:52 AM, Ivan Kolev <> wrote:
> Hi,
> Are there any examples of using wxLua with OpenGL? Because I can't make it
> work for some reason.
> I use Lua for Windows 5.1.4-28 (to make things much easier). There's an
> OpenGL example with IUP, but not with wxLua.
> I copied the minimal wxLua example and added the code from wx's cube
> example. The result is here:
> What happens is that the application freezes right after frame:Show(true),
> without calling any of the event handlers I've connected. An empty window
> appears, but I can't even move it, I can only kill the process.
> By attaching a debugger to the process I see that there seems to be an
> endless recursion (though this should cause a crash, not just freezing),
> because the stack is quite long and there are alternating calls inside the
> OpenGL driver, wx DLLs and Windows DLLs.
> Which leads me to another question - wouldn't it be a good idea to provide a
> debug version of Lua for Windows (along with PDBs)? It would help in such
> cases when we need to get "under the hood" to understand what's happening.
> Thanks,
> Ivan