---- Makefile ----- hw: CC -g -c helloworld.cc `pkg-config gtkmm-2.4 --cflags` CC -g -o hw main.cc helloworld.o `pkg-config gtkmm-2.4 --cflags --libs` --- Makefile ------ # the error when trying to run helloworld as provided by gtkmm project # documentation (hw:448): GLib-GObject-WARNING **: cannot create class for `GtkFileChooser', derived from non-classed parent type `GInterface' (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1155: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1873: assertion `g_type_parent (interface_type) == G_TYPE_INTERFACE' failed (hw:448): GLib-GObject-WARNING **: cannot create class for `GtkFileChooser', derived from non-classed parent type `GInterface' (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1155: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1873: assertion `g_type_parent (interface_type) == G_TYPE_INTERFACE' failed (hw:448): GLib-GObject-WARNING **: cannot create class for `GtkFileChooser', derived from non-classed parent type `GInterface' (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1155: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1873: assertion `g_type_parent (interface_type) == G_TYPE_INTERFACE' failed (hw:448): GLib-GObject-WARNING **: cannot create class for `GtkFileChooserEmbed', derived from non-classed parent type `GInterface' (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1155: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1873: assertion `g_type_parent (interface_type) == G_TYPE_INTERFACE' failed (hw:448): GLib-GObject-WARNING **: cannot create class for `GtkFileChooser', derived from non-classed parent type `GInterface' (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1155: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1873: assertion `g_type_parent (interface_type) == G_TYPE_INTERFACE' failed (hw:448): GLib-GObject-WARNING **: cannot create class for `GtkFileChooser', derived from non-classed parent type `GInterface' (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1155: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1873: assertion `g_type_parent (interface_type) == G_TYPE_INTERFACE' failed (hw:448): GLib-GObject-WARNING **: cannot create class for `GtkFileChooser', derived from non-classed parent type `GInterface' (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1155: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed (hw:448): GLib-GObject-CRITICAL **: file gtype.c: line 1873: assertion `g_type_parent (interface_type) == G_TYPE_INTERFACE' failed Gdk-ERROR **: The program 'hw' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAtom (invalid Atom parameter)'. (Details: serial 11 error_code 5 request_code 18 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) aborting...