Re: libglademm segfault

"Murray Cumming" <[email protected]> Mon, 22 Aug 2005 18:14:51 +0200 (CEST)
Newsgroups gmane.comp.gnome.gnomemm
Message-ID <[email protected]>
> I compiled an extremely simple libglademm program, but it segfaults for
> some unapparent reason.
>
>
> "(process:17439): GLib-GObject-CRITICAL **: gtype.c:2254: initializatio=
n
> 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
[email protected]
www.murrayc.com
www.openismus.com