Hi, I have a similar problem, "Cannot open include file: 'unicode/unistr.h': no such file or directory. I see in utilstr.cpp #ifdef _ICU_ #include <unicode/unistr.h> #include <unicode/ucnv.h> #endif
I am not sure hwat _ICU_ is, maybe if it not defined it might compile. Jeff ----- Original Message ----- From: "Joachim Ansorg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 26, 2002 9:37 AM Subject: Re: [sword-devel] compile failure > It works for me with the official ICU 2.1. > With current CVS it works even in BibleTime now! > It's pretty cool! > > Joachim > > > I just checked out and got the following: > > > > g++ -DUSE_AUTOTOOLS -DUNIX -D_ICU_ -I. -I. -I.. -I../include -g -O0 -Werror > > -c ../src/modules/filters/utf8transliterator.cpp > > -Wp,-MD,.deps/utf8transliterator.TPlo > > cc1plus: warnings being treated as errors > > ../src/modules/filters/utf8transliterator.cpp: In method `void > > UTF8Transliterator::Load(UErrorCode &)': > > ../src/modules/filters/utf8transliterator.cpp:155: warning: cannot pass > > objects of type `icu_2_0::UnicodeString' through `...' > > ../src/modules/filters/utf8transliterator.cpp: In method `void > > UTF8Transliterator::registerTrans(const icu_2_0::UnicodeString &, const > > icu_2_0::UnicodeString &, _UTransDirection, UErrorCode &)': > > ../src/modules/filters/utf8transliterator.cpp:189: warning: cannot pass > > objects of type `const icu_2_0::UnicodeString' through `...' > > ../src/modules/filters/utf8transliterator.cpp: In method `bool > > UTF8Transliterator::checkTrans(const icu_2_0::UnicodeString &, UErrorCode > > &)': > > ../src/modules/filters/utf8transliterator.cpp:207: warning: cannot pass > > objects of type `const icu_2_0::UnicodeString' through `...' > > ../src/modules/filters/utf8transliterator.cpp:222: warning: cannot pass > > objects of type `icu_2_0::UnicodeString' through `...' > > make[2]: *** [utf8transliterator.lo] Error 1 > > > > My mistake? > > > > Martin >