[sword-devel] compile failure
Jeff Collett
sword-devel@crosswire.org
Sat, 27 Jul 2002 18:18:49 -0500
Thanks. I was going to just comment out the #define in the header file, I
could not find _ICU_ itself anywhere.
This was my first module checkout. If I check out icu-sword do I need check
sword backin, or just delete it from my hard drive?
Jeff
----- Original Message -----
From: "Troy A. Griffitts" <scribe@crosswire.org>
To: <sword-devel@crosswire.org>
Sent: July 26, 2002 11:55 PM
Subject: Re: [sword-devel] compile failure
> Jeff,
> ICU is for internationization. If you would like to build sword with
> this extra support, leave _ICU_ defined (and acutally, you'll probably
> need to define _ICUSWORD_ now as well. Then check out the icu-sword
> module from cvs. Otherwise, you can remove the define.
>
> Hope this helps.
> -Troy.
>
>
>
> Jeff Collett wrote:
> > 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" <jansorg@gmx.de>
> > To: <sword-devel@crosswire.org>
> > 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
> >>
>
>
>