[wxruby-users] object allocation during garbage collection phase

Niklas Baumstark niklas.baumstark at googlemail.com
Wed Aug 6 10:07:08 EDT 2008


Hello,

Alex Fenton <alex at pressure.to> wrote:
> Thanks for trying it. You should be able to work around this error by doing
> 
> rake WXRUBY_EXCLUDED=MediaCtrl,MediaEvent

this leaves me with exactly the same error:

niklas at niklaspc:~/ruby-cvs/wxruby/svn/trunk/wxruby2$ rake WXRUBY_EXCLUDED=MediaCtrl,MediaEvent
(in /home/niklas/ruby-cvs/wxruby/svn/trunk/wxruby2)
Enabling DYNAMIC build
Enabling RELEASE build
Enabling UNICODE build
The following wxWidgets features are not available and will be skipped:
  MediaCtrl
  MediaEvent
  PrinterDC
niklas at niklaspc:~/ruby-cvs/wxruby/svn/trunk/wxruby2$ cd /
niklas at niklaspc:/$ irb
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
irb(main):002:0> quit

> Can I ask what wxWidgets you're compiling against - eg a distro version, 
> or a self-built one?

$ wx-config --version-full
2.8.7.1

it's a distro version (libwxbase2.8-dev on ubuntu). compiling wxruby took long enough for me (about 30 minutes), so i didn't try and compile wxwidgets.

Greetings,
Niklas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20080806/196433c6/attachment.bin>


More information about the wxruby-users mailing list