PDA

View Full Version : run time error in C++



c0mput3r_n3rD
July 8th, 2009, 11:44 PM
(process:764): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.20.1/gobject/gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:764): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:764): Gdk-CRITICAL **: gdk_cursor_new_for_display: assertion `GDK_IS_DISPLAY (display)' failed

(process:764): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.20.1/gobject/gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:764): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:764): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.20.1/gobject/gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:764): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.20.1/gobject/gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:764): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.20.1/gobject/gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:764): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:764): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.20.1/gobject/gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:764): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:764): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.20.1/gobject/gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:764): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.20.1/gobject/gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:764): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:764): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.20.1/gobject/gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:764): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:764): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.20.1/gobject/gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:764): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.20.1/gobject/gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function

(process:764): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:764): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed


(process:764): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)

Mirge
July 9th, 2009, 01:02 AM
What was wrong with the first thread?

c0mput3r_n3rD
July 9th, 2009, 01:08 AM
No one was responding, so I'm changing the question because I need to know something different. It compiles but now it doesn't run

dwhitney67
July 9th, 2009, 01:10 AM
It would seem that you are not initializing the toolkit.

c0mput3r_n3rD
July 9th, 2009, 01:24 AM
And how would I initialize the tool kit?

dwhitney67
July 9th, 2009, 01:51 AM
Look at this link (http://asis.epfl.ch/GNU.MISC/gtk-1.2.8/gdk_3.html). At a minimum, your app should do exactly what is shown.

I am not familiar with the GDK library; I would assume you are since, after all, you are the one using it. Surely you have appropriate documentation and/or a tutorial that walks you through the most basic of applications?

c0mput3r_n3rD
July 9th, 2009, 02:00 AM
No that's the problem, it's out of text book that I'm learning it, and it gives nothing about compiling it, installing the packages, just how to code it. I'll definitely check out that link though thank you.