avidyalalala / sunpinyin

Automatically exported from code.google.com/p/sunpinyin
0 stars 0 forks source link

build error #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In file included from ../../../src/pinyin/pinyin_seg.h:43,
                 from ../../../src/ime-core/imi_context.h:56,
                 from ../../../src/ime-core/imi_view.h:44,
                 from ../../../src/ime-core/imi_options.h:44,
                 from sunpinyin_config.h:44,
                 from sunpinyin_engine.h:43,
                 from engine.cpp:38:
../../../src/pinyin/syllable.h: In constructor ‘TSyllable::TSyllable(int, 
int, int)’:
../../../src/pinyin/syllable.h:56: warning: ‘TSyllable::initial’ will be 
initialized after
../../../src/pinyin/syllable.h:55: warning:   ‘unsigned char 
TSyllable::final’
../../../src/pinyin/syllable.h:62: warning:   when initialized here
../../../src/pinyin/syllable.h:55: warning: ‘TSyllable::final’ will be 
initialized after
../../../src/pinyin/syllable.h:54: warning:   ‘unsigned char:4 
TSyllable::tone’
../../../src/pinyin/syllable.h:62: warning:   when initialized here
engine.cpp: In function ‘void 
ibus_sunpinyin_engine_class_init(IBusSunPinyinEngineClass*)’:
engine.cpp:96: error: invalid conversion from ‘gboolean (*)(IBusEngine*, 
guint, guint, guint)’ to ‘gboolean (*)(IBusEngine*, guint, guint)’
engine.cpp:109: error: ‘struct _IBusEngineClass’ has no member named 
‘candidate_clicked’
make[4]: *** [ibus_engine_sunpinyin-engine.o] Error 1
make[4]: Leaving directory `/home/xtao/Desktop/sunpinyin-
2.0/wrapper/ibus/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/xtao/Desktop/sunpinyin-2.0/wrapper/ibus'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/xtao/Desktop/sunpinyin-2.0/wrapper'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xtao/Desktop/sunpinyin-2.0'
make: *** [all] Error 2

**************************** OS info *****************************
Linux fedora 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009 
i686 i686 i386 GNU/Linux

----------successfully finished executing 'configure'--------------

Original issue reported on code.google.com by g.xie...@gmail.com on 29 May 2010 at 3:43

GoogleCodeExporter commented 9 years ago

Original comment by find...@gmail.com on 30 May 2010 at 4:05

GoogleCodeExporter commented 9 years ago
xietao,

你正在使用的 ibus 版本可能太老了。建议你使用 1.2 
或者更高的 ibus,来编译 ibus-sunpinyin。

http://github.com/phuang/ibus/blob/master/src/ibusengine.h#L122

Original comment by tchai...@gmail.com on 31 May 2010 at 2:41

GoogleCodeExporter commented 9 years ago
see http://code.google.com/p/ibus-sunpinyin/issues/detail?id=51

Original comment by tchai...@gmail.com on 31 May 2010 at 2:42

GoogleCodeExporter commented 9 years ago
谢谢!我试试……

Original comment by g.xie...@gmail.com on 2 Jun 2010 at 10:26

GoogleCodeExporter commented 9 years ago
如果再有问题的话,我们可以 reopen 这个 
issue。我先把它关掉了。

Original comment by tchai...@gmail.com on 6 Jun 2010 at 6:19