Hi Taxman On 14 Mai, 21:18, Taxman <[email protected]> wrote: > I followed the instructions > fromhttp://sites.google.com/site/ocropus/install-mercurial > on a clean install of Ubuntu 9.04 and noticed that the prerequisites > missed two important things: > > build-essential > imagemagick me too > > build-essential seems really obvious since that's what has g++ and so > on, but imagemagick I only noticed when it failed with convert not > found or something. the same > > Also building ocropus failed eventually with errors like: > > g++ -o ocr-tesseract/tesseract.o -c -g -fPIC -O3 -Wall -Wno-sign- > compare -Wno-write-strings -D__warn_unused_result__=__far__ - > D_BACKWARD_BACKWARD_WARNING_H=1 -fopenmp -DHAVE_LEPTONICA -I/usr/local/ > include -I/usr/local/include empty include .. smth like tesseract missing ...
> -I/usr/include/leptonica -I/usr/local/ > include/leptonica -I/usr/local/include/leptonica -Iinclude -Iocr-utils > ocr-tesseract/tesseract.cc > ocr-tesseract/tesseract.cc:32:22: error: tordvars.h: No such file or > directory > ocr-tesseract/tesseract.cc:33:21: error: control.h: No such file or > directory > ocr-tesseract/tesseract.cc:34:22: error: tessvars.h: No such file or > directory > > even though tordvars.h, etc are available in /usr/include/tesseract/ > in SConstruct uncomment #if 0: before tesseract path is added and remove indent worked for me, 0mat --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ocropus" 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/ocropus?hl=en -~----------~----~----~----~------~----~------~--~---
