cannot build ivt src

Help
2010-09-11
2013-05-09
  • I am getting pango related errors.

    Here is my output

    /usr/include/pango-1.0/pango/pango-context.h:78: error: ‘PangoContext’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-context.h:78: error: ‘context’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-context.h:79: error: variable or field ‘pango_context_set_base_gravity’ declared void
    /usr/include/pango-1.0/pango/pango-context.h:79: error: ‘PangoContext’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-context.h:79: error: ‘context’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-context.h:80: error: ‘PangoGravity’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-context.h:81: error: ‘PangoGravity’ does not name a type
    /usr/include/pango-1.0/pango/pango-context.h:82: error: ‘PangoGravity’ does not name a type
    /usr/include/pango-1.0/pango/pango-context.h:83: error: variable or field ‘pango_context_set_gravity_hint’ declared void
    /usr/include/pango-1.0/pango/pango-context.h:83: error: ‘PangoContext’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-context.h:83: error: ‘context’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-context.h:84: error: expected primary-expression before ‘hint’
    /usr/include/pango-1.0/pango/pango-context.h:85: error: ‘PangoContext’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-context.h:85: error: ‘context’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-context.h:87: error: variable or field ‘pango_context_set_matrix’ declared void
    /usr/include/pango-1.0/pango/pango-context.h:87: error: ‘PangoContext’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-context.h:87: error: ‘context’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-context.h:88: error: expected primary-expression before ‘const’
    /usr/include/pango-1.0/pango/pango-context.h:89: error: ‘G_CONST_RETURN’ does not name a type
    /usr/include/pango-1.0/pango/pango-context.h:95: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-context.h:101: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-context.h:109: error: ‘G_END_DECLS’ does not name a type
    In file included from /usr/include/pango-1.0/pango/pango-engine.h:28,
                     from /usr/include/pango-1.0/pango/pango.h:30,
                     from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                     from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                     from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                     from /usr/include/gtk-2.0/gdk/gdk.h:32,
                     from /usr/include/gtk-2.0/gtk/gtk.h:32,
                     from ./gui/GTK/GTKMainWindow.h:18,
                     from gui/GUIFactory.cpp:239:
    /usr/include/pango-1.0/pango/pango-glyph.h:36: error: ‘gint32’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph.h:42: error: ‘PangoGlyphUnit’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph.h:43: error: ‘PangoGlyphUnit’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph.h:44: error: ‘PangoGlyphUnit’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph.h:51: error: ‘guint’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph.h:58: error: ‘PangoGlyph’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph.h:59: error: ‘PangoGlyphGeometry’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph.h:67: error: ‘gint’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph.h:76: error: ISO C++ forbids declaration of ‘gint’ with no type
    /usr/include/pango-1.0/pango/pango-glyph.h:76: error: expected ‘;’ before ‘*’ token
    /usr/include/pango-1.0/pango/pango-glyph.h:79: error: ‘gint’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph.h:86: error: ‘gint’ has not been declared
    /usr/include/pango-1.0/pango/pango-glyph.h:87: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph.h:112: error: ‘PangoAnalysis’ has not been declared
    /usr/include/pango-1.0/pango/pango-glyph.h:114: error: ‘gboolean’ has not been declared
    /usr/include/pango-1.0/pango/pango-glyph.h:119: error: ‘PangoAnalysis’ has not been declared
    /usr/include/pango-1.0/pango/pango-glyph.h:126: error: ISO C++ forbids declaration of ‘gchar’ with no type
    /usr/include/pango-1.0/pango/pango-glyph.h:126: error: expected ‘,’ or ‘…’ before ‘*’ token
    /usr/include/pango-1.0/pango/pango-glyph.h:131: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-glyph.h:133: error: ‘G_END_DECLS’ does not name a type
    In file included from /usr/include/pango-1.0/pango/pango.h:31,
                     from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                     from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                     from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                     from /usr/include/gtk-2.0/gdk/gdk.h:32,
                     from /usr/include/gtk-2.0/gtk/gtk.h:32,
                     from ./gui/GTK/GTKMainWindow.h:18,
                     from gui/GUIFactory.cpp:239:
    /usr/include/pango-1.0/pango/pango-enum-types.h:13: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:16: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:18: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:21: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:24: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:26: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:28: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:30: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:32: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:35: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:37: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:40: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:42: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:44: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:47: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:50: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:53: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-enum-types.h:55: error: ‘G_END_DECLS’ does not name a type
    In file included from /usr/include/pango-1.0/pango/pango.h:37,
                     from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                     from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                     from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                     from /usr/include/gtk-2.0/gdk/gdk.h:32,
                     from /usr/include/gtk-2.0/gtk/gtk.h:32,
                     from ./gui/GTK/GTKMainWindow.h:18,
                     from gui/GUIFactory.cpp:239:
    /usr/include/pango-1.0/pango/pango-glyph-item.h:42: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph-item.h:44: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-glyph-item.h:47: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-glyph-item.h:48: error: variable or field ‘pango_glyph_item_free’ declared void
    /usr/include/pango-1.0/pango/pango-glyph-item.h:48: error: ‘PangoGlyphItem’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-glyph-item.h:48: error: ‘glyph_item’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-glyph-item.h:49: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-glyph-item.h:52: error: variable or field ‘pango_glyph_item_letter_space’ declared void
    /usr/include/pango-1.0/pango/pango-glyph-item.h:52: error: ‘PangoGlyphItem’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-glyph-item.h:52: error: ‘glyph_item’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-glyph-item.h:53: error: expected primary-expression before ‘const’
    /usr/include/pango-1.0/pango/pango-glyph-item.h:54: error: ‘PangoLogAttr’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-glyph-item.h:54: error: ‘log_attrs’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-glyph-item.h:55: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-glyph-item.h:56: error: variable or field ‘pango_glyph_item_get_logical_widths’ declared void
    /usr/include/pango-1.0/pango/pango-glyph-item.h:56: error: ‘PangoGlyphItem’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-glyph-item.h:56: error: ‘glyph_item’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-glyph-item.h:57: error: expected primary-expression before ‘const’
    /usr/include/pango-1.0/pango/pango-glyph-item.h:58: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-glyph-item.h:65: error: ISO C++ forbids declaration of ‘PangoGlyphItem’ with no type
    /usr/include/pango-1.0/pango/pango-glyph-item.h:65: error: expected ‘;’ before ‘*’ token
    /usr/include/pango-1.0/pango/pango-glyph-item.h:66: error: ISO C++ forbids declaration of ‘gchar’ with no type
    /usr/include/pango-1.0/pango/pango-glyph-item.h:66: error: expected ‘;’ before ‘*’ token
    /usr/include/pango-1.0/pango/pango-glyph-item.h:79: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph-item.h:83: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph-item.h:86: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph-item.h:89: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph-item.h:90: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-glyph-item.h:92: error: ‘G_END_DECLS’ does not name a type
    In file included from /usr/include/pango-1.0/pango/pango-layout.h:28,
                     from /usr/include/pango-1.0/pango/pango.h:40,
                     from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                     from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                     from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                     from /usr/include/gtk-2.0/gdk/gdk.h:32,
                     from /usr/include/gtk-2.0/gtk/gtk.h:32,
                     from ./gui/GTK/GTKMainWindow.h:18,
                     from gui/GUIFactory.cpp:239:
    /usr/include/pango-1.0/pango/pango-tabs.h:46: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-tabs.h:48: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-tabs.h:53: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-tabs.h:54: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-tabs.h:55: error: variable or field ‘pango_tab_array_free’ declared void
    /usr/include/pango-1.0/pango/pango-tabs.h:55: error: ‘PangoTabArray’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:55: error: ‘tab_array’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:56: error: ‘gint’ does not name a type
    /usr/include/pango-1.0/pango/pango-tabs.h:57: error: variable or field ‘pango_tab_array_resize’ declared void
    /usr/include/pango-1.0/pango/pango-tabs.h:57: error: ‘PangoTabArray’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:57: error: ‘tab_array’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:58: error: ‘gint’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:59: error: variable or field ‘pango_tab_array_set_tab’ declared void
    /usr/include/pango-1.0/pango/pango-tabs.h:59: error: ‘PangoTabArray’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:59: error: ‘tab_array’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:60: error: ‘gint’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:61: error: expected primary-expression before ‘alignment’
    /usr/include/pango-1.0/pango/pango-tabs.h:62: error: ‘gint’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:63: error: variable or field ‘pango_tab_array_get_tab’ declared void
    /usr/include/pango-1.0/pango/pango-tabs.h:63: error: ‘PangoTabArray’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:63: error: ‘tab_array’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:64: error: ‘gint’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:65: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-tabs.h:65: error: ‘alignment’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:66: error: ‘gint’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:66: error: ‘location’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:67: error: variable or field ‘pango_tab_array_get_tabs’ declared void
    /usr/include/pango-1.0/pango/pango-tabs.h:67: error: ‘PangoTabArray’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:67: error: ‘tab_array’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:68: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-tabs.h:68: error: ‘alignments’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:69: error: ‘gint’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:69: error: ‘locations’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-tabs.h:71: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-tabs.h:74: error: ‘G_END_DECLS’ does not name a type
    In file included from /usr/include/pango-1.0/pango/pango.h:40,
                     from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                     from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                     from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                     from /usr/include/gtk-2.0/gdk/gdk.h:32,
                     from /usr/include/gtk-2.0/gtk/gtk.h:32,
                     from ./gui/GTK/GTKMainWindow.h:18,
                     from gui/GUIFactory.cpp:239:
    /usr/include/pango-1.0/pango/pango-layout.h:36: error: ‘PangoGlyphItem’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:72: error: ISO C++ forbids declaration of ‘PangoLayout’ with no type
    /usr/include/pango-1.0/pango/pango-layout.h:72: error: expected ‘;’ before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:73: error: ‘gint’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:74: error: ‘gint’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:75: error: ISO C++ forbids declaration of ‘GSList’ with no type
    /usr/include/pango-1.0/pango/pango-layout.h:75: error: expected ‘;’ before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:76: error: ‘guint’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:77: error: ‘guint’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:91: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:92: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:93: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:95: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:97: error: variable or field ‘pango_layout_set_attributes’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:97: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:97: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:98: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:98: error: ‘attrs’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:99: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:99: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:101: error: variable or field ‘pango_layout_set_text’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:101: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:101: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:102: error: expected primary-expression before ‘const’
    /usr/include/pango-1.0/pango/pango-layout.h:103: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:104: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:104: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:106: error: variable or field ‘pango_layout_set_markup’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:106: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:106: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:107: error: expected primary-expression before ‘const’
    /usr/include/pango-1.0/pango/pango-layout.h:108: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:110: error: variable or field ‘pango_layout_set_markup_with_accel’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:110: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:110: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:111: error: expected primary-expression before ‘const’
    /usr/include/pango-1.0/pango/pango-layout.h:112: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:113: error: ‘gunichar’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:114: error: ‘gunichar’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:114: error: ‘accel_char’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:116: error: variable or field ‘pango_layout_set_font_description’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:116: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:116: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:117: error: expected primary-expression before ‘const’
    /usr/include/pango-1.0/pango/pango-layout.h:119: error: ‘G_CONST_RETURN’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:121: error: variable or field ‘pango_layout_set_width’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:121: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:121: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:122: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:123: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:123: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:124: error: variable or field ‘pango_layout_set_height’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:124: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:124: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:125: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:126: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:126: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:127: error: variable or field ‘pango_layout_set_wrap’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:127: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:127: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:128: error: expected primary-expression before ‘wrap’
    /usr/include/pango-1.0/pango/pango-layout.h:129: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:129: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:130: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:131: error: variable or field ‘pango_layout_set_indent’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:131: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:131: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:132: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:133: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:133: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:134: error: variable or field ‘pango_layout_set_spacing’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:134: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:134: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:135: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:136: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:136: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:137: error: variable or field ‘pango_layout_set_justify’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:137: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:137: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:138: error: ‘gboolean’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:139: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:140: error: variable or field ‘pango_layout_set_auto_dir’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:140: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:140: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:141: error: ‘gboolean’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:142: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:143: error: variable or field ‘pango_layout_set_alignment’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:143: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:143: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:144: error: expected primary-expression before ‘alignment’
    /usr/include/pango-1.0/pango/pango-layout.h:145: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:145: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:147: error: variable or field ‘pango_layout_set_tabs’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:147: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:147: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:148: error: ‘PangoTabArray’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:148: error: ‘tabs’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:150: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:152: error: variable or field ‘pango_layout_set_single_paragraph_mode’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:152: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:152: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:153: error: ‘gboolean’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:154: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:156: error: variable or field ‘pango_layout_set_ellipsize’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:156: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:156: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:157: error: expected primary-expression before ‘ellipsize’
    /usr/include/pango-1.0/pango/pango-layout.h:158: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:158: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:159: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:161: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:161: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:163: error: variable or field ‘pango_layout_context_changed’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:163: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:163: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:165: error: variable or field ‘pango_layout_get_log_attrs’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:165: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:165: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:166: error: ‘PangoLogAttr’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:166: error: ‘attrs’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:167: error: ‘gint’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:167: error: ‘n_attrs’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:169: error: variable or field ‘pango_layout_index_to_pos’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:169: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:169: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:170: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:171: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:171: error: ‘pos’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:172: error: variable or field ‘pango_layout_index_to_line_x’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:172: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:172: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:173: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:174: error: ‘gboolean’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:175: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:176: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:177: error: variable or field ‘pango_layout_get_cursor_pos’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:177: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:177: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:178: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:179: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:179: error: ‘strong_pos’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:180: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:180: error: ‘weak_pos’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:181: error: variable or field ‘pango_layout_move_cursor_visually’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:181: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:181: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:182: error: ‘gboolean’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:183: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:184: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:185: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:186: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:187: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:188: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:193: error: variable or field ‘pango_layout_get_extents’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:193: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:193: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:194: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:194: error: ‘ink_rect’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:195: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:195: error: ‘logical_rect’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:196: error: variable or field ‘pango_layout_get_pixel_extents’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:196: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:196: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:197: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:197: error: ‘ink_rect’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:198: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:198: error: ‘logical_rect’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:199: error: variable or field ‘pango_layout_get_size’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:199: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:199: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:200: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:201: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:202: error: variable or field ‘pango_layout_get_pixel_size’ declared void
    /usr/include/pango-1.0/pango/pango-layout.h:202: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:202: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:203: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:204: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:205: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:205: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:207: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:207: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:208: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:208: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:209: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:209: error: initializer expression list treated as compound expression
    /usr/include/pango-1.0/pango/pango-layout.h:210: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:210: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:211: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-layout.h:211: error: initializer expression list treated as compound expression
    /usr/include/pango-1.0/pango/pango-layout.h:212: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:213: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:218: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:223: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:229: error: ‘gboolean’ has not been declared
    /usr/include/pango-1.0/pango/pango-layout.h:247: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:249: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:249: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-layout.h:254: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:255: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:258: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:259: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-layout.h:261: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:262: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:263: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:264: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-layout.h:288: error: ‘G_END_DECLS’ does not name a type
    In file included from /usr/include/pango-1.0/pango/pango.h:42,
                     from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                     from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                     from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                     from /usr/include/gtk-2.0/gdk/gdk.h:32,
                     from /usr/include/gtk-2.0/gtk/gtk.h:32,
                     from ./gui/GTK/GTKMainWindow.h:18,
                     from gui/GUIFactory.cpp:239:
    /usr/include/pango-1.0/pango/pango-renderer.h:74: error: ‘GObject’ does not name a type
    /usr/include/pango-1.0/pango/pango-renderer.h:77: error: ‘gboolean’ does not name a type
    /usr/include/pango-1.0/pango/pango-renderer.h:81: error: ISO C++ forbids declaration of ‘PangoMatrix’ with no type
    /usr/include/pango-1.0/pango/pango-renderer.h:81: error: expected ‘;’ before ‘*’ token
    /usr/include/pango-1.0/pango/pango-renderer.h:113: error: ‘GObjectClass’ does not name a type
    /usr/include/pango-1.0/pango/pango-renderer.h:121: error: ‘PangoRenderer’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:126: error: ‘PangoRenderer’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:132: error: ‘PangoRenderer’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:139: error: ‘PangoRenderer’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:147: error: ‘PangoRenderer’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:155: error: ‘PangoRenderer’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:157: error: ‘PangoGlyph’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:163: error: ‘PangoRenderer’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:168: error: ‘PangoRenderer’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:169: error: ‘PangoRenderer’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:173: error: ‘PangoRenderer’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:174: error: ‘PangoLayoutRun’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:179: error: ‘PangoRenderer’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:181: error: ‘PangoGlyphItem’ has not been declared
    /usr/include/pango-1.0/pango/pango-renderer.h:193: error: ‘GType’ does not name a type
    /usr/include/pango-1.0/pango/pango-renderer.h:195: error: variable or field ‘pango_renderer_draw_layout’ declared void
    /usr/include/pango-1.0/pango/pango-renderer.h:195: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:195: error: ‘renderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:196: error: ‘PangoLayout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:196: error: ‘layout’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:197: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:198: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:199: error: variable or field ‘pango_renderer_draw_layout_line’ declared void
    /usr/include/pango-1.0/pango/pango-renderer.h:199: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:199: error: ‘renderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:200: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-renderer.h:200: error: ‘line’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:201: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:202: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:203: error: variable or field ‘pango_renderer_draw_glyphs’ declared void
    /usr/include/pango-1.0/pango/pango-renderer.h:203: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:203: error: ‘renderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:204: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-renderer.h:204: error: ‘font’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:205: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-renderer.h:205: error: ‘glyphs’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:206: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:207: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:208: error: variable or field ‘pango_renderer_draw_glyph_item’ declared void
    /usr/include/pango-1.0/pango/pango-renderer.h:208: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:208: error: ‘renderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:209: error: expected primary-expression before ‘const’
    /usr/include/pango-1.0/pango/pango-renderer.h:210: error: ‘PangoGlyphItem’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:210: error: ‘glyph_item’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:211: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:212: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:213: error: variable or field ‘pango_renderer_draw_rectangle’ declared void
    /usr/include/pango-1.0/pango/pango-renderer.h:213: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:213: error: ‘renderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:214: error: expected primary-expression before ‘part’
    /usr/include/pango-1.0/pango/pango-renderer.h:215: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:216: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:217: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:218: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:219: error: variable or field ‘pango_renderer_draw_error_underline’ declared void
    /usr/include/pango-1.0/pango/pango-renderer.h:219: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:219: error: ‘renderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:220: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:221: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:222: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:223: error: expected primary-expression before ‘int’
    /usr/include/pango-1.0/pango/pango-renderer.h:224: error: variable or field ‘pango_renderer_draw_trapezoid’ declared void
    /usr/include/pango-1.0/pango/pango-renderer.h:224: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:224: error: ‘renderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:225: error: expected primary-expression before ‘part’
    /usr/include/pango-1.0/pango/pango-renderer.h:226: error: expected primary-expression before ‘double’
    /usr/include/pango-1.0/pango/pango-renderer.h:227: error: expected primary-expression before ‘double’
    /usr/include/pango-1.0/pango/pango-renderer.h:228: error: expected primary-expression before ‘double’
    /usr/include/pango-1.0/pango/pango-renderer.h:229: error: expected primary-expression before ‘double’
    /usr/include/pango-1.0/pango/pango-renderer.h:230: error: expected primary-expression before ‘double’
    /usr/include/pango-1.0/pango/pango-renderer.h:231: error: expected primary-expression before ‘double’
    /usr/include/pango-1.0/pango/pango-renderer.h:232: error: variable or field ‘pango_renderer_draw_glyph’ declared void
    /usr/include/pango-1.0/pango/pango-renderer.h:232: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:232: error: ‘renderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:233: error: expected primary-expression before ‘*’ token
    /usr/include/pango-1.0/pango/pango-renderer.h:233: error: ‘font’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:234: error: ‘PangoGlyph’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:235: error: expected primary-expression before ‘double’
    /usr/include/pango-1.0/pango/pango-renderer.h:236: error: expected primary-expression before ‘double’
    /usr/include/pango-1.0/pango/pango-renderer.h:238: error: variable or field ‘pango_renderer_activate’ declared void
    /usr/include/pango-1.0/pango/pango-renderer.h:238: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:238: error: ‘renderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:239: error: variable or field ‘pango_renderer_deactivate’ declared void
    /usr/include/pango-1.0/pango/pango-renderer.h:239: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:239: error: ‘renderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:241: error: variable or field ‘pango_renderer_part_changed’ declared void
    /usr/include/pango-1.0/pango/pango-renderer.h:241: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:241: error: ‘renderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:242: error: expected primary-expression before ‘part’
    /usr/include/pango-1.0/pango/pango-renderer.h:244: error: variable or field ‘pango_renderer_set_color’ declared void
    /usr/include/pango-1.0/pango/pango-renderer.h:244: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:244: error: ‘renderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:245: error: expected primary-expression before ‘part’
    /usr/include/pango-1.0/pango/pango-renderer.h:246: error: expected primary-expression before ‘const’
    /usr/include/pango-1.0/pango/pango-renderer.h:247: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-renderer.h:250: error: variable or field ‘pango_renderer_set_matrix’ declared void
    /usr/include/pango-1.0/pango/pango-renderer.h:250: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:250: error: ‘renderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:251: error: expected primary-expression before ‘const’
    /usr/include/pango-1.0/pango/pango-renderer.h:252: error: ‘G_CONST_RETURN’ does not name a type
    /usr/include/pango-1.0/pango/pango-renderer.h:254: error: expected constructor, destructor, or type conversion before ‘*’ token
    /usr/include/pango-1.0/pango/pango-renderer.h:255: error: ‘PangoRenderer’ was not declared in this scope
    /usr/include/pango-1.0/pango/pango-renderer.h:255: error: ‘renderer’ was not declared in this scope
    In file included from /usr/include/pango-1.0/pango/pango-utils.h:25,
                     from /usr/include/pango-1.0/pango/pango.h:46,
                     from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                     from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                     from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                     from /usr/include/gtk-2.0/gdk/gdk.h:32,
                     from /usr/include/gtk-2.0/gtk/gtk.h:32,
                     from ./gui/GTK/GTKMainWindow.h:18,
                     from gui/GUIFactory.cpp:239:
    /usr/include/stdio.h:30: error: expected constructor, destructor, or type conversion before ‘extern’
    make: ***  Error 1

    I did an apt-get install libgtk2.0-dev

    Thanks.

     
  • Pedram Azad
    Pedram Azad
    2010-09-12

    Hi,

    this seems not to be an IVT error, as the error is somehow GTK internal. The starting point is that GObject is undeclared, which is e.g. used by the struct PangoRenderer. I have no idea, why GObject is not declared in your case. Maybe something is wrong with your GTK installation?

    I found the definition of the struct _GObject and "typedef _GObject GObject;" in the file /usr/include/glib-2.0/gobject/gobject.h" on my system. Do you have that file? Can you find these definitions there?

    Hope that helps as a starting point…

    Pedram

     
  • Thanks Pedram,

    I  copied a glib-2.0 directory from another machine and got it working, although I don't know why the apt-get method didn't properly install it.

    :)