Re: compiler error



Gtkmm2 is not compatible with gtk3. It doesn't depend on the compiler. If you want to use glibmm2, you must also use gtk2.

2013-08-09 00:18, Kemin Zhou bmsid=00337162 skrev:
I am trying to compiler gtkmm2.99,
Some some packages, they don't like gtk3.*

I am not sure this is because that I am using a newer compiler or not:


cal/include/c++/4.8.1 -MT event.lo -MD -MP -MF .deps/event.Tpo -c -o
event.lo event.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I.. -I../.. -DG_LOG_DOMAIN=
\"gdkmm\" -DGDKMM_BUILD=1 -pthread -pthread
-I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include
-I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include
-I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include
-I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include
-I/usr/local/include/pango-1.0 -I/usr/local/include/cairo
-I/usr/local/include -I/usr/local/include/freetype2
-I/usr/local/include/gtk-3.0 -I/usr/local/include/atk-1.0
-I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/gdk-pixbuf-2.0
-I/usr/local/include/harfbuzz -I/usr/include/pixman-1
-I/usr/include/libpng12 -I/usr/include/at-spi2-atk/2.0 -Wall
-I/usr/local/include/boost -I/usr/local/include/c++/4.8.1 -MT event.lo
-MD -MP -MF .deps/event.Tpo -c event.cc  -fPIC -DPIC -o .libs/event.o
event.cc: In static member function ‘static GType
Glib::Value<Gdk::ExtensionMode>::value_type()’:
event.cc:51:38: error: ‘gdk_extension_mode_get_type’ was not declared in
this scope
    return gdk_extension_mode_get_type();
                                       ^
event.cc:52:1: warning: control reaches end of non-void function
[-Wreturn-type]
  }

Kemin





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]