mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-16 05:25:09 +00:00
[BUG] Mac compiling errors #330
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 @mackworth on GitHub (Sep 21, 2017).
CCExtractor version (using the --version parameter preferably) : 0.86
(Please see required affirmations at end of submittal...)
Necessary information
Additional information
When I try to compile on the Mac (10.12.6; Xcode 9.0), following the instructions in the README and with a clean clone from github, in the
cmakecase, I getThen in the
build.commandcase, I get a linker error instead:And finally in the
autoconfcase, I get yet a different problem:As an aside, while ensuring I was following the README file exactly, I noticed one problem and one suggestion. At the start of the compilation section, where it says
cd ccextractor/src/, I think you meancd ccextractor, as otherwise the cmake instruction (cmake ../src/in the next section doesn't work (and one usually doesn't want a build directory inside one's src directory).Secondly, in the Mac-specific section, where it says
Make sure tesseract and leptonica are detected by pkg-config, it would be nice to give the relevant commands (for those of us unfamiliar with pkg-config). It took me a little searching, but I figured out they should be:pkg-config --exists --print-errors tesseractpkg-config --exists --print-errors leptFinally, with all the good work done on integrating the build process, the file README.MAC.TXT no longer seems necessary.
Any suggestions on getting it to compile? (BTW, while I'm supposed to choose Bug, Proposal, or Question (and compilation doesn't seem to work as suggested), it seems highly likely to me that I'm just doing something wrong.)
In raising this issue, I confirm the following (please check boxes, eg [X]):
My familiarity with the project is as follows (check one, eg [X]):