请帮忙解决 编译SWORD软件时出现utf8transiliterator问题,谢谢
发表于 : 2010-09-10 17:11
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
../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