Hello

I tried to compile the tesseract trainig tools and it gives an error like 
this 


set_unicharset_properties.o: In function 
`tesseract::SetPropertiesForInputFile(std::string const&, std::string 
const&, std::string const&, std::string const&) [clone .constprop.33]':
set_unicharset_properties.cpp:(.text+0x1c4): undefined reference to 
`u_isalpha_48'
set_unicharset_properties.cpp:(.text+0x1da): undefined reference to 
`u_islower_48'
set_unicharset_properties.cpp:(.text+0x1f0): undefined reference to 
`u_isupper_48'
set_unicharset_properties.cpp:(.text+0x206): undefined reference to 
`u_isdigit_48'
set_unicharset_properties.cpp:(.text+0x223): undefined reference to 
`u_ispunct_48'
set_unicharset_properties.cpp:(.text+0x296): undefined reference to 
`uscript_getScript_48'
set_unicharset_properties.cpp:(.text+0x29d): undefined reference to 
`uscript_getName_48'
set_unicharset_properties.cpp:(.text+0x331): undefined reference to 
`u_toupper_48'
set_unicharset_properties.cpp:(.text+0x35b): undefined reference to 
`u_tolower_48'
set_unicharset_properties.cpp:(.text+0x44d): undefined reference to 
`u_charMirror_48'
set_unicharset_properties.cpp:(.text+0x466): undefined reference to 
`u_charDirection_48'
set_unicharset_properties.o: In function `icu_48::ErrorCode::~ErrorCode()':
set_unicharset_properties.cpp:(.text._ZN6icu_489ErrorCodeD0Ev[_ZN6icu_489ErrorCodeD5Ev]+0x8):
 
undefined reference to `icu_48::UMemory::operator delete(void*)'
set_unicharset_properties.o: In function 
`tesseract::IcuErrorCode::handleFailure() const':
set_unicharset_properties.cpp:(.text._ZNK9tesseract12IcuErrorCode13handleFailureEv[_ZNK9tesseract12IcuErrorCode13handleFailureEv]+0x5):
 
undefined reference to `icu_48::ErrorCode::errorName() const'
set_unicharset_properties.o: In function 
`tesseract::IcuErrorCode::~IcuErrorCode()':
set_unicharset_properties.cpp:(.text._ZN9tesseract12IcuErrorCodeD0Ev[_ZN9tesseract12IcuErrorCodeD5Ev]+0x1b):
 
undefined reference to `icu_48::UMemory::operator delete(void*)'
./.libs/libtesseract_training.a(normstrngs.o): In function 
`tesseract::IsWhitespace(int)':
normstrngs.cpp:(.text+0x24b): undefined reference to `u_isUWhiteSpace_48'
./.libs/libtesseract_training.a(normstrngs.o): In function 
`tesseract::IsInterchangeValid(int)':
normstrngs.cpp:(.text+0x483): undefined reference to `u_isISOControl_48'
./.libs/libtesseract_training.a(normstrngs.o): In function 
`tesseract::IsInterchangeValid7BitAscii(int)':
normstrngs.cpp:(.text+0x4e3): undefined reference to `u_isISOControl_48'
./.libs/libtesseract_training.a(normstrngs.o): In function 
`tesseract::FullwidthToHalfwidth(int)':
normstrngs.cpp:(.text+0x5dd): undefined reference to 
`icu_48::UnicodeString::UnicodeString(int)'
normstrngs.cpp:(.text+0x5f3): undefined reference to 
`icu_48::UnicodeString::UnicodeString(char const*)'
normstrngs.cpp:(.text+0x608): undefined reference to 
`icu_48::Transliterator::createInstance(icu_48::UnicodeString const&, 
UTransDirection, UErrorCode&)'
normstrngs.cpp:(.text+0x615): undefined reference to 
`icu_48::UnicodeString::~UnicodeString()'
normstrngs.cpp:(.text+0x61d): undefined reference to 
`icu_48::ErrorCode::assertSuccess() const'
normstrngs.cpp:(.text+0x625): undefined reference to 
`icu_48::ErrorCode::reset()'
normstrngs.cpp:(.text+0x69f): undefined reference to 
`icu_48::UnicodeString::~UnicodeString()'
normstrngs.cpp:(.text+0x6e6): undefined reference to 
`icu_48::UnicodeString::~UnicodeString()'
normstrngs.cpp:(.text+0x6ee): undefined reference to 
`icu_48::UnicodeString::~UnicodeString()'
./.libs/libtesseract_training.a(normstrngs.o): In function 
`tesseract::NormalizeChar32(int, GenericVector<int>*)':
normstrngs.cpp:(.text+0x74d): undefined reference to 
`icu_48::Normalizer2::getInstance(char const*, char const*, 
UNormalization2Mode, UErrorCode&)'
normstrngs.cpp:(.text+0x75a): undefined reference to 
`icu_48::ErrorCode::assertSuccess() const'
normstrngs.cpp:(.text+0x764): undefined reference to 
`icu_48::ErrorCode::reset()'
normstrngs.cpp:(.text+0x76f): undefined reference to 
`icu_48::UnicodeString::UnicodeString(int)'
normstrngs.cpp:(.text+0x779): undefined reference to 
`icu_48::UnicodeString::UnicodeString()'
normstrngs.cpp:(.text+0x799): undefined reference to 
`icu_48::ErrorCode::assertSuccess() const'
normstrngs.cpp:(.text+0x829): undefined reference to 
`icu_48::UnicodeString::~UnicodeString()'
normstrngs.cpp:(.text+0x831): undefined reference to 
`icu_48::UnicodeString::~UnicodeString()'
normstrngs.cpp:(.text+0x880): undefined reference to 
`icu_48::UnicodeString::~UnicodeString()'
normstrngs.cpp:(.text+0x888): undefined reference to 
`icu_48::UnicodeString::~UnicodeString()'
normstrngs.cpp:(.text+0x8a7): undefined reference to 
`icu_48::UnicodeString::~UnicodeString()'
collect2: error: ld returned 1 exit status
make[1]: *** [set_unicharset_properties] Error 1
make: *** [training] Error 2

any idea how to avoid this


cheers
arajparaj



-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/a66d72f9-1d10-4d04-afff-7ee5ea47431c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to