Re: [gtk-list] please help writing gtk apps for gnome with c++

Peter Berlau <> writes:

> libgtk1         1.0.6-2         libgtk1.1       1.1.2-2
> libgtk1.1.6     1.1.6-1         libgtk1.2       1.2.0-1
> libgtk1.2-dev   1.2.0-1         libgtk1.2-doc   1.2.0-1 

Why do you need so many versions of GTK+ ?

> /usr/include/gtk--/accelerator.h:8: gtk/gtkaccelerator.h: No such file or directory
> In file included from
> /usr/include/gtk--.h:239: gtk--/itemfactory.h: No such file or directory
> I have compiled with
>   g++ -o $1 $1.cxx -I/usr/lib/Gtk--/include -lgtkmm `gtk-config --cflags`
> What do I wrong, or do I must install other additional libraries,

Er, no, your problem is the opposite : you have too many librairies

Gtk-- is confused because it's compiled for GTK+ 1.0.6, but the GTK+
1.2 includes are seen first. Get rid of all GTK+ versions except 1.2,
and recompile Gtk-- (not simply re-install).


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