[ros-users] Program with wxFrame

Josh Faust jfaust at willowgarage.com
Thu Aug 26 18:32:51 UTC 2010


This is not ROS related, and does not belong on this mailing list.  I would
recommend going through the wxwidgets tutorials:
http://wxwidgets.org/docs/tutorials.htm, and using their mailing lists for
any questions.

Josh

On Thu, Aug 26, 2010 at 10:27 AM, #HONG HUAJIE# <HONG0107 at e.ntu.edu.sg>wrote:

>   Hi to all,
>
> I try to run wxFrame on my program but my Error Report inform me that
> "You forgot to call g_type_init()"
>
> But when i insert inside the program, my Error Report inform me that
> error: ‘g_type_init’ was not declared in this scope program
>
> What approach should i used to solve this problem?
>
> With regards,
> Hua Jie
> ------------------------ Error -----------------------
> [ INFO] [1282842581.061521339]: Connected to master at [localhost:11311]
>
> (process:2327): GLib-GObject-CRITICAL **:
> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call
> g_type_init()
>
> (process:2327): GLib-CRITICAL **: g_once_init_leave: assertion
> `initialization_value != 0' failed
>
> (process:2327): Gdk-CRITICAL **: gdk_cursor_new_for_display: assertion
> `GDK_IS_DISPLAY (display)' failed
>
> (process:2327): GLib-GObject-CRITICAL **:
> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call
> g_type_init()
>
> (process:2327): GLib-CRITICAL **: g_once_init_leave: assertion
> `initialization_value != 0' failed
>
> (process:2327): GLib-GObject-CRITICAL **:
> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call
> g_type_init()
>
> (process:2327): GLib-GObject-CRITICAL **:
> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call
> g_type_init()
>
> (process:2327): GLib-GObject-CRITICAL **:
> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call
> g_type_init()
>
> (process:2327): GLib-GObject-CRITICAL **: g_type_add_interface_static:
> assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
>
> (process:2327): GLib-GObject-CRITICAL **:
> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call
> g_type_init()
>
> (process:2327): GLib-GObject-CRITICAL **: g_type_add_interface_static:
> assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
>
> (process:2327): GLib-GObject-CRITICAL **:
> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call
> g_type_init()
>
> (process:2327): GLib-GObject-CRITICAL **:
> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call
> g_type_init()
>
> (process:2327): GLib-GObject-CRITICAL **: g_type_add_interface_static:
> assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
>
> (process:2327): GLib-GObject-CRITICAL **:
> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call
> g_type_init()
>
> (process:2327): GLib-CRITICAL **: g_once_init_leave: assertion
> `initialization_value != 0' failed
>
> (process:2327): GLib-GObject-CRITICAL **:
> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call
> g_type_init()
>
> (process:2327): GLib-GObject-CRITICAL **:
> /build/buildd/glib2.0-2.24.1/gobject/gtype.c:2706: You forgot to call
> g_type_init()
>
> (process:2327): GLib-GObject-CRITICAL **: g_type_add_interface_static:
> assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
>
> (process:2327): GLib-CRITICAL **: g_once_init_leave: assertion
> `initialization_value != 0' failed
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100826/75b3e110/attachment-0003.html>


More information about the ros-users mailing list