zdenop / qt-box-editor

QT4 editor of tesseract-ocr box files
https://zdenop.github.io/qt-box-editor/
Apache License 2.0
170 stars 66 forks source link

Building this tool #48

Closed smac89 closed 9 years ago

smac89 commented 9 years ago

How do I build and use this? I am using Ubuntu and I have installed both tesseract and compiled/installed leptonica. In the INSTALL file it says: "adjust location of leptonica and tesseract in qt-box-editor.pro", what does that mean? I have looked through the file mentioned and I'm not sure where to put the libraries mentioned.

When I run make in the folder, I get this error: In file included from src/ChildWidget.cpp:33:0: src/TessTools.h:26:31: fatal error: tesseract/baseapi.h: No such file or directory

Please help

zdenop commented 9 years ago

how did you installed tesseract? From source?

smac89 commented 9 years ago

I installed it from the terminal by doing

sudo apt-get install tesseract libtesseract3 libleptonica

zdenop commented 9 years ago

you need to install "devel" packages of tesseract and leptonica

smac89 commented 9 years ago

That solved it, thanks