please help writing gtk apps for gnome with c++



Hi,
I like to write some free application for the linux
environment using c++, sql, gtk and gnome.
Formerly I've written my apps with the qt-1.44 toolkit
from "Troll Tech".
For me, however, gnome is more of interest as KDE so
I think I should  expand my programming-skills by 
using gtk and gnome to have a better logical line
than qt-1.44 and gnome ?
My Linux is a Debian 2.1 (slink) with kernel 2.0.36-3
libs of gnome and gtk  installed is

libgnorbagtk0   1.0.3-1         libobgnome0     1.0.1-0.1   
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 
libgtkmm        0.9.15-1        libgtkmm-dev    0.9.15-1
libgtkxmhtml1   1.0.3-1         libguilegtk-dev 0.27.cvs.98092
libguilegtk0    0.27.cvs.98092  libobgtk-dev    1.0.1-0.1  
libobgtk1       1.0.1-0.1       libgnome-dev    1.0.3-1 
libgnome-perl   0.5000-1        libgnome32      1.0.3-1         
libgnomesupport 1.0.3-1         libgnomeui32    1.0.3-1 

but if I compile hello.cc I always get:

In file included from hello.cc:1:
/usr/include/gtk--.h:203: gtk--/accelgroup.h: No such file or directory
In file included from ./../widget.gen_h:5,  [..]
                 from hello.cc:1:
/usr/include/gtk--/accelerator.h:8: gtk/gtkaccelerator.h: No such file or directory
In file included from hello.cc:1:
/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,

Please help,
thanks, 
  Peter

sorry for this long mail and also for my bad english,
but I have no idea what I do wrong,
-- 

Peter Berlau 
pberlau@muenster.de



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