https://github.com/sirfz/tesserocr/issues/268
Zdenko št 26. 8. 2021 o 17:37 Parul Singh <parul.ma...@gmail.com> napísal(a): > I'm following tesserocr's installation guide for tesseract 4.1.1 on > windows > <https://github.com/sirfz/tesserocr/blob/master/Windows.build.md#tesseract-build-and-installation> > . > 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? > > > > > -- > You received this message because you are subscribed to the Google Groups > "tesseract-ocr" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to tesseract-ocr+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/6a396669-41de-44d3-b065-924a3b6996edn%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/6a396669-41de-44d3-b065-924a3b6996edn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8zQ4QvcVNX1UC-X1MrOSePBTTVgLFfHLkwppTVzqp%3DZQg%40mail.gmail.com.