QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1433|回复: 6

MGC更新至快照3后,stardict 3.0 编译失败

[复制链接]
发表于 2007-12-30 18:55:29 | 显示全部楼层 |阅读模式
n file included from stardict.cpp:71:
class_factory.hpp:13: error: `GtkTooltips' has not been decla
red
class_factory.hpp:13: error: ISO C++ forbids declaration of `
parameter' with no type
In file included from stardict.cpp:77:
stardict.h:83: error: ISO C++ forbids declaration of `GtkTool
tips' with no type
stardict.h:83: error: expected `;' before '*' token
stardict.cpp: In member function `void AppCore::Create(gchar*
)':
stardict.cpp:308: error: `tooltips' was not declared in this
scope
stardict.cpp:308: error: `gtk_tooltips_new' was not declared
in this scope
stardict.cpp:308: warning: unused variable 'gtk_tooltips_new'
In file included from mainwin.cpp:35:
stardict.h:83: error: ISO C++ forbids declaration of `GtkTool
tips' with no type
stardict.h:83: error: expected `;' before '*' token
mainwin.cpp: In member function `void TopWin::Create(GtkWidge
t*)':
mainwin.cpp:90: error: 'class AppCore' has no member named 't
ooltips'
mainwin.cpp:90: error: `gtk_tooltips_set_tip' was not declare
d in this scope
mainwin.cpp:117: error: 'class AppCore' has no member named '
tooltips'
mainwin.cpp:129: error: 'class AppCore' has no member named '
tooltips'
mainwin.cpp:144: error: 'class AppCore' has no member named '
tooltips'
mainwin.cpp: In member function `void LeftWin::Create(GtkWidg
et*, bool)':
mainwin.cpp:1248: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:1248: error: `gtk_tooltips_set_tip' was not decla
red in this scope
mainwin.cpp:1259: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:1269: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:1280: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:1291: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:1304: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:1314: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp: In member function `void ToolWin::Create(GtkWidg
et*)':
mainwin.cpp:1503: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:1503: error: `gtk_tooltips_set_tip' was not decla
red in this scope
mainwin.cpp:1518: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:1536: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:1550: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:1550: error: `gtk_tool_item_set_tooltip' was not
declared in this scope
mainwin.cpp:1564: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:1574: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:1589: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:1550: warning: unused variable 'gtk_tool_item_set
_tooltip'
mainwin.cpp: In member function `void BottomWin::Create(GtkWi
dget*)':
mainwin.cpp:2710: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:2710: error: `gtk_tooltips_set_tip' was not decla
red in this scope
mainwin.cpp:2724: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:2734: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:2756: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:2766: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:2776: error: 'class AppCore' has no member named
'tooltips'
mainwin.cpp:2788: error: 'class AppCore' has no member named
'tooltips'
make[3]: *** [stardict.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [mainwin.o] Error 1
make[3]: Leaving directory `/usr/src/mBuild/BUILD/stardict-3.                                                               0.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/mBuild/BUILD/stardict-3.                                                               0.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mBuild/BUILD/stardict-3.                                                               0.0.1'
发表于 2007-12-30 19:21:45 | 显示全部楼层
系统里已经带了3.0.0.1啊,我又重新编译了一次,正常。
回复

使用道具 举报

 楼主| 发表于 2007-12-30 19:39:00 | 显示全部楼层
我现用系统的gtk2版本是 2.12.2,stardict的确无法编译,使用倒是没什么问题。
回复

使用道具 举报

发表于 2008-1-1 00:01:32 | 显示全部楼层
gtk版本太低
回复

使用道具 举报

发表于 2008-1-1 11:57:00 | 显示全部楼层
原帖由 mandrakechina 于 2008-1-1 00:01 发表
gtk版本太低

目前最高版本才 2.12.3 何以见得版本太低导致?
回复

使用道具 举报

发表于 2008-1-1 17:28:00 | 显示全部楼层
因为我在2.12.3中编译成功了
回复

使用道具 举报

发表于 2008-1-1 21:33:00 | 显示全部楼层
原帖由 mandrakechina 于 2008-1-1 17:28 发表
因为我在2.12.3中编译成功了

这个,呵呵,不可能的,我编译就是在2.12.2下的。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-23 22:56 , Processed in 0.086289 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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