I can't build xaira-1.22 successfully in cygwin. Error messages as follows:
I have installed ICU3.6 and xerces2.7.0.
Another question:
When I was tring to build xerces with ICU, I encountered another problem, error messages as follow:
Thank all~~
Corpus.cpp: In member function `void CCorpus::TestIndexDir()':
Corpus.cpp:282: error: conversion from `const xairo_uchar*' to `icu_3_6::Unicode
String' is ambiguous
/usr/local/include/unicode/unistr.h:2674: note: candidates are: icu_3_6::Unicode
String::UnicodeString(const UChar*) <near match>
/usr/local/include/unicode/unistr.h:2666: note: icu_3_6::UnicodeString::Unicode
String(UChar32) <near match>
/usr/local/include/unicode/unistr.h:2659: note: icu_3_6::UnicodeString::Unicode
String(UChar) <near match>
make[1]: *** [Corpus.o] Error 1
make[1]: Leaving directory `/home/bagpipes/xaira/xaira-1.22/indexer'
make: *** [all-recursive] Error 1
I have installed ICU3.6 and xerces2.7.0.
Another question:
When I was tring to build xerces with ICU, I encountered another problem, error messages as follow:
(C++) ICUTransService.o
In file included from /usr/local/include/unicode/umachine.h:47,
from /usr/local/include/unicode/utypes.h:36,
from /usr/local/include/unicode/uloc.h:24,
from ICUTransService.cpp:32:
/usr/local/include/unicode/pwin32.h:136: error: conflicting declaration 'typedef
int int32_t'
/usr/include/stdint.h:20: error: 'int32_t' has a previous declaration as `typede
f long int int32_t'
/usr/local/include/unicode/pwin32.h:136: error: declaration of `typedef int int3
2_t'
/usr/include/stdint.h:20: error: conflicts with previous declaration `typedef lo
ng int int32_t'
/usr/local/include/unicode/pwin32.h:136: error: declaration of `typedef int int3
2_t'
/usr/include/stdint.h:20: error: conflicts with previous declaration `typedef lo
ng int int32_t'
/usr/local/include/unicode/pwin32.h:140: error: conflicting declaration 'typedef
unsigned int uint32_t'
/usr/include/stdint.h:28: error: 'uint32_t' has a previous declaration as `typed
ef long unsigned int uint32_t'
/usr/local/include/unicode/pwin32.h:140: error: declaration of `typedef unsigned
int uint32_t'
/usr/include/stdint.h:28: error: conflicts with previous declaration `typedef lo
ng unsigned int uint32_t'
/usr/local/include/unicode/pwin32.h:140: error: declaration of `typedef unsigned
$
/usr/include/stdint.h:28: error: conflicts with previous declaration `typedef lo
ng unsigned int uint32_t'
make[2]: *** [ICUTransService.o] Error 1
make[1]: *** [transcoders] Error 2
make: *** [Util] Error 2
Thank all~~