QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 629|回复: 0

d4x编译问题

[复制链接]
发表于 2004-4-8 12:38:12 | 显示全部楼层 |阅读模式
在我原来的gtk2-2.2.3上能编译成功也能运行,但升级到gtk2-2.4.0后就无法编译了,总是有如下错误,是什么原因呢?
make[3]: Entering directory `/usr/src/d4x-2.5.0rc2/main/face'
g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -include ../../config.h  -O2  -c -o about.o `test -f 'about.cc' || echo './'`about.cc
about.cc: In function `void init_about_window(...)':
about.cc:220: error: `gtk_timeout_add' undeclared (first use this function)
about.cc:220: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
make[3]: *** [about.o] Error 1
make[3]: Leaving directory `/usr/src/d4x-2.5.0rc2/main/face'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/d4x-2.5.0rc2/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/d4x-2.5.0rc2'
make: *** [all] Error 2
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-29 07:24 , Processed in 0.062528 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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