When starting the program after calling a function from the library tesseract41.dll my program was terminating execution by throwing an SEH exception on some computers. It turned out to intercept the exception code: 3221225501 (C000001D
hex), which corresponds to the SEH exception STATUS_ILLEGAL_INSTRUCTION. I was building the tesseract library using vcpkg. What could be the problem? Are there types of processors that do not support this library build? I did not find in the vkpg documentation an opportunity to change the type of supported processor.
CodePudding user response:
upgrade to tesseract v5.x - there is implemented runtime detection of simd availability
CodePudding user response:
Thanks for the tips, I think the installation of Tesseract v5.x is the best solution, but I managed to solve the problem by getting version 4.1.1 using "vcpkg install tesseract[cpu-independed]:x64-windows". This version solves the problem of supporting legacy processors when compiling the library using vcpkg. Apparently, my version required the processor to support the AVX2 instruction set.