That's probably a version mismatch between Leptonica and OCRopus. We have removed the Leptonica dependency in the latest Mercurial version.
Tom On Nov 11, 7:24 pm, michael <[email protected]> wrote: > Hi, > > I cannot build the latest version (4.4) of ocropus on Debian (x86_64). > I am using the latest version of all packages and successfully built > and installed the development version of iulib distrbuted with the > ocropus source code. > > The compilation of ocropus fails in leptonica: > (snip) > > g++ -o ocr-layout/ocr-char-stats.o -c -g -fPIC -O3 -Wall -Wno-sign- > compare -Wno-write-strings -D__warn_unused_result__=__far__ - > D_BACKWARD_BACKWARD_WARNING_H=1 -fopenmp -DHAVE_LEPTONICA -I/usr/local/ > include -I/usr/local/include -I/usr/include/leptonica -I/usr/local/ > include/leptonica -I/usr/local/include/leptonica -Iinclude -Iocr-utils > ocr-layout/ocr-char-stats.cc > In file included from include/ocropus.h:71, > from commands/ocr-distance.cc:29: > /usr/include/leptonica/queue.h:52: error: 'l_int32' does not name a > type > /usr/include/leptonica/queue.h:53: error: 'l_int32' does not name a > type > /usr/include/leptonica/queue.h:55: error: 'l_int32' does not name a > type > In file included from include/ocropus.h:71, > from ocr-layout/ocr-detect-columns.cc:26: > /usr/include/leptonica/queue.h:52: error: 'l_int32' does not name a > type > /usr/include/leptonica/queue.h:53: error: 'l_int32' does not name a > type > /usr/include/leptonica/queue.h:55: error: 'l_int32' does not name a > type > scons: *** [commands/ocr-distance.o] Error 1 > In file included from include/ocropus.h:71, > from ocr-layout/ocr-text-image-seg.cc:26: > /usr/include/leptonica/queue.h:52: error: 'l_int32' does not name a > type > /usr/include/leptonica/queue.h:53: error: 'l_int32' does not name a > type > /usr/include/leptonica/queue.h:55: error: 'l_int32' does not name a > type > In file included from include/ocropus.h:71, > from ocr-layout/ocr-char-stats.cc:26: > /usr/include/leptonica/queue.h:52: error: 'l_int32' does not name a > type > /usr/include/leptonica/queue.h:53: error: 'l_int32' does not name a > type > /usr/include/leptonica/queue.h:55: error: 'l_int32' does not name a > type > scons: *** [ocr-layout/ocr-detect-columns.o] Error 1 > scons: *** [ocr-layout/ocr-text-image-seg.o] Error 1 > scons: *** [ocr-layout/ocr-char-stats.o] Error 1 > scons: building terminated because of errors. > > Any ideas? > > Thanks, > > Michael -- You received this message because you are subscribed to the Google Groups "ocropus" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/ocropus?hl=en.
