On 24 May 2010 21:30, Lars Aronsson <[email protected]> wrote: > Zdenko Podobný wrote: >> >> I think I find workaround: >> 1. Add "PIX *pix;" to line 225 in api/tesseractmain.cpp >> 2. Than configure&compile tesseract with these commands: >> >> ./runautoconf >> CPPFLAGS="-DHAVE_LIBLEPT"./configure ; make >> make install >> >> Can you confirm if it works for you? > > Yes, this works fine, both "tesseract eurotext.tif output2" > and "combine_tessdata -u dan-frak.traineddata /tmp/foo." >
I've attached a patch to the issue in the bug tracker. The long and the short of it is that the autoconf generated header file was missing in one place and in the wrong order in another, so the HAVE_LIBLEPT parts were always false. (As well as the missing variable declaration that Zdenko found). -- <Leftmost> jimregan, that's because deep inside you, you are evil. <Leftmost> Also not-so-deep inside you. -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en.

