Re: glibmm-CRITICAL **: Glib::ObjectBase* Glib::wrap_create_new_wrapper(GObject*): assertion `wrap_func_table != 0' failed
- From: José Alburquerque <jaalburquerque gmail com>
- To: Joaquin Pérez Valera <joaquinperezvalera gmail com>
- Cc: gtkmm list <gtkmm-list gnome org>
- Subject: Re: glibmm-CRITICAL **: Glib::ObjectBase* Glib::wrap_create_new_wrapper(GObject*): assertion `wrap_func_table != 0' failed
- Date: Fri, 02 Nov 2012 14:22:19 -0400
On Fri, 2012-11-02 at 11:22 -0600, Joaquin Pérez Valera wrote:
> Hello José
>
>
> I looked for the version with
>
>
> #pkg-config --modversion gtkmm-3.0
>
>
> And the answer was: 3.4.2
>
>
> The example I was trying to compile was not modified. (I attach the
> files).
Could you say how you compile the example? You said that you get no
errors when compiling, right?
>
> Thanks for your help.
>
>
> Joaquín
>
>
>
>
> 2012/11/2 José Alburquerque <jaalburquerque gmail com>
> On Thursday, November 1, 2012, Joaquin Pérez Valera wrote:
> 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.
>
>
> Is this the actual unmodified example from the book? The
> example runs fine on my ubuntu 12.04 system (which also has
> gtkmm-3.0). Maybe you modified it in some way? The
> errors/warnings suggest that gtkmm has not been initialized,
> but that should not be happening with the example. By the
> way, what version of gtkmm-3.0 does `pkg-config --modeversion
> gktmm-3.0' report your on system?
>
>
> --
> José
>
>
>
>
> --
> Saludos
>
> Joaquín Pérez Valera
>
--
José
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]