Tilon0 发表于 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+到底是指的什么?都要那样才行啊?

gxcooo 发表于 2005-11-4 09:58:10

升级gtk2-dev,你得版本是2.4.13,需要2.6+

Tilon0 发表于 2005-11-4 12:30:08

哦,试下先,谢了
页: [1]
查看完整版本: 编译错误?怎么解决?