Installation of GTK and GLADE for Windows

After going thru the steps outline here,
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Install+Guide+for+Windows,
I’m getting the following error messages when I test the installation
as indicated in step #4. I checked and made the necessary changes to
the PATH environment variable. Ideas anyone?

C:>ruby -e “require ‘gtk2’”
c:/ruby/lib/ruby/site_ruby/1.8/glib2.rb: line 44
GLib-GObject-CRITICAL **:g_boxed_type_register_static: assertion
g_type_from _name (name) == 0' failed c:/ruby/lib/ruby/site_ruby/1.8/glib2.rb: line 44 GLib-GObject-CRITICAL **:g_param_spec_boxed: assertionG_TYPE_IS_BOXED (boxe
d_type)’ failed
c:/ruby/lib/ruby/site_ruby/1.8/glib2.rb: line 44
GLib-GObject-CRITICAL **:g_object_class_install_property: assertion
G_IS_PAR AM_SPEC (pspec)' failed c:/ruby/lib/ruby/site_ruby/1.8/glib2.rb: line 44 GLib-GObject-CRITICAL **:g_boxed_type_register_static: assertiong_type_from
_name (name) == 0’ failed
c:/ruby/lib/ruby/site_ruby/1.8/glib2.rb: line 44
GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion
G_TYPE_IS_BOXED (boxe d_type)' failed c:/ruby/lib/ruby/site_ruby/1.8/glib2.rb: line 44 GLib-GObject-CRITICAL **:g_object_class_install_property: assertionG_IS_PAR
AM_SPEC (pspec)’ failed

I had the same error here, try to download and install this version of
GTK:
http://gladewin32.sourceforge.net/modules/wfdownloads/visit.php?cid=12&lid=104
at least:
require ‘gtk2’
doesn’t errorize :slight_smile:

Enrico

Patrick S. ha scritto:

agenteo wrote:

I had the same error here, try to download and install this version of
GTK:
http://gladewin32.sourceforge.net/modules/wfdownloads/visit.php?cid=12&lid=104
at least:
require ‘gtk2’
doesn’t errorize :slight_smile:

Enrico

That’s much better, thanks!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs