Re: gtk.h cannot be found
- From: Olexiy Avramchenko <ath beast stu cn ua>
- To: ssams <ssams telkom net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk.h cannot be found
- Date: Tue, 22 Oct 2002 10:25:06 +0300
ssams wrote:
Hi to you all from me, new gtk user.
I have compile gtk,atk,glib,pango. gtk-demo run succesfully, so
testgtk. But when i try to compile simple hello.c system cannot found
gtk/gtk.h. Are there anybody have a little freetime for me..?
You must have pkg-config correctly installed in order to compile with
gtk+-2.0 library.
What does the `pkg-config --cflags gtk+-2.0` say ?
1. Read http://developer.gnome.org/doc/API/2.0/gtk/gtk-compiling.html
about compiling gtk+-2.0 applications.
2. Locate your gtk+-2.0 headers. Usual location -
"/usr/local/include/gtk-2.0/gtk".
3. Check pkg-config file describing gtk+-2.0. Usual location -
"/usr/local/lib/pkgconfig/gtk+-2.0.pc".
4. Check PKG_CONFIG_PATH enviromnent variable, there must be a path to
"gtk+-2.0.pc" file.
5. Read this mail-list archives there're many similar posts.
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]