kareemu3 / tesseract-ocr

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

unicharset_extractor: undefined symbol: _ZNK10UNICHARSET14save_to_stringEP6STRING #1413

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using unicharset_extractor from fresh install
2.
3.

What is the expected output? What do you see instead?
I want unicharset file but get this:
unicharset_extractor new.bookfont.exp0.box 
Extracting unicharset from new.bookfont.exp0.box
unicharset_extractor: symbol lookup error: unicharset_extractor: undefined 
symbol: _ZNK10UNICHARSET14save_to_stringEP6STRING

What version of the product are you using? On what operating system?
3.03 on Linux Mint 17

Please provide any additional information below.
Tesseract from repository does not install training tools, so I managed to 
install 3.02 from source. I ended up having both ones somehow parallel. The 
3.02 version anyway failed with -psm 4 argument so I had to change again and 
after total mess I think I managed to remove all Tesseracts and all Leptonics 
and pulled new source of Tesseract and installed Leptonic 1.71 from source 
(which fails all "make check" tests but Tesseract finally saw those libs and 
compiled anyway). I understood that Tesseract works best with traineddata made 
with same version, so I tried to rerun the training but unicharset_extractor 
fails. Empty output. Box files are made with 3.02 version. If I feed several 
box files, the error appears after the last one. What could be the problem 
here? 

Original issue reported on code.google.com by joonas.r...@gmail.com on 29 Jan 2015 at 3:30

GoogleCodeExporter commented 9 years ago
Now the -v shows tesseract 3.04.00 ..I don't remember what I did exactly, I 
lately set the path and removed tesseract-orc folder which I think belongs to 
the repository install. Now the OCR works but the character extraction still 
fails the same.

Original comment by joonas.r...@gmail.com on 29 Jan 2015 at 4:53

GoogleCodeExporter commented 9 years ago
Ok. Fresh install to fresh computer seems to work. I started to do everything 
from zero and realized liblept packages had to be also removed. There is still 
some sort of conflict between libjpeg64-dev and libtiff4-dev..

Note: gnuplot needs to be installed separately to make leptonic pass the make 
check

Original comment by joonas.r...@gmail.com on 30 Jan 2015 at 7:36

GoogleCodeExporter commented 9 years ago
Ok. Fresh install of both Leptonic and Tesseract solved the problem but there 
is errors in the compiling Wiki page: libjpeg64-dev and libtiff4-dev cannot be 
installed together and missing info that latest Tesseract 3.04 needs Leptonic 
1.71. I'll add an issue for these.

Original comment by joonas.r...@gmail.com on 30 Jan 2015 at 8:07

GoogleCodeExporter commented 9 years ago

Original comment by zde...@gmail.com on 30 Jan 2015 at 9:15