On Fri, 15 Oct 2010 13:14:04 -0400, John Labenski <jlaben...@gmail.com>
wrote:


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

Unfortunately it won't compile, this is a 2nd attempt to compile (no
configure error):

# make
(cd ./modules/ && make )
make[1]: entrant dans le répertoire
« /usr/src/LOCAL/LUA/wxLua_CVS_NCP/modules
» /usr/src/LOCAL/LUA/wxLua/bk-deps g++ -c -o wxbindadv_dll_wxadv_bind.o
-I.pch/wxprec_wxbindadv_dll -I../modules/wxbind/setup -I../modules -I./..
-I/usr/include/lua5.1 -DWXMAKINGDLL_WXBINDADV -fPIC -DPIC
-I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread
-DwxLUA_USEBINDING_WXMEDIA=0 -I/usr/src/LOCAL/LUA/wxstedit/include
-O2 ./wxbind/src/wxadv_bind.cpp 
./wxbind/src/wxadv_bind.cpp:30:23:
erreur: .pch/wxprec_wxbindadv_dll/wx/wxprec.h : Aucun fichier ou dossier de
ce type 
make[1]: *** [wxbindadv_dll_wxadv_bind.o] Erreur 1 
make[1]: quittant le répertoire « /usr/src/LOCAL/LUA/wxLua_CVS_NCP/modules
» 
make: *** [modules] Erreur 2
 
> > 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?

Yep for almost all, except I have 2 msgs for both wxSashLayoutWindow &
wxSashWindow: xxxxxx must have a top level windows as parent.

I don't remember if it was the case yesterday, but I clearly remember
that first time I tested it I had these widgets working.
 
> Try putting some print statements for the wxBitmapCombobox to prove
> that it's really valid and works.
> 
> print(control:GetSize():GetWidth())
> print(control:GetName())

Don't work:

$ lua JY_controls.wx.lua
lua: JY_controls.wx.lua:515: wxLua: Unable to call an unknown method
'GetSize' on a 'wxBitmapComboBox' type. stack traceback:
        [C]: ?
        JY_controls.wx.lua:515: in function 'CreateControlsWindow'
        JY_controls.wx.lua:1085: in function 'main'
        JY_controls.wx.lua:1124: in main chunk
        [C]: ?

...
> > I attached (permitted?) the ldd result: everything looks fine.
> 
> It does look ok. Does the sample run in wxLuaEdit or wxLuaFreeze?

No, I run it from "lua JY_controls.wx.lua" at command line.
 
...

In fact I first thought I found the reason: I had a 2.8.7 version
into /usr/lib (may be this day my spare neurone was absent.)

But after a whole system cleaning plus uninstall/reinstall LUA 5.1 + some
libs (all packages) and a new make install of 2.8.10 (tarball), I still
have the same issue.
I really don't understand where it can come from!
(I also made an "apt-get install --reinstall" for all libwx packages,
before compilation, to make sure I won't miss any file, just in case.)

JY
-- 
The big cities of America are becoming Third World countries.
                -- Nora Ephron

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