[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] LuaJIT-2.0.0-beta1
- From: Mike Pall <mikelu-0911@...>
- Date: Tue, 3 Nov 2009 00:05:56 +0100
YangFan wrote:
> Hi, Mike Pall
>
> LuaJIT 2.0 requires iuplua failed with the error messages shown below:
>
> -- LuaJIT 2.0.0-beta1 -- Copyright (C) 2005-2009 Mike Pall. http://luajit.org/
> -- JIT: ON CMOV SSE2 fold cse dce fwd dse narrow loop fuse
> -- > require "iuplua"
> -- attempt to call a nil value
> -- stack traceback:
> -- [C]: ?
> -- [C]: in function 'require'
> -- stdin:1: in main chunk
> -- [C]: ?
The IUP binaries (esp. imlua51.dll) apparently include hardcoded,
bytecode-compiled Lua files. And they do not properly check for
returned errors from luaL_loadbuffer().
So what happens is that (obviously) loading the bytecode fails
(it's incompatible), the errors get ignored and the initialization
of the library fails with the above message.
Solution: file a bug against IUP.
--Mike