From: Francesco M. <f18...@ya...> - 2006-05-20 21:58:06
|
Hi, I did various changes and now using SHARED=1 option wxLua compiles smoothly as a dll also on windows. Nonetheless, there are two problems: 1) the wx.dll which is created by MSVC, generates the following error when used through luamodule.wx.lua sample: "Cannot find a required procedure" (the message is localized so I'm translating it)... maybe that's because wx.dll is a dll which in reality does not contain any code apart from wxLua\modules\luamodule\src\luamodule.cpp (it's just 34K IIRC) ? Nonetheless it should force lua to import all other DLLs from which it depends (wxlua* and wx* ones)... Unfortunately I've upgraded to latest Mingw which gives an internal error when compiling wx_bind.cpp and borland is giving me strange errors about wxLUA_DECLARE_ENCAPSULATION so I can't verify if this happens also with other win32 compilers... 2) setting the #define wxLuaDebugServer to 1 in wxluasetup.h generates a dependency of wxbind module to the wxluasocket (and thus also to wxluadebug) module. Is this a good thing to do ? Shouldn't we keep all wxLuaDebugServer stuff in the wxluasocket module? Thanks, Francesco |