|
正好编译的时候出错,
prefs.cc:813: error: `gtk_radio_menu_item_group' undeclared (first use this function)
prefs.cc:813: error: (Each undeclared identifier is reported only once for each function it appears in.)
prefs.cc: In function `void d4x_prefs_apply_tmp()':
prefs.cc:1470: error: `gtk_radio_menu_item_group' undeclared (first use this function)
make[3]: *** [prefs.o] Error 1
make[3]: Leaving directory `/usr/src/RPM/BUILD/d4x-2.4.1/main/face'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/d4x-2.4.1/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/d4x-2.4.1'
make: *** [all] Error 2
解决方法:
在 d4x-2.4.1/main/face/prefs.cc 加入:
#undef GTK_DISABLE_DEPRECATED
就可以了。
从网络找到的答案。
http://www.krasu.ru/soft/chuchel ... p;forummessage=1165 |
|