| 
      
      
      From: Philippe Q. <phi...@gm...> - 2006-12-28 11:59:51
       | 
| Hi I tied to build wxLua on Linux, wxWidgets 2.6.3.2.1.5 (tried both official sources 2.8.0.0 & nightly snapshot wxLua_Snapshot_2006-12-27) but I get this error : ?? ./wxbind/src/gdi.cpp: In function 'int wxLua_wxDisplay_GetClientArea(lua_State*)': ./wxbind/src/gdi.cpp:11278: error: 'class wxDisplay' has no member named 'GetClientArea' do I need a newer wxWidgets ? can I keep the 'old' (current) version along w. a newer version ? (I think some installed apps are using wxWidgets, probably would stop working if I replace wxWidgets) thx Philippe | 
| 
      
      
      From: klaas.holwerda <kho...@xs...> - 2006-12-28 14:38:15
       | 
| Philippe Quesnel wrote: > Hi > I tied to build wxLua on Linux, wxWidgets 2.6.3.2.1.5 > (tried both official sources 2.8.0.0 <http://2.8.0.0/> & nightly > snapshot wxLua_Snapshot_2006-12-27) > but I get this error : ?? The error is also on 2.8 or only on 2.6.3 ?? > > ./wxbind/src/gdi.cpp: In function 'int > wxLua_wxDisplay_GetClientArea(lua_State*)': > ./wxbind/src/gdi.cpp:11278: error: 'class wxDisplay' has no member > named 'GetClienetArea' But if i look in my wxWidgets2.8 i see in display.h that GetClientArea is there? And here with 2.8 it compiled fine. But i did see this error some time ago. Maybe a full clean/checkout? Klaas | 
| 
      
      
      From: Philippe Q. <phi...@gm...> - 2006-12-28 23:25:38
       | 
| sorry, by "official sources 2.8.0.0" I meant the wxLua sources. (I tried the 'official' / current and then a nightly snapshot of wxLua) the problem is w. wxWidgets 2.6.3.. ok, I did a check on the wxWidgets site : GetClientArea was added in 2.7.0 !! so I guess it means wxLua needs 2.7.0 minimum vs 2.6.3 ? is this a mistake ? thx Philippe On 12/28/06, klaas.holwerda <kho...@xs...> wrote: > > Philippe Quesnel wrote: > > Hi > > I tied to build wxLua on Linux, wxWidgets 2.6.3.2.1.5 > > (tried both official sources 2.8.0.0 <http://2.8.0.0/> & nightly > > snapshot wxLua_Snapshot_2006-12-27) > > but I get this error : ?? > The error is also on 2.8 or only on 2.6.3 ?? > > > > ./wxbind/src/gdi.cpp: In function 'int > > wxLua_wxDisplay_GetClientArea(lua_State*)': > > ./wxbind/src/gdi.cpp:11278: error: 'class wxDisplay' has no member > > named 'GetClienetArea' > But if i look in my wxWidgets2.8 i see in display.h that GetClientArea > is there? > And here with 2.8 it compiled fine. > But i did see this error some time ago. Maybe a full clean/checkout? > > Klaas > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > | 
| 
      
      
      From: Francesco M. <f18...@ya...> - 2006-12-29 10:07:43
       | 
| Philippe Quesnel ha scritto: > sorry, by "official sources 2.8.0.0 <http://2.8.0.0>" I meant the wxLua > sources. > (I tried the 'official' / current and then a nightly snapshot of wxLua) > > the problem is w. wxWidgets 2.6.3 ... > > ok, I did a check on the wxWidgets site : > GetClientArea was added in 2.7.0 !! > > so I guess it means wxLua needs 2.7.0 minimum vs 2.6.3 ? > is this a mistake ? yes it is: we should have better tested wxLua against wx2.6.3 before releasing... sorry. I'd suggest you to switch to wx 2.8 to solve the problem and also to get advantage of all new things in 2.8 ;) Francesco | 
| 
      
      
      From: Philippe Q. <phi...@gm...> - 2006-12-30 02:23:08
       | 
| ok, I guess I can keep the 'old' 2.6.3 for the installed apps that need it, and get/build 2.8 for wxLua (and future apps to be compiled w. wxWidgets ;-) thank you Philippe On 12/29/06, Francesco Montorsi <f18...@ya...> wrote: > > Philippe Quesnel ha scritto: > > sorry, by "official sources 2.8.0.0 <http://2.8.0.0>" I meant the wxLua > > sources. > > (I tried the 'official' / current and then a nightly snapshot of wxLua) > > > > the problem is w. wxWidgets 2.6.3 ... > > > > ok, I did a check on the wxWidgets site : > > GetClientArea was added in 2.7.0 !! > > > > so I guess it means wxLua needs 2.7.0 minimum vs 2.6.3 ? > > is this a mistake ? > yes it is: we should have better tested wxLua against wx2.6.3 before > releasing... sorry. > > I'd suggest you to switch to wx 2.8 to solve the problem and also to get > advantage of all new things in 2.8 ;) > > Francesco > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > | 
| 
      
      
      From: John L. <jla...@gm...> - 2006-12-30 05:16:57
       | 
| On 12/29/06, Philippe Quesnel <phi...@gm...> wrote:
>  On 12/29/06, Francesco Montorsi <f18...@ya...> wrote:
> > Philippe Quesnel ha scritto:
> > > sorry, by "official sources 2.8.0.0 <http://2.8.0.0>" I meant the wxLua
> > > sources.
> > > (I tried the 'official' / current and then a nightly snapshot of wxLua)
> > >
> > > the problem is w. wxWidgets 2.6.3 ...
> > >
> > > ok, I did a check on the wxWidgets site :
> > > GetClientArea was added in 2.7.0 !!
> > >
> > > so I guess it means wxLua needs 2.7.0 minimum vs 2.6.3 ?
> > > is this a mistake ?
> > yes it is: we should have better tested wxLua against wx2.6.3 before
> > releasing... sorry.
I test in MSW using Visual Studio 2005 and the CVS 2.6 branch. Dunno
why I didn't get the error.
Anyway, I will make a permanent fix when I get home in January, but
the simple fix is to just rem out that line of code in the cpp file
and just don't use that function in lua.
Regards,
    John Labenski
 | 
| 
      
      
      From: John L. <jla...@gm...> - 2007-01-04 21:13:05
       | 
| Fixed now. Please report any more problems like these since they're
very hard to test and I'd like to have it "work out of the box" if
possible. I didn't get an error in 2.6 in MSW since the default
include/wx/msw/setup0.h has wxUSE_DISPLAY 0.
Regards,
    John Labenski
On 12/30/06, John Labenski <jla...@gm...> wrote:
> On 12/29/06, Philippe Quesnel <phi...@gm...> wrote:
> >  On 12/29/06, Francesco Montorsi <f18...@ya...> wrote:
> > > Philippe Quesnel ha scritto:
> > > > sorry, by "official sources 2.8.0.0 <http://2.8.0.0>" I meant the wxLua
> > > > sources.
> > > > (I tried the 'official' / current and then a nightly snapshot of wxLua)
> > > >
> > > > the problem is w. wxWidgets 2.6.3 ...
> > > >
> > > > ok, I did a check on the wxWidgets site :
> > > > GetClientArea was added in 2.7.0 !!
> > > >
> > > > so I guess it means wxLua needs 2.7.0 minimum vs 2.6.3 ?
> > > > is this a mistake ?
> > > yes it is: we should have better tested wxLua against wx2.6.3 before
> > > releasing... sorry.
>
> I test in MSW using Visual Studio 2005 and the CVS 2.6 branch. Dunno
> why I didn't get the error.
>
> Anyway, I will make a permanent fix when I get home in January, but
> the simple fix is to just rem out that line of code in the cpp file
> and just don't use that function in lua.
>
> Regards,
>     John Labenski
>
 | 
| 
      
      
      From: Philippe Q. <phi...@gm...> - 2007-01-04 22:03:04
       | 
| ok, thx I will .. I'll try it out next time I boot Linux .. but I now have wxWidgets 2.8 installed ;-) happy new year ;-) On 1/4/07, John Labenski <jla...@gm...> wrote: > > Fixed now. Please report any more problems like these since they're > very hard to test and I'd like to have it "work out of the box" if > possible. I didn't get an error in 2.6 in MSW since the default > include/wx/msw/setup0.h has wxUSE_DISPLAY 0. > > Regards, > John Labenski | 
| 
      
      
      From: wangji <ho...@wa...> - 2007-02-22 19:03:23
       | 
| Philippe Quesnel <philippe.quesnel@...> writes: > > > ok, thx I will .. I'll try it out next time I boot Linux .. but I now have wxWidgets 2.8 installed happy new year > > On 1/4/07, John Labenski > <jla...@gm...> wrote:Fixed now. Please report any more problems like these since they're > very hard to test and I'd like to have it "work out of the box" ifpossible. I didn't get an error in 2.6 in MSW since the defaultinclude/wx/msw/setup0.h has wxUSE_DISPLAY 0.Regards, > John Labenski > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > wxlua-users mailing list > wxlua-users@... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > please,tell me how you build in linux.My build stops at bindings/wave.cpp with "wxJoystick has not been declared" otherwise ,many subdir do build separately ! thank you | 
| 
      
      
      From: John L. <jla...@gm...> - 2007-02-22 20:34:51
       | 
| On 2/22/07, wangji <ho...@wa...> wrote:
>
> please,tell me how you build in linux.My build stops at bindings/wave.cpp
> with "wxJoystick has not been declared"
> otherwise ,many subdir do build separately !
> thank you
>
Fixed in CVS, the bindings file wave.i should have had
%if wxLUA_USE_wxJoystick & wxUSE_JOYSTICK
not
%if wxLUA_USE_wxJoystick | wxUSE_JOYSTICK
Please try it again, it should work now.
Thanks,
    John Labenski
 | 
| 
      
      
      From: wangji <ho...@wa...> - 2007-02-23 10:59:00
       | 
| >John Labenski <jlabenski@...> wrote: > > On 2/22/07, wangji <hoan@...> wrote: > > > > please,tell me how you build in linux.My build stops at bindings/wave.cpp > > with "wxJoystick has not been declared" > > otherwise ,many subdir do build separately ! > > thank you > > > > Fixed in CVS, the bindings file wave.i should have had > > %if wxLUA_USE_wxJoystick & wxUSE_JOYSTICK > > not > > %if wxLUA_USE_wxJoystick | wxUSE_JOYSTICK > > Please try it again, it should work now. > you a right ;in fact in may wave.i it was %if wxLUA_USE_wxJoystick|wxUSE_JOYSTICK correct it and do make in the bindings_dir allowed me to get thru ! Thanks. But now I fall into missing "wx/wxstc/wxstc.h" and I am really unable to find it in wxWigets-2.8.0.0 tree nor googling to have a solution . What am I supposed to get this wxSTC stuff ? install wxPython or Scintilla? | 
| 
      
      
      From: John L. <jla...@gm...> - 2007-02-23 15:05:25
       | 
| On 2/23/07, wangji <ho...@wa...> wrote:
> But now I fall into missing "wx/wxstc/wxstc.h"
> and I am really unable to find it in wxWigets-2.8.0.0 tree
> nor googling to have a solution .
> What am I supposed to get this wxSTC stuff ? install wxPython or Scintilla?
Don't you mean "wx/stc/stc.h" which is located in
wxWidgets/contrib/include/wx/stc/stc.h?
wxStyledTextCtrl is part of the wxWidgets distribution in the contrib
directory.
What file gives this error?
Regards,
    John Labenski
 | 
| 
      
      
      From: wangji <ho...@wa...> - 2007-02-23 16:11:24
       | 
| >John Labenski <jlabenski@...> writes: > > Don't you mean "wx/stc/stc.h" which is located in > wxWidgets/contrib/include/wx/stc/stc.h? > > wxStyledTextCtrl is part of the wxWidgets distribution in the contrib > directory. > > What file gives this error? In file included from ../../../modules/wxbindstc/src/stc.cpp:19: ../../../modules/wxbindstc/include/wxbind.h:52:24: error: wx/stc/stc.h: No such file or directory this is when I try to compile directly modules/wxbindstc/src ; may be I have wrongly configured wxWidgets-2.8 since I did not say anything about enabling stc;only option unicode ie wxWidgets/configure --enable-unicode What should I enable in wxWidgets to allow compile module_wxbindstc in wxlua ? Or I just have to copy the stc.h into wx/stc/ as it claimed (very bad hack then!) | 
| 
      
      
      From: John L. <jla...@gm...> - 2007-02-23 16:51:27
       | 
| On 2/23/07, wangji <ho...@wa...> wrote:
> >John Labenski <jlabenski@...> writes:
> >
> > Don't you mean "wx/stc/stc.h" which is located in
> > wxWidgets/contrib/include/wx/stc/stc.h?
> >
> > wxStyledTextCtrl is part of the wxWidgets distribution in the contrib
> > directory.
> >
> > What file gives this error?
>
> In file included from ../../../modules/wxbindstc/src/stc.cpp:19:
> ../../../modules/wxbindstc/include/wxbind.h:52:24: error: wx/stc/stc.h: No such
> file or directory
>
> this is when I try to compile directly modules/wxbindstc/src ;
> may be I have wrongly configured wxWidgets-2.8  since I did not say anything
> about enabling stc;only option unicode  ie
>
> wxWidgets/configure --enable-unicode
You also have to run make in wxWidgets/contrib/src/stc.
> What should I enable in wxWidgets to allow compile module_wxbindstc in wxlua ?
> Or I just have to copy the stc.h into wx/stc/  as it claimed (very bad hack
> then!)
The build files that come with wxWidgets have the include path of
"wxWidgets/contrib/include" in them. If you installed wxWidgets you
probably also have to make install from contrib/src/stc.
Hope this helps,
     John Labenski
 | 
| 
      
      
      From: wangji <ho...@wa...> - 2007-02-23 18:23:14
       | 
| >John Labenski <jlabenski@...> writes: > > > What file gives this error? > > > > In file included from ../../../modules/wxbindstc/src/stc.cpp:19: > > ../../../modules/wxbindstc/include/wxbind.h:52:24: error: wx/stc/stc.h: No such > > file or directory > > > > this is when I try to compile directly modules/wxbindstc/src ; > > may be I have wrongly configured wxWidgets-2.8 since I did not say anything > > about enabling stc;only option unicode ie > > > > wxWidgets/configure --enable-unicode > > You also have to run make in wxWidgets/contrib/src/stc. > > > What should I enable in wxWidgets to allow compile module_wxbindstc in wxlua ? > > Or I just have to copy the stc.h into wx/stc/ as it claimed (very bad hack > > then!) > > The build files that come with wxWidgets have the include path of > "wxWidgets/contrib/include" in them. If you installed wxWidgets you > probably also have to make install from contrib/src/stc. > > Hope this helps, > John Labenski alas! no. All dir now do compile,but make in the contrib/src/stc only builds a shared_library_gtkstc.This can be put aside right now. I got only wx.so (with wxluacan wxluafreeze ) but no wxlua; does it mean I have to put "require wx" at the beginning of a test file in order to check my build? A last -I hope- question for my education : why when launching wxluacan --help it requires glibc_2.4 ? I thought ,that building the whole stuff ,there is no more this requirement (or at least it should require glibc_2.4 right at the beginning of the build process !) Initially ,I download the wxlua-binary-pkg ,was stopped at the glibc24 requirement when starting wxlua ! Now Ibuild it ,I thought to get rid of it !!!but I am wrong somehow. At the end,does it mean I am obliged to switch to glibc24 ? (now still 2.3.6) thanks so much for your help | 
| 
      
      
      From: Francesco M. <f18...@ya...> - 2007-02-23 22:29:35
       | 
| Hi,
wangji ha scritto:
>> You also have to run make in wxWidgets/contrib/src/stc.
...
> 
> alas! no. All dir now do compile,but make in the contrib/src/stc only builds a 
> shared_library_gtkstc.This can be put aside right now.
after doing "make" in contrib/src/stc you'll probably also want to do a 
"make install" (with root privileges).
> I got only wx.so (with wxluacan wxluafreeze ) but no wxlua;
Please note that when you run wxLua's configure it will do a check for 
wxSTC:
checking if wxSTC contrib is available...
in case the result is "no", you'll get a message like:
configure:
     The wxWidgets wrappers for Scintilla text control could not be found
     (at least not for the 'gtk2-ansi-debug-static-2.9' wxWidgets build).
     Please be sure that you compiled and installed it since they are
     not built together with wxWidgets by default.
     E.g. from wxWidgets build directory type:
         cd contrib/src/stc && make && sudo make install
         cd contrib/samples/stc && make
     If you still get this error message, look at config.log for more 
details
     or report this problem to fr...@us....
     NOTE: build is proceeding without Scintilla wrappers, but you will miss
           the wxLuaApp and wxLuaEdit applications!
if there is something unclear in the msg, please tell me. I think it's 
nearly crystal-clear :D
> A last -I hope- question for my education : why when launching wxluacan --help
> it requires glibc_2.4 ? I thought ,that building the whole stuff ,there is no 
> more this requirement (or at least it should require glibc_2.4 right at the 
> beginning of the build process !)
_every_ application on your linux system will depend on the GNU libc. 
It's a "special" lib exactly for that reason.
This is not really wxLua-related. There's no way AFAIK to statically 
link in the GNU libc.
if it helps, you can list the dynamic dependencies of an ELF file doing:
objdump -x MyFile | grep NEEDED
(which gives the real deps unlike "ldd" which also shows the 
dependencies of your real dependencies).
Francesco
 | 
| 
      
      
      From: wangji <ho...@wa...> - 2007-02-24 09:07:53
       | 
| >Francesco Montorsi <f18m_cpp217828@...> writes: > > Hi, > > >wangji ha scritto: > >> You also have to run make in wxWidgets/contrib/src/stc. > ... > > > > alas! no. All dir now do compile,but make in the contrib/src/stc only builds a > if there is something unclear in the msg, please tell me. I think it's > nearly crystal-clear :D yep ! crystal-clear ! all contrib built ok ,except helpgen due to unicode_enabled. also my fault was using sfnet_wxwidget.tar.bz2 on which "contrib/deprecated/setup.h" was missing ! Big thanks > > > A last -I hope- question for my education : why when launching wxluacan -- help > > it requires glibc_2.4 ? I thought ,that building the whole stuff ,there is no > > more this requirement (or at least it should require glibc_2.4 right at the > > beginning of the build process !) > _every_ application on your linux system will depend on the GNU libc. > It's a "special" lib exactly for that reason. > > This is not really wxLua-related. There's no way AFAIK to statically > link in the GNU libc. > > if it helps, you can list the dynamic dependencies of an ELF file doing: > > objdump -x MyFile | grep NEEDED > > (which gives the real deps unlike "ldd" which also shows the > dependencies of your real dependencies). > > Francesco I am misunderstood ,Francesco. For unknown reason to me : when I build lua-5.1.1 (/lib/libc-2.3.6) separately from source ,my lua_bin does not require glibc_2.4; it works fine . while lua_bin from inside wxlua does require glibc24 ,so there must be a switch some where in the Makefile directive . I wonder if glibc-2.3.6 could do the right job there ! In fact,before upgrade to glibc24 (I hate that because ,in the past I had so many broken things afterward -and I still do not know yet how to implement both glibc-2.3.6 and glibc-2.4.0 without segm fault) But if I try the following (with my local_separately_built_lua) $ /usr/local/lua-5.1/bin/lua wrapmodule.wx.lua wxluasudoku.wx.lua then I do get the sudoku chessboard ! and it runs ok ! wangji | 
| 
      
      
      From: wangji <ho...@wa...> - 2007-02-24 12:46:13
       | 
| wangji <hoan@...> writes: > > $ /usr/local/lua-5.1/bin/lua wrapmodule.wx.lua wxluasudoku.wx.lua > then I do get the sudoku chessboard ! and it runs ok ! > ok,finally I got it built with glibc-2.3.6 ,all in order and the wxlua_ide is beautiful ! I believe the problem I had was due to : 1 I had tried with wxlua-bin-pkg installed ;got glibc24 msg. 2 Without uninstall the previous,I tried to build from sfnet_tarbz2_wxwidget and wxlua .Catched the problem in wave.cpp_wxJoystick 3 Tried to repare by correcting bindings/wave.i then make to propagate the correction. I believe somehow lua from wx-binpkg being compiled with glibc24 induced then all my difficulties. Clearing topdir/lib and just put there my own liblua.so ,I finally succeed to build the whole tree (with a small exception : wxluaedit required wxstedit-1.2.4 which was not in cvs ; has to be built before resuming wxlua_build ) gentlemen ,you have done a beautiful job.Thanks a lot |