From: AZ <red...@gm...> - 2012-12-20 23:05:36
|
I tried to build wxlua against 2.9.5 SVN trunk but it failed: is it 2.9 support a work in progress? Build error: redtide@heimdall:~/Dev/wxlua/trunk/wxLua/buildgtkd$ make [ 12%] Built target wxStEditLib [ 13%] Built target wxStEdit [ 30%] Built target LuaLib [ 30%] Built target lua [ 32%] Built target luac [ 37%] Built target wxLuaLib [ 38%] Building CXX object modules/wxbind/CMakeFiles/wxLuaBindLib.dir/src/wxadv_bind.cpp.o /home/redtide/Dev/wxlua/trunk/wxLua/modules/wxbind/src/wxadv_bind.cpp: In function ‘int wxLua_wxGridCellEditor_PaintBackground(lua_State*)’: /home/redtide/Dev/wxlua/trunk/wxLua/modules/wxbind/src/wxadv_bind.cpp:8204:42: error: no matching function for call to ‘wxGridCellEditor::PaintBackground(const wxRect&, wxGridCellAttr*&)’ /home/redtide/Dev/wxlua/trunk/wxLua/modules/wxbind/src/wxadv_bind.cpp:8204:42: note: candidate is: /home/redtide/Dev/Git/wxWidgets/include/wx/generic/grid.h:216:18: note: virtual void wxGridCellEditor::PaintBackground(wxDC&, const wxRect&, const wxGridCellAttr&) /home/redtide/Dev/Git/wxWidgets/include/wx/generic/grid.h:216:18: note: candidate expects 3 arguments, 2 provided /home/redtide/Dev/wxlua/trunk/wxLua/modules/wxbind/src/wxadv_bind.cpp: At global scope: /home/redtide/Dev/wxlua/trunk/wxLua/modules/wxbind/src/wxadv_bind.cpp:16385:20: warning: ‘wxluaclassname_wxWave’ defined but not used [-Wunused-variable] /home/redtide/Dev/wxlua/trunk/wxLua/modules/wxbind/src/wxadv_bind.cpp:16488:20: warning: ‘wxluabaseclassnames_wxWave’ defined but not used [-Wunused-variable] /home/redtide/Dev/wxlua/trunk/wxLua/modules/wxbind/src/wxadv_bind.cpp:16489:24: warning: ‘wxluabaseclassbinds_wxWave’ defined but not used [-Wunused-variable] make[2]: *** [modules/wxbind/CMakeFiles/wxLuaBindLib.dir/src/wxadv_bind.cpp.o] Errore 1 make[1]: *** [modules/wxbind/CMakeFiles/wxLuaBindLib.dir/all] Errore 2 make: *** [all] Errore 2 redtide@heimdall:~/Dev/wxlua/trunk/wxLua/buildgtkd$ Regards, Andrea |
From: John L. <jla...@gm...> - 2013-01-17 06:03:24
|
On Thu, Dec 20, 2012 at 6:05 PM, AZ <red...@gm...> wrote: > I tried to build wxlua against 2.9.5 SVN trunk but it failed: is it 2.9 > support a work in progress? No... not so much a work in progress as continual work of mapping the functions. Since wxLua wraps so much of wxWidgets any change in their API anywhere causes breakage. I will fix this tomorrow, but note that if you don't intend to call that particular function you can just rem out the failing part in the C++ binding code and put in whatever minimal stub is needed to get it to compile. Regards, John |
From: Paul K <pau...@ya...> - 2013-02-02 01:14:45
|
Hi John, > I will fix this tomorrow, but note that if you don't intend to call > that particular function you can just rem out the failing part in the > C++ binding code and put in whatever minimal stub is needed to get it > to compile. I tried to compile 2.9.5 using the latest code from SVN (including your last fix), but it still fails with a similar issue: [ 47%] Building CXX object modules/wxbind/CMakeFiles/wxLuaBindLib.dir/src/wxadv_bind.cpp.obj D:\Lua\build\wxlua\modules\wxbind\src\wxadv_bind.cpp: In function 'int wxLua_wxGridCellEditor_PaintBackground1(lua_State*)': D:\Lua\build\wxlua\modules\wxbind\src\wxadv_bind.cpp:8204:43: error: no matching function for call to 'wxGridCellEditor::PaintBackground(const wxRect&, const wxGridCellAttr&)' D:\Lua\build\wxlua\modules\wxbind\src\wxadv_bind.cpp:8204:43: note: candidate is: D:/Lua/build/wxWidgets-2.9.5/include/wx/generic/grid.h:216:18: note: virtual void wxGridCellEditor::PaintBackground(wxDC&, const wxRect&, const wxGridCellAttr&) D:/Lua/build/wxWidgets-2.9.5/include/wx/generic/grid.h:216:18: note: candidate expects 3 arguments, 2 provided This includes your fix in rev #158. I'd prefer not to stub and, but rather compile out of the box. Also, it seems like the fix is likely to break in the next update of wxwidgets: !%wxchkver_2_9_5 virtual void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr ); %wxchkver_2_9_5 virtual void PaintBackground(const wxRect& rectCell, const wxGridCellAttr &attr ); Is it possible to do "<" and ">=" instead of "!" and (implied) "=="? Thank you. Paul On Wed, Jan 16, 2013 at 10:03 PM, John Labenski <jla...@gm...> wrote: > On Thu, Dec 20, 2012 at 6:05 PM, AZ <red...@gm...> wrote: >> I tried to build wxlua against 2.9.5 SVN trunk but it failed: is it 2.9 >> support a work in progress? > > No... not so much a work in progress as continual work of mapping the > functions. Since wxLua wraps so much of wxWidgets any change in their > API anywhere causes breakage. > > I will fix this tomorrow, but note that if you don't intend to call > that particular function you can just rem out the failing part in the > C++ binding code and put in whatever minimal stub is needed to get it > to compile. > > Regards, > John > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users |