libglademm segfault
- From: Vincent Geddes <vgeddes metroweb co za>
- To: gnomemm-list gnome org
- Subject: libglademm segfault
- Date: Mon, 22 Aug 2005 14:07:10 +0200
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"
"main.cc"
#include <gtkmm/main.h>
#include <libglademm.h>
#include <string>
using namespace std;
int main(int argc, char *argv[])
{
Glib::RefPtr<Gnome::Glade::Xml> refXml =
Gnome::Glade::Xml::create("gui.glade");
}
---
compiled with:
g++ main.cc -o main `pkg-config --libs --cflags libglademm-2.4
gtkmm-2.4`
debug output:
0x7867fe8 in Glib::ustring::operator+=()
from /usr/lib/libglibmm-2.4.so.1
Any help would be appreciated
Vincent Geddes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]