From: Francesco M. <f18...@ya...> - 2006-05-20 10:08:49
|
Josh Turpen ha scritto: > > I see I'm not the only one having problems. In order for other binary > modules to work with wxLua, wxLua needs to link against a seperate > Lua.DLL, a DLL which the modules also link against. I know - it's the same issue described at http://lua-users.org/wiki/BuildingModules (see "Do Not Link Modules to the Lua Core Libraries"), right ? > In the current > binary release of wxLua the only way to make it work is to rebuild all > of the modules and have them link against wxLua.dll to get the lua symbols. > > Please please please add/fix the SHARED options to the build system :) Just for curiosity: how did you manage to rebuild all modules ? Hacking the makefiles ? > > > I have 3D rendering working inside a wxFrame using wxLua and IrrLua. > > http://irrlua.sourceforge.net/14.wxWindow.lua very interesting project ! Maybe we should add a "projects using wxLua" section in wxLuaWebsite... > > Unfortunately it only works with wxLua 2.4 due to the linking issues > I've described above, which this SHARED option would solve. > > Linking against the LuaBinaries would be best of all. If everybody > links against the same binaries, all of our modules will play together > without the need for a recompile somewhere. Just download the .DLL/.so > and go. I think it should be not very difficult to reach this compatibility: we just need to build luamodule against the verbatim version of lua. Francesco |