QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1944|回复: 2

编译错误?怎么解决?

[复制链接]
发表于 2005-11-3 23:55:15 | 显示全部楼层 |阅读模式
checking pkg-config is at least version 0.9.0... yes
checking for GTKLIB... Requested 'gtk+-2.0 >= 2.6.0' but version of GTK+ is 2.4.13
configure: error: Package requirements (gtk+-2.0 >= 2.6.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the GTKLIB_CFLAGS and GTKLIB_LIBS environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.
那个gtk+我的是gtk+-1.2.10-33,在网上找了也没有2.6.0这么高的啊,怎么回事?但它又说我的是2.4.13,这GTK+到底是指的什么?都要那样才行啊?
发表于 2005-11-4 09:58:10 | 显示全部楼层
升级gtk2-dev,你得版本是2.4.13,需要2.6+
回复

使用道具 举报

 楼主| 发表于 2005-11-4 12:30:08 | 显示全部楼层
哦,试下先,谢了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-20 02:07 , Processed in 0.067171 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表