I'm following tesserocr's
installation guide for tesseract 4.1.1 on windows.
However, I've reached the last terminal command and I'm stuck on an error.
The commands are:
- git clone -b 4.1.1 --depth 1 https://github.com/tesseract-ocr/tesseract.git
- cd tesseract
- "C:\Program Files\CMake\bin\cmake.exe" .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%INSTALL_DIR% -DCMAKE_PREFIX_PATH=%INSTALL_DIR% -DBUILD_TRAINING_TOOLS=OFF -DSW_BUILD=OFF -DBUILD_SHARED_LIBS=ON -DOPENMP_BUILD=OFF -DLeptonica_DIR=%INSTALL_DIR%\lib\cmake
- "C:\Program Files\CMake\bin\cmake.exe" --build . --config Release --target install
For the last command ("C:\Program Files\CMake\bin\cmake.exe" --build . --config Release --target install), I am getting the error:
C:\Project\tesseract-4.1.1\src\ccmain\tesseractclass.h(30,10): fatal error C1083: Cannot open include file: 'allheaders.h': No such file or directory (compiling source file C:\Project\
tesseract-4.1.1\src\api\lstmboxrenderer.cpp) [C:\Project\tesseract-4.1.1\build.msvs\libtesseract.vcxproj]
and this inability to find allheader.h file error comes up multiple different times.
Where such 'allheaders.h' file is this reffering too? I know that I have "C:\Project\leptonica\src\allheaders.h", so do I simply copy this folder somewhere?