On Fri, Oct 15, 2010 at 10:33 AM, Jean-Yves F. Barbier <12u...@gmail.com> 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

You could try the CVS version, though there has only been minor fixes
which I don't think would affect this.

http://sourceforge.net/projects/wxlua/develop

cvs -z3 -d:pserver:anonym...@wxlua.cvs.sourceforge.net:/cvsroot/wxlua
co -P wxLua

> 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.

So long as there's no confusion for the linker it should be ok. The
important thing is that the headers you compile with are for the libs
you're linking to. If you don't add the wxBitmapCombobox to the sizer
can you use it, can you select items and do the events from it show up
in the log window below?

Try putting some print statements for the wxBitmapCombobox to prove
that it's really valid and works.

print(control:GetSize():GetWidth())
print(control:GetName())

> 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?)

wxLua shouldn't care about any of that, unless one of them overwrites
the Lua executable or library.

> I attached (permitted?) the ldd result: everything looks fine.

It does look ok. Does the sample run in wxLuaEdit or wxLuaFreeze?

> 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])

I would at least recompile wxLua and then try it. You don't even have
to run make install until you're sure it all works.

Regards,
    John

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to