![]() |
How to install Tesseract?
I'm trying to install Googles Tesseract OCR engine.
I have downloaded the source. Extracted tar-gz with tar -xvzf But when I run ./configure, I get this error: checking for cl.exe... no checking for g++... no checking for c++ compiler default output file name... configure: error: C++ compiler cannot create executables See 'config.log' for more details. Does anyone know how to get this to compile? It's obviously something wrong with g++, but it is installed and working normally. Same error occurs on the device and in scratchbox |
Re: How to install Tesseract?
Can you build the package on your regular desktop, outside scratchbox?
|
Re: How to install Tesseract?
Quote:
The same problem. Maybe it is a permission issue |
Re: How to install Tesseract?
I have tired to install it with apt from the extras rep.
It installs fine, but I'm having trouble running it. So I was hoping someone could help me out. I get the following error when I run tesseract command: Error: Unable to open /home/opt/maemo/usr/share/tesseract-ocr/tessdata/eng.inttemp I have searched, there are 2 instances of the file: 1. in /home/opt/maemo/usr/share/tesseract-ocr/tessdata/eng.inttemp, which is a symbolic link that point to itself. Actually it points to /opt/maemo/usr/... But since there is a symbolic link between /opt -> /home/opt, it points to itself. 2. the second one is in /media/n900/proc/self/root/proc/4705/cwd/tessdata (2)/eng.inttemp, but I doubt that this is the right one. I can just copy the file from source over the link, but that is dirty. |
Re: How to install Tesseract?
Quote:
i've found the missing files on the google code project at the link below : http://code.google.com/p/tesseract-o...ar.gz&can=2&q= Before you need to delete the symlink from the destination directory. Then, you just have to extract and copy files into the /opt/maemo/usr/share/tesseract-ocr/tessdata/ directory. Don't forget to change the privilege to 444 for all files. Hope it will help. |
Re: How to install Tesseract?
edit test.cpp and whack in:
Code:
#include <iostream>HTML Code:
g++ -o test test.cpp && ./testweeeelll that is helpful! Make sure your g++ compiler can actually produce working binaries first.. |
Re: How to install Tesseract?
A Tesseract 3.0 package would be great...
|
| All times are GMT. The time now is 08:58. |
vBulletin® Version 3.8.8