From: John L. <jla...@gm...> - 2006-02-06 20:35:55
|
On 2/6/06, Francesco Montorsi <f18...@ya...> wrote: > > I've done some work on bakefiles: Great. > 1) I'm using wxCVS also on win32 and I've found that I had to put > wxLUA_USE_wxHelpController to 0 otherwise I got an error about > wxWinHelpController. This was a bug in wxWidgets CVS HEAD a few weeks ago. They had duplicate #include guards for two different files. IIRC it was html/helpwnd.h and msw/helpwin.h, it's fixed now. > 2) wxluacan app works nicely but wxluaapp still crashes at startup with > the same error I got from unix version... This error? >frm@genius:~/work/wxLua/gtksud/bin$ ./wxlua >[string "./wxlua"]:374: attempt to call field `wxStyledTextCtrl' (a nil >value)wxLua: Error while running chunkwxLua: Error while running chunk I don't get it in linux w/ gcc, but I do get it in MSW with VC Express 2005. It has to do with the linker throwing out all of the wxbindstc lib since it's "not used" directly, but through a wxModule. I think the cleanest way to do this is to make people run C functions to initialize each of the binding modules they link to. Similiar to wxWidgets' WXINIT_ALL_IMAGE_HANDLERS (or whatever it's called). I'll change this ASAP, but probably tonight. Regards, John Labenski |