You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tesseract-ocr
Dear ocropus
I'be been playing with versions of tesseract and ocropus and I noticed
that if I compile tesseract with leptonica the ocropus ./configure
fails to find the tesseract libs. This is because if statically
linking to tesseract, you must also link to leptonica and give the '-
llept' after '-ltesseract_api' on the linker which is not what ocropus
does. If tesseract is a shared library that links to leptonica
(dynamically) there's no problem.
Creating a shared library is trivial at least on linux - maybe we
should do that in the future?
Alternatively if tesseract produced a pkg-config file and get ocropus
to use that for getting the link flags.