From: Jean-Yves F. B. <12...@gm...> - 2010-10-15 14:34:06
|
On Fri, 15 Oct 2010 09:51:50 -0400, John Labenski <jla...@gm...> wrote: ... > I have no problem with this sample in MSW and Mandriva Linux. What > wxLua are you using, did you compile it yourself? I use tarball wxLua-2.8.10.0-src.tar.gz from sourceforge.net > What wxWidgets version and from where? wx2.8 v. 2.8.10.1-3 sid package > What Lua version and are you sure you're > compiling wxLua using the lua-devel package from Debian sid or are you > compiling wxLua with it's own Lua (in modules/lua) and then running it > with the system installed Lua? LUA v. 5.1.4-5 sid package The compilation configure returned it is using the system LUA, not the embedded one. > The fact that the wxBitmapComboBox is created and does show if not > added to the sizer, but crashes when added to the sizer makes me think > that you have mismatched libraries. In fact I compiled an LUA 5.1 some months ago, but I destroyed it when sid was updated. As compilation was put into /usr/local I erased all LUA related files/dirs before sid packages installation. I also installed a bunch of rocks, acknowledging when it asked to replace some files/rocks with newer ones (may be I should stick to a basic install and only use rocks?) The only modif I made to the regular compilation was: ./configure --with-wxstedit-prefix=/usr/src/LOCAL/WXLUA/wxstedit > You can get very strange and > nearly undebuggable errors in these cases. Try running ldd on the > wxLua libs to make sure that the libs it links to are appropriate, > especially liblua.so being in /lib/, /usr/lib/, or somewhere like that > to confirm that you're using the system Lua. I attached (permitted?) the ldd result: everything looks fine. If you don't have any other tracking advice, I'll consider to uninstall LUA and all its components this WE; chase all possible files and erase them, then restart from scratch (which will be a PITA because I also use many addons, such as MAPM, classlib, etc and some are long to compile.) I'll test w/ a genuine install, and if it works, restart to install libs & rocks and retest between each install to see what going on. Do you advise restarting with an LUA tarball or can I stick to the packages? (I mean LUA *AND* libs [some might be overwritten by some rocks]) > Hope this helps, > John Thanxs JY -- There is a fly on your nose. |