ys021662 发表于 2004-4-8 12:38:12

d4x编译问题

在我原来的gtk2-2.2.3上能编译成功也能运行,但升级到gtk2-2.4.0后就无法编译了,总是有如下错误,是什么原因呢?
make: 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: *** Error 1
make: Leaving directory `/usr/src/d4x-2.5.0rc2/main/face'
make: *** Error 1
make: Leaving directory `/usr/src/d4x-2.5.0rc2/main'
make: *** Error 1
make: Leaving directory `/usr/src/d4x-2.5.0rc2'
make: *** Error 2
页: [1]
查看完整版本: d4x编译问题