When i'm trying to build Dolphin in 12.04 i'm getting this:
[ 4%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/dockart.cpp.o
In file included from /usr/include/glib-2.0/glib.h:108:0,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:25,
from /usr/include/glib-2.0/gio/gioenums.h:30,
from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from /mnt/Files/Develop/dolphin-git/dolphin-emu/Externals/wxWidgets3/src/aui/dockart.cpp:44:
/usr/include/glib-2.0/glib/deprecated/gthread.h:126:0: warning: "g_static_mutex_get_mutex" redefined [enabled by default]
/usr/include/glib-2.0/glibconfig.h:171:0: note: this is the location of the previous definition
/usr/include/glib-2.0/glib/deprecated/gthread.h:127:0: warning: "G_STATIC_MUTEX_INIT" redefined [enabled by default]
/usr/include/glib-2.0/glibconfig.h:170:0: note: this is the location of the previous definition
In file included from /usr/include/glib-2.0/glib.h:108:0,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:25,
from /usr/include/glib-2.0/gio/gioenums.h:30,
from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from /mnt/Files/Develop/dolphin-git/dolphin-emu/Externals/wxWidgets3/src/aui/dockart.cpp:44:
/usr/include/glib-2.0/glib/deprecated/gthread.h:135:3: error: conflicting declaration ‘typedef struct GStaticMutex GStaticMutex’
/usr/include/glib-2.0/glibconfig.h:159:30: error: ‘GStaticMutex’ has a previous declaration as ‘typedef struct _GStaticMutex GStaticMutex’
make[2]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/dockart.cpp.o] Error 1
make[1]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/all] Error 2
make: *** [all] Error 2
Everything was fine in 11.10.
Looks like something is really messed up with GTK libraries. Any ideas on fix, like maybe i need to remove some libraries and install something else or there's a ppa with GTK ?
[ 4%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/dockart.cpp.o
In file included from /usr/include/glib-2.0/glib.h:108:0,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:25,
from /usr/include/glib-2.0/gio/gioenums.h:30,
from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from /mnt/Files/Develop/dolphin-git/dolphin-emu/Externals/wxWidgets3/src/aui/dockart.cpp:44:
/usr/include/glib-2.0/glib/deprecated/gthread.h:126:0: warning: "g_static_mutex_get_mutex" redefined [enabled by default]
/usr/include/glib-2.0/glibconfig.h:171:0: note: this is the location of the previous definition
/usr/include/glib-2.0/glib/deprecated/gthread.h:127:0: warning: "G_STATIC_MUTEX_INIT" redefined [enabled by default]
/usr/include/glib-2.0/glibconfig.h:170:0: note: this is the location of the previous definition
In file included from /usr/include/glib-2.0/glib.h:108:0,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:25,
from /usr/include/glib-2.0/gio/gioenums.h:30,
from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from /mnt/Files/Develop/dolphin-git/dolphin-emu/Externals/wxWidgets3/src/aui/dockart.cpp:44:
/usr/include/glib-2.0/glib/deprecated/gthread.h:135:3: error: conflicting declaration ‘typedef struct GStaticMutex GStaticMutex’
/usr/include/glib-2.0/glibconfig.h:159:30: error: ‘GStaticMutex’ has a previous declaration as ‘typedef struct _GStaticMutex GStaticMutex’
make[2]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/dockart.cpp.o] Error 1
make[1]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/all] Error 2
make: *** [all] Error 2
Everything was fine in 11.10.
Looks like something is really messed up with GTK libraries. Any ideas on fix, like maybe i need to remove some libraries and install something else or there's a ppa with GTK ?