how do i compile gtk program



hi all:
 i use RH 7.1. i write a gtk "helloworld" program, i
compile it with "gcc -Wall -g helloworld.c -o
helloworld `pkg-config --cflags gtk+-2.0` \
`pkg-config --libs gtk+-2.0`", but fail. the prompt is
"the file glibconf.h found fail.".i found thid file in
"/usr/include",but not catch. how could i do?
and how do i setup the envronment variant of the
directory of the include and the lib.
thank you very much.
             softmusic

_________________________________________________________
Do You Yahoo!? 
新鲜到底,娱乐到家 - 雅虎推出免费娱乐电子周报!
http://cn.ent.yahoo.com/newsletter/index.html



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