ecit241 / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

3.03 training tools fail on compile #1459

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install 3.03 (linux)
2. make training
3.

What is the expected output? What do you see instead?
Code should compile

What version of the product are you using? On what operating system?
 3.13.0-49-generic #83-Ubuntu SMP Fri Apr 10 20:11:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Using 3.03

Please provide any additional information below.

compile error:

david@david-Lenovo-IdeaPad-Yoga-11S:~/tesseract/tesseract-3.03$ make training
make[1]: Entering directory `/home/david/tesseract/tesseract-3.03/training'
/bin/bash ../libtool  --tag=CXX   --mode=link g++  -std=c++11   -o 
set_unicharset_properties set_unicharset_properties.o libtesseract_training.la 
libtesseract_tessopt.la -licui18n -licuuc  ../api/libtesseract.la -llept 
-lpthread 
libtool: link: g++ -std=c++11 -o .libs/set_unicharset_properties 
set_unicharset_properties.o  ./.libs/libtesseract_training.a 
./.libs/libtesseract_tessopt.a -licui18n -licuuc ../api/.libs/libtesseract.so 
-llept -lpthread
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()':

Original issue reported on code.google.com by dadyk...@gmail.com on 21 Apr 2015 at 9:59

GoogleCodeExporter commented 8 years ago
Please provide output of ./configure command

Original comment by zde...@gmail.com on 22 Apr 2015 at 7:00

GoogleCodeExporter commented 8 years ago

Original comment by dadyk...@gmail.com on 22 Apr 2015 at 11:48

Attachments:

GoogleCodeExporter commented 8 years ago
It seams that you did not read forums[1] before posting issue...

[1] https://groups.google.com/forum/#!topic/tesseract-dev/ARKOSV3zpWo

This is already fixed in current code.

Original comment by zde...@gmail.com on 23 Apr 2015 at 6:59