# Installation of GTK and GLADE for Windows

**URL:** <https://www.ruby-forum.com/t/installation-of-gtk-and-glade-for-windows/76340>\
**Category:** Ruby\
**Created:** [November 17, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/installation-of-gtk-and-glade-for-windows/76340 "2006-11-17T18:06:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkspence](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a88e57/32.png) [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Post date:** [November 17, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/installation-of-gtk-and-glade-for-windows/76340/1 "2006-11-17T18:06:45Z")

</div>

After going thru the steps outline here,  
[http://ruby-gnome2.sourceforge.jp/hiki.cgi?Install+Guide+for+Windows](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: 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: 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: 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: 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: assertion `G\_IS\_PAR  
AM\_SPEC (pspec)’ failed

---

<div class="post-metadata">

**Author:** ![pkspence](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a88e57/32.png) [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Post date:** [November 17, 2006, 6:56pm UTC](https://www.ruby-forum.com/t/installation-of-gtk-and-glade-for-windows/76340/2 "2006-11-17T18:56:55Z")

</div>

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](http://gladewin32.sourceforge.net/modules/wfdownloads/visit.php?cid=12&lid=104)  
at least:  
require ‘gtk2’  
doesn’t errorize 🙂

Enrico

Patrick S. ha scritto:

---

<div class="post-metadata">

**Author:** ![pkspence](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a88e57/32.png) [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Post date:** [November 17, 2006, 7:04pm UTC](https://www.ruby-forum.com/t/installation-of-gtk-and-glade-for-windows/76340/3 "2006-11-17T19:04:58Z")

</div>

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](http://gladewin32.sourceforge.net/modules/wfdownloads/visit.php?cid=12&lid=104)  
> at least:  
> require ‘gtk2’  
> doesn’t errorize 🙂
> 
> Enrico

That’s much better, thanks!
