Re: compiler error

2013-08-12 Thread Kjell Ahlstedt
Oops, I see now that the gtkmm-2.9x versions (2.90, 2.91, 2.99) are 
actually unstable very early versions of gtkmm-3. They can probably only 
be used together with equally early versions of gtk+-3. I recommend that 
you don't use them. If you need gtkmm-2, use gtkmm-2.24.4, if you have 
gtk+-2.24.x installed, or else compatible versions of gtkmm-2.xx and 
gtk+-2.xx. Don't use gtkmm-2.24.3. It has many problems, as discussed in 
bug https://bugzilla.gnome.org/show_bug.cgi?id=697835.


It's not necessary to install gtk+-2 and gtk+-3 with different prefixes. 
gtk+-2 and gtk+-3, as well as gtkmm-2 and gtkmm-3, can be installed in 
parallel in /usr. But it does no harm to install them at different 
locations.


Kjell

2013-08-12 16:08, Zhou, Kemin skrev:

Kjell,

Thanks a lot.
I have gtk2 install at /usr, and gtk3 install at /usr/local
Is there a way to tell it to use gtk2 (from /usr) in the configuration step?
I also have a lower version of g++ at /usr.  Some other packages depends on
Newer G++, so I installed it at a different location.

I can switch to g++ to a different version easily.  Is there an option
At the configuration step?

Kemin Zhou
Phone: 609 818-4265


-Original Message-
From: Kjell Ahlstedt [mailto:kjell.ahlst...@bredband.net]
Sent: Sunday, August 11, 2013 5:13 AM
To: Zhou, Kemin
Cc: gtkmm-list@gnome.org
Subject: 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:





___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: compiler error

2013-08-11 Thread Kjell Ahlstedt
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::ValueGdk::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




___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list