From: Victor B. <so...@te...> - 2012-09-17 18:25:15
|
Hi Paul, Thank you for your reply. I think this is not the same case.My problem is that lualanes creates a completely new lua_State running in a separate thread and a call to require on wx returns lua_getglobal(L, "wx"); which is nil in that new lua_State. The other part in luaopen_wx is not called because s_wxlState is a static wxLuaState so !s_wxlState.Ok() fails because is was inited in a pevious lane (lua_State) So I can require it any lane I want but only on one. The strange other problems I had seem to be a lualanes issue which I solved as I explained in my last email. And I am still not being able to compile with SHARED=0. Best Regards Victor Bombi |