comp.lang.ada
 help / color / mirror / Atom feed
* GtkAda Build Fails With Assertion Errors
@ 2002-03-09 18:37 Dr Nancy's Sweetie
  2002-03-09 21:20 ` David C. Hoos, Sr.
  0 siblings, 1 reply; 2+ messages in thread
From: Dr Nancy's Sweetie @ 2002-03-09 18:37 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GtkAda Build Fails With Assertion Errors
  2002-03-09 18:37 GtkAda Build Fails With Assertion Errors Dr Nancy's Sweetie
@ 2002-03-09 21:20 ` David C. Hoos, Sr.
  0 siblings, 0 replies; 2+ messages in thread
From: David C. Hoos, Sr. @ 2002-03-09 21:20 UTC (permalink / raw)


A more appropriate forum in which to get an answer to this
might be the gtkada mailing list
gtkada@lists.act-europe.fr
http://lists.act-europe.fr/mailman/listinfo/gtkada
 
----- Original Message ----- 
From: "Dr Nancy's Sweetie" <kilroy@copland.rowan.edu>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: March 09, 2002 12:37 PM
Subject: GtkAda Build Fails With Assertion Errors


> 
> 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
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
> 





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-09 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-09 18:37 GtkAda Build Fails With Assertion Errors Dr Nancy's Sweetie
2002-03-09 21:20 ` David C. Hoos, Sr.

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