Closed carl-krikorian closed 2 years ago
i'm also facing same issue please help.
> If you build application from source make sure you use tesseract 3.01 or 3.02 version.
So are you using (outdated and unsupported) tesseract version 3.x to build qt-box-editor?
The build fails on tesseract-5.2.0
as well:
src/TessTools.cpp:30:10: fatal error: tesseract/strngs.h: No such file or directory
30 | #include <tesseract/strngs.h>
| ^~~~~~~~~~~~~~~~~~~~
This is absolutely correct. Qt-box-editor is useful for tesseract 3.01 or 3.02 version. and not for tesseract 5 (or 4).
Hello,
I am facing a few issues while building qt-box-editor on Ubuntu 22.04. As per the INSTALL file I used apt to install qt5-qmake libqt5gui5 qt5-doc ibqt5svg5-dev and libleptonica-dev. However, trying to install qt5-default returned E: Package 'qt5-default' has no installation candidate. So I installed the defaults using this command "sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools" as per this link on stack overflow.
I later install tesseract-dev and tesseract-ocr and following the remaining instructions when running make I would consistently get the error:
I assumed this was an error with my tesseract installation so I retried uninstalling then building it from source but the error persisted.
Is there any packages I am missing or version I need to revert to? If further information is required I am more than happy to provide. Thanks.