Edit the build_fat.sh file to reflect the actual version number and
location of the iPhone SDK you have on your computer. The 10.5 version
of the script is looking for SDK 2.2.1 and the 10.6 version of the
script is looking for SDK 3.0.

Regarding Tesseract 3.0 / svn....I haven't tried to use the script for
that version. However, I believe that the output of that version is ./
api/libtesseract_api.a so perhaps editing the build_fat.sh file to
look there rather than looking for libtesseract_full.a would get you
further.

-r

On Feb 27, 3:13 pm, Kevin Lopez <[email protected]> wrote:
> elninom,
> I tried to compile tesseract 2.04 but I am getting the same error that
> you got before:
> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo:
> specifed architecture type (arm) for file (lnsout/
> libtesseract_full.a.arm) does not match it's cputype (7) and
> cpusubtype (3) (should be cputype (12) and cpusubtype (0))
>
> Should I reinstall XCode (current version 3.1.4)? Also, you re-
> installed utilities again, what does utility refer to?
>
> Thanks,
>
> On Feb 14, 8:03 pm, elninom <[email protected]> wrote:
>
>
>
> > I succeeded on tesseract 2.04. I installed xcode and utilities again
> > and it was working.
>
> > I was tried to compiling tesseract 3.0 
> > fromhttp://tesseract-ocr.googlecode.com/svn/trunk/
> > I ran ./runautoconf,automake -a -c,build_fat.sh
> > Then, I've get these errors:
>
> > cp: ccmain/libtesseract_full.a: No such file or directory
> > /usr/bin/lipo: can't open input file: lnsout/libtesseract_full.a.arm
> > (No such file or directory)
>
> > It didn't create ccmain/libtesseract_full.a, so I couldn't get any
> > file in lnsout/
> > Anybody success on tesseract 3.0? Because of files are different from
> > 2.04, build script must reconfigure.
> > Thanks in advance.

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