training tesseract 4.0.. issue with 'Make leptonica' giving error

343 views
Skip to first unread message

yoganand

unread,
Apr 16, 2019, 9:55:57 PM4/16/19
to tesseract-ocr
im trying to train my tesseract 4.. i started it with installing cygwin and could do till setup and steps you have given for OCRD-train is giving issues while trying to compile leptonica and tesseract. i felt that steps you have given are bit highlevel for me. i tried 'make leptonica' thru cygwin giving 'no rule to make target' error. i tried this after downloading ocrd-train and updating tesseract and letonica versions. can you explain what i need to do for below:

"Now that you copied ocrd-train into your setup (in my case Cygwin) you still have to connect these tools to Tesseract and Leptonica. To do so I simply used commands in Makefile to compile Tesseract and Leptonica inside my ocrd-train folder, but I am sure with a little editing you can make it so that the tools use your specific folder structure. To compile Tesseract and Leptonica use the following commands (order counts, Tesseract will give you an error without Leptonica) <code>make leptonica</code> and <code>make tesseract</code>. These commands will compile versions of Tesseract and Leptonica, version can be set as a variable inside Makefile."

Kristóf Horváth

unread,
Apr 17, 2019, 7:14:18 AM4/17/19
to tesseract-ocr

yoganand

unread,
Apr 18, 2019, 5:48:44 AM4/18/19
to tesseract-ocr
Yes.. I have followed the same steps. Thats not pretty clear, atleast to my knowledge. i have finished the windows setup in cygwin. i didnt follow the steps that mentioned for compiling leptonica and tesseract. Make command is giving error.

$ make tesseract
make: *** No rule to make target 'tesseract'.  Stop.

need ur help in understanding steps in   ===OCR-D/ocrd-train===

Marco Atzeri

unread,
Jul 6, 2019, 9:11:10 AM7/6/19
to tesser...@googlegroups.com
Am 17.04.2019 um 03:55 schrieb yoganand:
> im trying to train my tesseract 4.. i started it with installing cygwin
> and could do till setup and steps you have given for OCRD-train is
> giving issues while trying to compile leptonica and tesseract.

tesseract and leptonica are already available for cygwin,
why do you need to build them and not use the available packages ?




---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

Reply all
Reply to author
Forward
0 new messages