[sword-devel] SWORD lib does not compile without ICU

Greg Hellings greg.hellings at gmail.com
Mon Apr 27 10:55:36 MST 2009


On Mon, Apr 27, 2009 at 12:53 PM, DM Smith <dmsmith at crosswire.org> wrote:
> I was testing the compile of osis2mod without ICU, by commenting out ICU in
> usrinst.sh and I get the following error:
> I know I advocate that ICU is necessary, but....

Making UTF necessary is not a happy possiblity... currently ICU 4
fails to compile for me, at least, in MinGW and I'm not sure if it is
designed to work with MSVC at all.

--Greg

>
> /bin/sh ./libtool --tag=CXX   --mode=link g++ -g3 -O0 -Wall -Werror
> -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/include -I/usr/lib64 -DUSELUCENE
>    -o buildtest buildtest.o ./lib/libsword.la -lz  -L/usr/lib64 -lclucene
> mkdir .libs
> g++ -g3 -O0 -Wall -Werror -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/include
> -I/usr/lib64 -DUSELUCENE -o buildtest buildtest.o  ./lib/.libs/libsword.a
> -lcurl -L/usr/lib64 -lz -lclucene
>  ./lib/.libs/libsword.a(utf8greekaccents.o): In function
> `__static_initialization_and_destruction_0':
> /home/dmsmith/swordsrc/sword/lib/../src/modules/filters/utf8greekaccents.cpp:30:
> undefined reference to `sword::UTF8NFKD::UTF8NFKD()'
> /home/dmsmith/swordsrc/sword/lib/../src/modules/filters/utf8greekaccents.cpp:30:
> undefined reference to `sword::UTF8NFKD::~UTF8NFKD()'
> ./lib/.libs/libsword.a(utf8greekaccents.o): In function
> `sword::UTF8GreekAccents::processText(sword::SWBuf&, sword::SWKey const*,
> sword::SWModule const*)':
> /home/dmsmith/swordsrc/sword/lib/../src/modules/filters/utf8greekaccents.cpp:55:
> undefined reference to `sword::UTF8NFKD::processText(sword::SWBuf&,
> sword::SWKey const*, sword::SWModule const*)'
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>



More information about the sword-devel mailing list