Re: Using GTK+2.0 with pkgconfig



Em Sun, 2 Mar 2003 20:09:00 +0100 (CET), Christian Schneider <christian_schneider_2000 yahoo de> escreveu:

Hallo,

I need GTK 2 for my programm, so I installed it. I
wrote a Makefile and my program. But when I tried to
compile it the following message appeared:

make
cc -Wall-g -o dialogboxen.o -c dialogboxen.c
`pkg-config --cflags gtk+-2.0`
Package gtk+-2.0 was not found in the pkg-config
search path.
Perhaps you should add the directory containing
`gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
dialogboxen.c:1:21: gtk/gtk.h: Datei oder Verzeichnis
nicht gefunden

Could anybody help me, please? How can I add
"gtk+-2.0.pc" and where? I found this file in
"file:/usr/lib/pkgconfig/".

Ciao
Christian


You should to install libgtk2-dev, pkg-config packages and dependencies ...

[]'s

-- 
André Casteliano

Linux User: # 178853    UIN: # 47717593
E-mail: digitalcoder users sourceforge net
Home Page: http://andre.mistermouse.com.br  




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