mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-12 21:22:41 +00:00
[BUG] CMake build system doesn't add tesseract's include directory (non-FHS system) #751
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @apteryks on GitHub (Mar 17, 2023).
Hi,
When build ccextractor on GNU Guix, which is not a file-hierarchy standard (FHS) system, the build system doesn't add the Tesseract include directory, which causes the compilation to fail like in the output reported below.
It seems the build system should also add the
tesseractsubdirectory under tesseract'sincludeprefix to the include directories:Here's the pkg-config output for the tesseract library (here version 5) and the actual file layout:
CCExtractor version: 0.88 to 0.94 (CMake build)
Necessary information
Thanks!
@apteryks commented on GitHub (Mar 17, 2023):
I tried the Autotools build, and it has the same defect:
This is with 0.88. I'll try 0.94 in a bit.
@cfsmp3 commented on GitHub (Mar 17, 2023):
That errors suggests that you don't have that file in the include search
path, that's all.
On Thu, Mar 16, 2023, 20:55 Apteryks @.***> wrote:
@apteryks commented on GitHub (Mar 17, 2023):
Hi Carlos! Yes, that's the symptom, but I'm interested in fixing the root cause. I'm testing a fix and will issue a PR if it tests fine.
@apteryks commented on GitHub (Mar 19, 2023):
Thanks!