[wxruby-development] Feedbacks on wxRuby 1.9.8

Chauk-Mean P chauk.mean at gmail.com
Sun Aug 31 17:20:13 EDT 2008


Hi,

I've just tested wxRuby 1.9.8 on Windows and Linux Ubuntu 8.04 x86.

A/ On Windows, I'm using the Ruby 1.8.7-p72 binary from Ruby-mswin32
(http://www.garbagecollect.jp/ruby/mswin32/en).
NB: Binaries from Ruby-mswin32 were used by the OneClick installer.
As proposed in the wxRuby 1.9.8 announce, I tried the mingw gem and it
works very well !
It works even better than on Linux as I don't have the problems below.

I haven't tried Ruby 1.9.0 as there is no ruby19 version of the mingw gem.

B/ On Linux Ubuntu 8.04 x86 + Ruby 1.8.7-p72 :
I used the linux gem. It works better than my previous test but I
still have the following problems with the bigdemo :

1/ bigdemo > Base Frames and Dialogs > wxMDIWindows :
 - Create a child window (File > New Window)
 - Use the scrollbars (especially the vertical one) to move the
contents of the child window
 => crash. This is not related with MDI but rather with the code of
the child window which uses scrollbars.

2/ bigdemo > Core Windows/Controls > wxScrolledWindow
 - Use the scrollbars to move the contents of the window
 => crash. This is probably the same problem as above.

3/ bigdemo > Common Dialogs > wxFindReplaceDialog > Show Find Dialog
or
  bigdemo > Common Dialogs > wxFindReplaceDialog > Show Find and
Replace Dialog :
 - Type some text
 - Click Find
 => crash after one or several clicks
 or :
 - Just Click Cancel
 - Show again the dialog
 - Click again Cancel
 => crash

C/ On Linux Ubuntu 8.04 x86 + Ruby 1.9.0-4 :
I tried to use the wxruby-ruby19 linux gem. But this gem is broken !
In the lib folder, there is only the shared library !

D/ Building myself wxRuby for Ruby 1.9.0-4 :
For my previous build of wxRuby and bug report, I used the wxWidgets
2.8.7 package provided with Ubuntu.
As it seems that wxWidgets 2.8.8 fixes some issues with wxRuby, I
tried now a full build of wxWidgets and wxRuby.
Building wxWidgets and wxRuby as indicated in the wiki work fine
(wxWidgets with monolithic, disable shared, enable mediactrl ...)
But when I run a sample, I have a problem with undefined references
related with gstreamer.
If I build wxWidgets with enable shared, wxRuby complains about a
missing library related with media.
I think that I tried to disable mediactrl and that wxRuby still wants
to link with the media library.
Any hint/advice is welcome.

Anyway, wxRuby 1.9.8 is a nice release. And sorry for this long post.

Cheers.
Chauk-Mean.


More information about the wxruby-development mailing list