[BUG] Windows Compile Error - Fix for OCR lib #484

Closed
opened 2026-01-29 16:45:09 +00:00 by claunia · 1 comment
Owner

Originally created by @ggnull35 on GitHub (Feb 22, 2019).

I am using the latest git version. When I try to build Debug-Full on Windows VS2017 gives out cannot find capi.h error.

I fixed to lines to:

ocr.c Line 4: #include "capi.h"
params.c Line 19: #include "capi.h"

Before they were: #include "tesseract/capi.h"

Originally created by @ggnull35 on GitHub (Feb 22, 2019). I am using the latest git version. When I try to build Debug-Full on Windows VS2017 gives out cannot find capi.h error. I fixed to lines to: ocr.c Line 4: #include "capi.h" params.c Line 19: #include "capi.h" Before they were: #include "tesseract/capi.h"
Author
Owner

@cfsmp3 commented on GitHub (Jun 6, 2019):

This was solved already. Note that your change made it compile on Windows but broke it on linux.

@cfsmp3 commented on GitHub (Jun 6, 2019): This was solved already. Note that your change made it compile on Windows but broke it on linux.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#484