Re: libglademm segfault



> I compiled an extremely simple libglademm program, but it segfaults for
> some unapparent reason.
>
>
> "(process:17439): GLib-GObject-CRITICAL **: gtype.c:2254: initialization
> assertion failed, use IA__g_type_init() prior to this function
> Segmentation fault"

As suggested by the error, you have not initialized the libraries.
Instiating a Gtk::Main object should do it, but look at the libglademm
example.

Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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