Can't build it.

43 views
Skip to first unread message

jka...@gmail.com

unread,
Jul 30, 2015, 10:20:09 AM7/30/15
to openDIAS
Hello,

   I just downloaded version 0.9.5 into my Slackware system.  The make fails with the following error:

import_doc.c: In function ‘uploadfile’:
import_doc.c:88:3: error: unknown type name ‘PIX’

   So I looked for "PIX" and indeed, I can't find a definition for it anywhere.

                   ??

Thanks in advance,


                 - Jerry Kaidor

jka...@gmail.com

unread,
Jul 30, 2015, 12:02:31 PM7/30/15
to openDIAS, jka...@gmail.com
Hmm - looks like PIX is a typedef in the "leptonica" project.  Even though I installed leptonica, the opendias build is not able to find it.
Leptonica is apparently needed for OCR.  OK, I can do without OCR to try things out.   So I found the two uses of the PIX in import_doc.c,
and bracketed them with "#ifdef CAN_OCR", and got a complete build.
Reply all
Reply to author
Forward
0 new messages