glibmm-CRITICAL **: Glib::ObjectBase* Glib::wrap_create_new_wrapper(GObject*): assertion `wrap_func_table != 0' failed



Hello

I'm a begginer with gtkmm. Now, I'm learning how to use it.
Well I was working with the 2.4 version, but is available the 3.0 so I moved  to this version. And I was reading the book "Programming with gtkmm3", downloaded from the official site. 

I have compiled the second example (with main.cc, buttons.h and buttons.cc), with no errors. But, when I wanted run it from the command line I received this

(a.out:7403): glibmm-CRITICAL **: Glib::ObjectBase* Glib::wrap_create_new_wrapper(GObject*): assertion `wrap_func_table != 0' failed

(a.out:7403): glibmm-WARNING **: Failed to wrap object of type 'GtkWindowAccessible'. Hint: this error is commonly caused by failing to call a library init() function.

** (a.out:7403): CRITICAL **: atk_object_get_role: assertion `ATK_IS_OBJECT (accessible)' failed

** (a.out:7403): CRITICAL **: atk_object_get_role: assertion `ATK_IS_OBJECT (accessible)' failed

** (a.out:7403): CRITICAL **: atk_object_set_parent: assertion `ATK_IS_OBJECT (accessible)' failed

(a.out:7403): glibmm-CRITICAL **: Glib::ObjectBase* Glib::wrap_create_new_wrapper(GObject*): assertion `wrap_func_table != 0' failed

(a.out:7403): glibmm-WARNING **: Failed to wrap object of type 'GtkWindowAccessible'. Hint: this error is commonly caused by failing to call a library init() function.
Segment violation.

I work with Debian-Linux in the testing branch with the gtkmm-3.0 library. 

I need to know how to fix this error to continue learning about gtkmm. Can you help me?

Thanks for your time. 


--
Saludos

Joaquín Pérez Valera


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]