ruediger/VobSub2SRT — Issue #10: error during configure with tesseract 3.01
Author: thawn
Created: 2012-01-06 03:33:10+00:00
State: open

when I try to compile with tesseract 3.01, I get the following error during configure:

-- Found Threads: TRUE
-- Performing Test TESSERACT_NAMESPACE
-- Performing Test TESSERACT_NAMESPACE - Success
-- Found Tesseract: Tesseract_LIBRARIES-NOTFOUND;/usr/lib64/libtiff.so
-- vobsub2srt version: 48723ea
-- dpkg not found: No package generation.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Tesseract_LIBRARIES (ADVANCED)
linked by target "vobsub2srt" in directory /var/tmp/portage/media-video/vobsub2srt-9999/work/vobsub2srt-9999/src

-- Configuring incomplete, errors occurred!

I am on a gentoo system and using tesseract 3.01 and libavutil version 50.43.0
with tesseract 2.04 the compile works fine, but I ran into the same problem reported here:
https://github.com/ruediger/VobSub2SRT/issues/4
after upgrading to tesseract 3.01 without recompiling vobsub2srt, I get the unicharset file not found error. therefore I tried to recompile.

I figure this has something to do with tesseract 2.04 and tesseract 3.01 not being compatible (from the tesseract ReadMe wiki http://code.google.com/p/tesseract-ocr/wiki/ReadMe ):
"Another important change is that you should really be using TessBaseAPI if you are linking with another program. In Linux (non-Windows) the main library is now libtesseract_api.a instead of the old libtesseract_full.a. "