分页: 1 / 1

请帮忙解决 编译SWORD软件时出现utf8transiliterator问题,谢谢

发表于 : 2010-09-10 17:11
ucn123
In file included from ../src/mgr/swmgr.cpp:95:
../include/utf8transliterator.h:39:28: error: unicode/unistr.h: No such file or directory
../include/utf8transliterator.h:41:30: error: unicode/translit.h: No such file or directory
In file included from ../src/mgr/swmgr.cpp:95:
../include/utf8transliterator.h:51: error: ‘UnicodeString’ does not name a type
../include/utf8transliterator.h:52: error: ‘UTransDirection’ does not name a type
../include/utf8transliterator.h:54: error: ISO C++ forbids declaration of ‘type name’ with no type
../include/utf8transliterator.h:54: error: wrong number of template arguments (1, should be 4)
/usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’
../include/utf8transliterator.h:54: error: invalid type in declaration before ‘;’ token
../include/utf8transliterator.h:55: error: ‘UnicodeString’ was not declared in this scope
../include/utf8transliterator.h:55: error: template argument 1 is invalid
../include/utf8transliterator.h:55: error: invalid type in declaration before ‘;’ token
../include/utf8transliterator.h:77: error: ‘UErrorCode’ does not name a type
../include/utf8transliterator.h:79: error: ‘UErrorCode’ has not been declared
../include/utf8transliterator.h:80: error: ISO C++ forbids declaration of ‘UnicodeString’ with no type
../include/utf8transliterator.h:80: error: expected ‘,’ or ‘...’ before ‘&’ token
../include/utf8transliterator.h:82: error: ISO C++ forbids declaration of ‘UnicodeString’ with no type
../include/utf8transliterator.h:82: error: expected ‘,’ or ‘...’ before ‘&’ token
../include/utf8transliterator.h:83: error: ISO C++ forbids declaration of ‘Transliterator’ with no type
../include/utf8transliterator.h:83: error: expected ‘;’ before ‘*’ token
make[1]: *** [swmgr.lo] Error 1

Re: 请帮忙解决 编译SWORD软件时出现utf8transiliterator问题,谢谢

发表于 : 2010-09-11 20:13
wzssyqa
装这个包 libicu-dev 先

Re: 请帮忙解决 编译SWORD软件时出现utf8transiliterator问题,谢谢

发表于 : 2010-09-12 21:14
ucn123
谢谢帮忙,问题已经解决了 :em11
UBUNTU,真没话说,像我这样的菜鸟也能用,感激不尽!