comp.lang.ada
 help / color / mirror / Atom feed
From: Dr Nancy's Sweetie <kilroy@copland.rowan.edu>
Subject: GtkAda Build Fails With Assertion Errors
Date: Sat, 09 Mar 2002 18:37:32 GMT
Date: 2002-03-09T18:37:32+00:00	[thread overview]
Message-ID: <MDsi8.3315$T_.56975@iad-read.news.verio.net> (raw)


I've designed a new window with Glade, and when I go to build it I get
the same error message 42 times:

    Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup):
    assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.


In the interest of getting more data, I went ahead with the compile,
(gnatmake foo `gtkada-config`), and got:

    adagcc -c -I/usr/X11R6/include/gtkada foo.adb
    main_window_pkg.ads:29:15: "Gtk_Pixmap_Menu_Item" is undefined (more
    references follow)
    gnatmake: "foo.adb" compilation error


I'm pretty sure gtkada-config is okay, because I've compiled a few
downloaded programs and they worked.  The output of "gtkada-config" is:

    -I/usr/X11R6/include/gtkada -largs -L/usr/X11R6/include/gtkada
    -L/usr/X11R6/lib -lgtkada -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12
    -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXext
    -lX11 -lm


And I turned up "/usr/X11R6/include/gtkada/gtk-pixmap_menu_item.ads",
which declares the "Gtk.Pixmap_Menu_Item" package, and which does
include type "Gtk_Pixmap_Menu_Item".

    "glade --version" says: "Gnome Glade 0.6.2"
    "gtkada-config --version" says: "1.2.12"


So, any ideas?  I tried a Google search, but got either a zillion
hits or none.  (One point of this posting is so that the next person
who does a search on the same keywords will get something out.)


Darren F Provine ! kilroy@copland.rowan.edu ! http://www.rowan.edu/~kilroy



             reply	other threads:[~2002-03-09 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-09 18:37 Dr Nancy's Sweetie [this message]
2002-03-09 21:20 ` GtkAda Build Fails With Assertion Errors David C. Hoos, Sr.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox