|
我在编译gtk程序时 ,报错 如下 :
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
ab.c:1:21: 错误:gtk/gtk.h:没有那个文件或目录
ab.c:2: 错误:expected ‘)’ before ‘*’ token
ab.c:6: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
ab.c:16: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘main’
在安装盘里找了glib和gtk的包装了几个,并且用了 yum install gtk+2.0之后,还是提示我以上的错误。请指教一下怎样才能把gtk+2.0包安装全。谢谢 ! |
|