Hello,

I have a compile error as the result of running 'make' for Tesseract 3.01:

bclar:vesta> make
make  all-recursive
make[1]: Entering directory `/home/bclar/tesseract-3.01'
Making all in ccutil
make[2]: Entering directory `/home/bclar/tesseract-3.01/ccutil'
make[3]: Entering directory `/home/bclar/tesseract-3.01/ccutil'
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I..   -I/usr/local/include/leptonica -DTESSDATA_PREFIX=/usr/local/share/ 
-g -O2 -MT ambigs.lo -MD -MP -MF .deps/ambigs.Tpo -c -o ambigs.lo ambigs.cpp
 g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/leptonica 
-DTESSDATA_PREFIX=/usr/local/share/ -g -O2 -MT ambigs.lo -MD -MP -MF 
.deps/ambigs.Tpo -c ambigs.cpp  -fPIC -DPIC -o .libs/ambigs.o
In file included from params.h:26,
                 from tprintf.h:23,
                 from ambigs.h:25,
                 from ambigs.cpp:24:
strngs.h:1: error: stray '\357' in program
strngs.h:1: error: stray '\273' in program
strngs.h:1: error: stray '\277' in program
In file included from unicharset.h:24,
                 from ambigs.h:27,
                 from ambigs.cpp:24:
strngs.h:1: error: stray '\357' in program
strngs.h:1: error: stray '\273' in program
strngs.h:1: error: stray '\277' in program
make[3]: *** [ambigs.lo] Error 1
make[3]: Leaving directory `/home/bclar/tesseract-3.01/ccutil'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bclar/tesseract-3.01/ccutil'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bclar/tesseract-3.01'
make: *** [all] Error 2

I'm following the installation guide as instructed.  I ran autogen.sh and 
configure in order, without incident.
I have installed Leptonica 1.69.  

Operating System:  Linux (Fedora) vesta.cccsc.local 
2.6.27.25-78.2.56.fc9.i686 #1 SMP Thu Jun 18 12:47:50 EDT 2009 i686 i686 
i386 GNU/Linux

I tried removing the opening comments in ccutil/strngs.h as a quick google 
told me that a "stray '\357'" error is usually the result of a corrupt 
character in a line.  This didn't work.  It created more errors.

~ Bill Clar

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" 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/tesseract-ocr?hl=en

Reply via email to