I am trying to build a Tesseract
lib according to this manual: Tesseract (master) installation by using git-bash (version>=2.14.1) and cmake (version >=3.9.1) (certainly, I've also installed OpenCV with its contribute modules beforehand, which went smoothly).
No matter what I do and how it fails for the same reason - when it comes to leptonica
on which Tesseract
depends, I see the error which looks like this:
Could not find a package configuration file provided by "SW" with any of the following names:
SWConfig.cmake
sw-config.cmake
I've put sw.exe
to a location indicated by PATH, but it didn't help - the error remains. Is it possible that an sw cmake config file is missing from the repo?
The vcpkg install tesseract:x64-windows
approach from the official manual worked! However, I had to take some extra steps, which are described in the issue I opened.
I do not see any reason why it should be such a burden, though. Tesseract
does have a Windows binary installer, which is good with the only exception – you don't have access to ANY dev-tools – only executables which are of no use, if you want API.