jeffreyaikin / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
0 stars 0 forks source link

[ 1591000 ] Does not build on OS X #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The build setup is hopelessly brain-dead, failing to compile on OS X due
to lack of linux includes:

$ make
make all-recursive
Making all in ccstruct
source='blobbox.cpp' object='blobbox.o' libtool=no \
depfile='.deps/blobbox.Po' tmpdepfile='.deps/blobbox.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../ccutil -I../cutil -I../image -I../
viewer -I/opt/local/include -DNDEBUG -O3 -Wall -c -o blobbox.o `test
-f 'blobbox.cpp' || echo './'`blobbox.cpp
In file included from ../ccutil/host.h:73,
from ../ccutil/clst.h:24,
from ../ccutil/varable.h:24,
from blobbox.h:23,
from blobbox.cpp:21:
../ccutil/platform.h:7:26: error: linux/limits.h: No such file or
directory
make[3]: *** [blobbox.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Original issue reported on code.google.com by tmb...@gmail.com on 7 Mar 2007 at 10:25

GoogleCodeExporter commented 9 years ago

Original comment by tmb...@gmail.com on 7 Mar 2007 at 10:35

GoogleCodeExporter commented 9 years ago
For me it 1.03 builds on MacOSX 10.4.x (PPC), but calling

~/tesseract-1.03$ ./tesseract phototest.tif out

I see just garbage in out.txt.  Not a single character is properly recognized.

Original comment by ke7b...@gmail.com on 10 Mar 2007 at 7:59

GoogleCodeExporter commented 9 years ago
I think the original report is about version 1.02.  So I'm going to create a 
separate
report about my issue.  See 
http://code.google.com/p/tesseract-ocr/issues/detail?id=17

Original comment by ke7b...@gmail.com on 10 Mar 2007 at 8:06

GoogleCodeExporter commented 9 years ago
Regarding comment 2: This is the same libtiff issue reported for linux. 
Reconfigure
with --without-libtiff and it will work.

Original comment by tony....@gmail.com on 20 Mar 2007 at 5:20

GoogleCodeExporter commented 9 years ago
Fixed in 1.03

Original comment by theraysm...@gmail.com on 17 May 2007 at 6:15