From: Francesco M. <f18...@ya...> - 2005-11-20 12:01:43
|
Hi, John Labenski wrote: > wxLua now compiles and works completely in Linux. All you need to do is > $cd wxLua/apps/wxlua/src > $make bindings # generate cpp files from .i files in modules/wxbind > $make # compile EVERYTHING needed for wxLua Good ! I've just updated the bakefile build system to be able to build wxLua also from unix. Much of the stuff was borrowed from wxCode build system: that's allow us to support all types/configurations of wxWidgets builds on at least MSW, linux, MacOS. The build system is not perfect yet; I'm trying to look what's wrong in the bakefiles looking in your hand-written Makefile... > The "make bindings" will eventually become unnecessary since the > bindings have all the appropropriate #ifdefs to compile on any > platform and version of wxWidgets, but I'd like to test a little more. ok > The previous problem was with the lines > %win %class wxMessageDialog, wxDialog FIXME THIS DOES NOT WORK CURRENTLY > %gtk|%mac %class %noclassinfo wxMessageDialog, wxDialog > ... > in dialogs.i that caused a problem in generating the wrappers. > > I will try my hand with the bakefiles and get it going in MSW in the > next few days. perfect; now that I'm basically a linux user, I can help easily to keep unix version tested; if you keep win32 build system tested, then everything should work at 100% ;) > > ************************************** > > wxLua devs, I am going to switch to using the SF version of wxLua > exclusively, so lets try to keep the CVS always in a working state > (accidents and little oops aside, we're human after all). I don't mind > if any changes are made, even if they're significant and not backwards > compatible, just write to the list before committing any changes so > we'll know how to update own own stuff. If no one responds in a couple > days, just ensure that the wxLua sample app works completely, > including the samples and assume that no one minds. Remember, nothing > is set in stone since the user group of wxLua (at least from the c++ > end) is pretty small, I think the lua side should probably remain the > same as much as possible. I agree; only I need some time to get bakefile build system completely working. NOTE: where do we want to install wxLua libraries and headers on unix ? $PREFIX/lib and $PREFIX/include seem a nice place for me, but we can consider also $PREFIX/lib/wxlua and $PREFIX/include/wxlua, specially if our lua headers/libs could give problems to other builds of lua installed in the same prefix... Francesco PS: I added wxLua link to wikipedia page for wxWidgets; I wonder if 1) we should move the page which is currently at http://www.luascript.thersgb.net/ to http://wxlua.sourceforge.net or 2) make a redirection from http://wxlua.sourceforge.net to http://www.luascript.thersgb.net/ ? |