[wxruby-users] object allocation during garbage collection phase
Alex Fenton
alex at pressure.to
Tue Aug 5 16:25:26 EDT 2008
Niklas Baumstark wrote:
> Hello,
>
> Alex Fenton <alex at pressure.to> wrote:
>
>> Anyway, I recently committed a set of patches that I think fixed this
>> problem for Ruby 1.9, which has the same problem. If you're willing to
>> test this out from wxRuby's SVN with ruby 1.8.7 that would be very kind.
>>
>
> i did what you told me, compiled wxruby from svn, but it doesn't seem to work:
>
> irb(main):001:0> require 'wx'
> LoadError: /usr/local/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so: undefined symbol: _ZNK11wxMediaCtrl12GetClassInfoEv - /usr/local/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so
> from /usr/local/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so
> from /usr/local/lib/ruby/site_ruby/1.8/wx.rb:12
> from (irb):1:in `require'
> from (irb):1
>
> i have no idea of what's going wrong here, i'm not this experienced with the internals of your code and with ruby development at all.
Thanks for trying it. You should be able to work around this error by doing
rake WXRUBY_EXCLUDED=MediaCtrl,MediaEvent
Can I ask what wxWidgets you're compiling against - eg a distro version,
or a self-built one?
thanks
alex
More information about the wxruby-users
mailing list