[SOLVED]
i finally got som proper erro handling working in lua and got the error
message:
'bad FPU precision (use D3DCREATE_FPU_PRESERVE with DirectX)'
i set the flag everywhere i used direct x and now it works!
as stated before, this problem somehow crashed luajit when trying to
call luaL_openlibs
/Oskar
On Mon, Oct 3, 2011 at 11:39 AM, Oskar Forsslund
<matrixsmurfen@googlemail.com <mailto:matrixsmurfen@googlemail.com>> wrote:
the problem occurs when i cal luaL_openlibs(L) (directrly after
calling lua_State *L = luaL_newstate())
using dependency walker i noticed that the lua51.dll link checksum
is 0x00000 and real checksum is 0x04E0DA
is this a problem indicator?
On Mon, Oct 3, 2011 at 10:18 AM, steve donovan
<steve.j.donovan@gmail.com <mailto:steve.j.donovan@gmail.com>> wrote:
On Mon, Oct 3, 2011 at 10:13 AM, Oskar Forsslund
<matrixsmurfen@googlemail.com
<mailto:matrixsmurfen@googlemail.com>> wrote:
> michael: shouldn't the dll being in the same folder as the
exe take care of
> that?
It should. The advice is to get Dependency Walker (a free download
from MS) to see what DLLs your application is seeing.
More general advice: check your return codes carefully! You need to
know how far you've got; can you create a Lua_state? Can you
lua_pcall
a simple function? If not, what is the error pushed by that?
steve d.