Yeah, I remembered that it is supposed to work on Linux (only). But
since that version 1.69 sounds a bit sketchy, I thought it was worth a
try. :-)
--Sven

On Wed, Sep 26, 2012 at 11:34 AM, zdenko podobny <[email protected]> wrote:
> I have no problem with leptonica 1.69 on linux ;-)
>
> In 3.01 (for some compilers) there is problem with BOM in strngs.h. BOM has
> to be removed from strings.h
> If somebody has problem to remove it, than download (or "save as") fixed
> version from svn revision 529[1] and put it instead of ccutil/strngs.h.
>
> [1]
> http://tesseract-ocr.googlecode.com/svn-history/r529/trunk/ccutil/strngs.h
>
> --
> Zdenko
>
>
> On Wed, Sep 26, 2012 at 6:20 PM, Sven Pedersen <[email protected]>
> wrote:
>>
>> Hi Bill,
>> Leptonica 1.69 may not work (it is not fully tested) -- use 1.68.
>> Also, if you're building from source you may as well use the latest
>> tesseract code from SVN -- it is faster and more accurate.
>> --Sven
>>
>> On Wed, Sep 26, 2012 at 9:17 AM, Bill Clar <[email protected]> wrote:
>> > 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
>>
>>
>>
>> --
>> ``All that is gold does not glitter,
>>   not all those who wander are lost;
>> the old that is strong does not wither,
>>   deep roots are not reached by the frost.
>> From the ashes a fire shall be woken,
>>   a light from the shadows shall spring;
>> renewed shall be blade that was broken,
>>   the crownless again shall be king.”
>>
>> --
>> 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
>
>
> --
> 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



-- 
``All that is gold does not glitter,
  not all those who wander are lost;
the old that is strong does not wither,
  deep roots are not reached by the frost.
>From the ashes a fire shall be woken,
  a light from the shadows shall spring;
renewed shall be blade that was broken,
  the crownless again shall be king.”

-- 
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