Grabbed 0.0.16 and tried a build for kicks. ...all good, except for a warning in MenuBar.cpp, then... g++ -c -I/usr/local/lib/wx/include/mac-2.4 -D__WXMAC__ -DWXMAKINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -fno-common -fno-common -pipe -fno-common -x objective-c++ -I /usr/local/lib/ruby/gems/1.8/rake-0.3.2/lib -I /usr/local/lib/ruby/site_ruby/1.8 -I /usr/local/lib/ruby/site_ruby/1.8/powerpc-darwin -I /usr/local/lib/ruby/site_ruby -I /usr/local/lib/ruby/1.8 -I /usr/local/lib/ruby/1.8/powerpc-darwin -I . -o obj/PaintDC.o src/PaintDC.cpp src/PaintDC.cpp:730:21: PaintDC.h: No such file or directory src/PaintDC.cpp:732: error: syntax error before `::'' token src/PaintDC.cpp: In function `VALUE _wrap_new_wxPaintDC(int, VALUE*, long unsigned int)'': src/PaintDC.cpp:767: error: parse error before `('' token src/PaintDC.cpp: In function `void free_wxPaintDC(wxPaintDC*)'': src/PaintDC.cpp:780: error: `SwigDirector_wxPaintDC'' undeclared (first use this function) src/PaintDC.cpp:780: error: (Each undeclared identifier is reported only once for each function it appears in.) src/PaintDC.cpp:780: error: parse error before `)'' token rake aborted! Command Failed: [g++ -c -I/usr/local/lib/wx/include/mac-2.4 -D__WXMAC__ -DWXMAKINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -fno-common -fno-common -pipe -fno-common -x objective-c++ -I /usr/local/lib/ruby/gems/1.8/rake-0.3.2/lib -I /usr/local/lib/ruby/site_ruby/1.8 -I /usr/local/lib/ruby/site_ruby/1.8/powerpc-darwin -I /usr/local/lib/ruby/site_ruby -I /usr/local/lib/ruby/1.8 -I /usr/local/lib/ruby/1.8/powerpc-darwin -I . -o obj/PaintDC.o src/PaintDC.cpp ] -- Ryan "John" Platte Custom services, NIKA Consulting http://nikaconsulting.com/
John Platte wrote:> Grabbed 0.0.16 and tried a build for kicks. > > ...all good, except for a warning in MenuBar.cpp, then... > > src/PaintDC.cpp:730:21: PaintDC.h: No such file or directoryArgh! I still haven''t automated my wxruby-swig release process, and somehow 0.0.16 got "released" without PaintDC.h. This should be fixed whenever I release 17 (probably not for a few weeks), but until then may be able to drop this version in as src/PaintDC.h: http://qualitycode.com/repos/wxruby-swig/src/PaintDC.h Thanks for the report! Let me know how it goes... Kevin
On 2004 Jun 4, at 23:44, Kevin Smith wrote:>> Grabbed 0.0.16 and tried a build for kicks. >> ...all good, except for a warning in MenuBar.cpp, then... >> src/PaintDC.cpp:730:21: PaintDC.h: No such file or directory > > Argh! I still haven''t automated my wxruby-swig release process, and > somehow 0.0.16 got "released" without PaintDC.h. This should be fixed > whenever I release 17 (probably not for a few weeks), but until then > may be able to drop this version in as src/PaintDC.h: > > http://qualitycode.com/repos/wxruby-swig/src/PaintDC.h > > Thanks for the report! Let me know how it goes...Sorry for the delay. It does build cleanly (except for the trusty MenuBar warning) with that addition. I get crashes on exit: [ryan@kursk 09:00:21 ~/Desktop/wxruby-swig-0.0.16]$ ruby -I lib samples/test.rb Defined XXX = 777 App.cpp new Director 0x643158 Calling main_loop Calling wxEntry, this=0x6430e0 OnInitGui before OnInitGui after on_init App.cpp new Director 0x69cce4 App.cpp ~Director 0x69cce4 on_exit OnExit... Frame.cpp Checking 0x69cce4 samples/test.rb:42: [BUG] Bus Error ruby 1.8.1 (2003-12-25) [powerpc-darwin] Abort trap [ryan@kursk 09:02:13 ~/Desktop/wxruby-swig-0.0.16]$ ruby -I lib samples/minimal/minimal.rb Defined XXX = 777 App.cpp new Director 0x6432c8 Calling wxEntry, this=0x643250 OnInitGui before OnInitGui after App.cpp new Director 0x69cf14 App.cpp new Director 0x6b315c App.cpp new Director 0x6b3a58 App.cpp new Director 0x6b4668 App.cpp new Director 0x6b67f8 App.cpp ~Director 0x69cf14 App.cpp ~Director 0x6b67f8 App.cpp ~Director 0x6b3a58 App.cpp ~Director 0x6b4668 OnExit... survived gc Deleting oldlog... worked returned from wxEntry... survived gc back from main_loop... survived gc MenuBar.cpp Checking 0x6b67f8 samples/minimal/minimal.rb:63: [BUG] Bus Error ruby 1.8.1 (2003-12-25) [powerpc-darwin] Abort trap -- Ryan "John" Platte Custom services, NIKA Consulting http://nikaconsulting.com/