|
From: Francesco M. <f18...@ya...> - 2006-12-20 18:52:30
|
John Labenski ha scritto: > On 12/19/06, Francesco Montorsi <f18...@ya...> wrote: >>> If you just copy wxlua_mswXXX_lua.lib to lua5.1.lib the luamodue works. >> I was aware - it should be fixed now as our lua library is now named >> lua5.1 and creates an interpreter called exactly "lua". >> >> This is more coherent I think from the previous situation where the lua >> libraries are called lua5.1 (because the lua module _must_ be linked >> against a DSO called exactly lua5.1) but then the interpreter were >> called "wxlua-lua". > > Ok, another problem, using VC 2005 and batch build it's puts Debug DLL > Multilib lua5.1.dll into lib/vc_lib not lib/vc_dll. I should have already solved 2-3 hours ago.... it was a typo in lua_dll template. >>> I had to copy all of the dlls from >>> wxWidgets/lib/vc_dll/*.dll and the sample/luamodule.wx.lua into the >>> dir that I ran $wxlua-lua.exe from. >> I know. that's why I created copy-dlls.bat but now that we use different >> dirs for different builds also for bin\*.exe that script is not so useful... > > Heh, I added some really ugly batch file code to genwxbind.bat to get > it to work for a few cases. good > ============================== > > Ahh... what about this? After a build you copy the bin/[build]/*.exe > to just bin/*.exe and overwrite them. The originals still would exist > in the build dir. Is this easy to do or even make sense or would it be > too confusing? well, I don't know... it's easy to do but maybe unexpect by the user... Why would we want it? So that the DLL can be copied to just "bin" and not "bin\vc*" ? Francesco |