[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: problem embedding LuaJIT
- From: Oskar Forsslund <matrixsmurfen@...>
- Date: Mon, 3 Oct 2011 14:15:57 +0200
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
On Mon, Oct 3, 2011 at 11:39 AM, Oskar Forsslund <firstname.lastname@example.org>
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 <email@example.com>
It should. The advice is to get Dependency Walker (a free download
On Mon, Oct 3, 2011 at 10:13 AM, Oskar Forsslund
> michael: shouldn't the dll being in the same folder as the exe take care of
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?