Hello,
I have checked out tesseract 3.0 and compiled it on my Ubuntu
box - that is working fine. I'm now looking to cross compile
tesseract to install it onto a Beagleboard. So far I have:
<code>
#!/bin/sh
make clean
./configure CXX=/opt/toolchain/arm-2008q1/bin/arm-none-linux-gnueabi-g+
+ CC=/opt/toolchain/arm-2008q1/bin/arm-none-linux-gnueabi-gcc LD=/opt/
toolchain/arm-2008q1/bin/arm-none-linux-gnueabi-ld --host=arm-linux
#okie we need to replace the linker in the Makefiles to the one in the
toolchain - this is what the next line does
find . -type f -name "Makefile" | xargs perl -pi -e 's/ld /\/opt\/
toolchain\/arm-2008q1\/bin\/arm-none-linux-gnueabi-ld /g'
make
</code>
This runs without error however it is complaining about liblept:
cc1plus: warning: include location "/usr/local/include/liblept" is
unsafe for cross-compilation
I'm not sure what to do here; do I need to cross-compile liblept and
somehow install it on the target device? If so; I'm not sure how to
go about doing that or even if I'm barking up the correct tree. Any
assistance would be great there - if you could provide tips I'd be v.
grateful.
Thanks in advance.
Regards,
Neil
--
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.