On 2/6/06, Francesco Montorsi <[EMAIL PROTECTED]> 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? >[EMAIL PROTECTED]:~/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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wxlua-users mailing list Wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users