Missig file capi.h when installing #175

Closed
opened 2026-01-29 16:36:58 +00:00 by claunia · 5 comments
Owner

Originally created by @soura97 on GitHub (Sep 8, 2016).

I was trying to install ccextractor by downloading the zip from github. I unzipped it using unzip ccextractor-master then performed cd linux and ./build when following messages were given and installation terminated.

./build: line 11: protobuf-c: command not found
Obtaining Git commit
Git command not present, trying folder approach
Storing variables in file
Commit: Unknown
Date: 2016-09-08
Stored all in compile.h
Done.
../src/lib_ccx/ocr.c:4:18: fatal error: capi.h: No such file or directory
compilation terminated.

Originally created by @soura97 on GitHub (Sep 8, 2016). I was trying to install ccextractor by downloading the zip from github. I unzipped it using **unzip ccextractor-master** then performed **cd linux** and **./build** when following messages were given and installation terminated. ./build: line 11: protobuf-c: command not found Obtaining Git commit Git command not present, trying folder approach Storing variables in file Commit: Unknown Date: 2016-09-08 Stored all in compile.h Done. ../src/lib_ccx/ocr.c:4:18: fatal error: capi.h: No such file or directory compilation terminated.
Author
Owner

@canihavesomecoffee commented on GitHub (Sep 8, 2016):

Do you have OCR installed? By default OCR is enabled nowadays, and the libraries are thus required.

@canihavesomecoffee commented on GitHub (Sep 8, 2016): Do you have OCR installed? By default OCR is enabled nowadays, and the libraries are thus required.
Author
Owner

@soura97 commented on GitHub (Sep 9, 2016):

I installed Tesseract and Leptonica but still showing the same error. Any idea?

@soura97 commented on GitHub (Sep 9, 2016): I installed Tesseract and Leptonica but still showing the same error. Any idea?
Author
Owner

@cfsmp3 commented on GitHub (Sep 12, 2016):

@soura97 You need the development packages.

This is what I use for Ubuntu 16.04

libleptonica-dev
libtesseract-dev
libtesseract3
tesseract-ocr-dev
tesseract-ocr-eng

@cfsmp3 commented on GitHub (Sep 12, 2016): @soura97 You need the development packages. This is what I use for Ubuntu 16.04 libleptonica-dev libtesseract-dev libtesseract3 tesseract-ocr-dev tesseract-ocr-eng
Author
Owner

@maxkoryukov commented on GitHub (Nov 10, 2016):

@cfsmp3, It is really helpful comment. May be it is worth to add its content to the linux/readme.md ??

@maxkoryukov commented on GitHub (Nov 10, 2016): @cfsmp3, It is really helpful comment. May be it is worth to add its content to the `linux/readme.md` ??
Author
Owner

@cfsmp3 commented on GitHub (Nov 10, 2016):

It would probably make more sense to have ./build check for capi.h, or in
case of compilation failure write an explanation with the likely causes. Or
do both :-) Or not fail and just build without OCR support.

What I will do is create a task for code-in so someone does one of these
thinks :-)

On Thu, Nov 10, 2016 at 1:22 PM, Maksim Koryukov notifications@github.com
wrote:

@cfsmp3 https://github.com/cfsmp3, It is really helpful comment. May be
it is worth to add its content to the linux/readme.md ??


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CCExtractor/ccextractor/issues/420#issuecomment-259811247,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFrJ2ZtMpa4y7oS7eKplKl0MRRxB_oonks5q84stgaJpZM4J3nZT
.

@cfsmp3 commented on GitHub (Nov 10, 2016): It would probably make more sense to have ./build check for capi.h, or in case of compilation failure write an explanation with the likely causes. Or do both :-) Or not fail and just build without OCR support. What I will do is create a task for code-in so someone does one of these thinks :-) On Thu, Nov 10, 2016 at 1:22 PM, Maksim Koryukov notifications@github.com wrote: > @cfsmp3 https://github.com/cfsmp3, It is really helpful comment. May be > it is worth to add its content to the linux/readme.md ?? > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > https://github.com/CCExtractor/ccextractor/issues/420#issuecomment-259811247, > or mute the thread > https://github.com/notifications/unsubscribe-auth/AFrJ2ZtMpa4y7oS7eKplKl0MRRxB_oonks5q84stgaJpZM4J3nZT > .
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#175