mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[QUESTION] ccextractor.h:10:10: fatal error: 'leptonica/allheaders.h' file not found with leptonica installed
#723
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 @medikoo on GitHub (Oct 27, 2022).
CCExtractor version: v94
Necessary information
I'm trying to compile ccextractror with hardsubx support on macOS 12.6 (Intel), I'm following instructions at https://github.com/CCExtractor/ccextractor/blob/master/docs/COMPILATION.MD#using-cmake and no matter what I do I approach the fail:
I definitely have
leptonicainstalled (via brew), and see the mentioned headers file at/usr/local/Cellar/leptonica/1.82.0_1/include/leptonica/allheaders.h. I've attempted to run compilation withPATH="/usr/local/Cellar/leptonica/1.82.0_1/include:$PATH"but it didn't change anything.Why exactly
makecommand doesn't see this headers file, and what can I do to fix it?@abhi-kr-2100 commented on GitHub (Nov 24, 2022):
Can you try setting
CPATHto$CPATH:/usr/local/Cellar/leptonica/1.82.0_1/include/and rerunningmake:@PunitLodha commented on GitHub (Mar 14, 2023):
Is this still an issue on the latest master?
@cfsmp3 commented on GitHub (Mar 15, 2023):
I'm closing this because