> > Are you using the latest Mercurial version? Tesseract is not part of the > default build anymore, so you should not be seeing any Tesseract related > errors.
Yes, freshly cloned from http://mercurial.iupr.org/ocropus today, includes ocr-tesseract directory with ocr-tesseract.h and tesseract.cc You may need to remove the Tesseract related sources manually, since the > scons build file may otherwise still attempt to compile them. Look at > something like > > hg status | egrep '^\?.*\.(c|h)' $ hg status | egrep '^\?.*\.(c|h)' ? .sconf_temp/conftest_0.cpp ? .sconf_temp/conftest_1.cpp ? .sconf_temp/conftest_2.c ? .sconf_temp/conftest_3.c ? .sconf_temp/conftest_4.c ? .sconf_temp/conftest_5.c ? .sconf_temp/conftest_6.c ? .sconf_temp/conftest_7.c ? autom4te.cache/output.0 ? autom4te.cache/output.1 ? autom4te.cache/requests ? autom4te.cache/traces.0 ? autom4te.cache/traces.1 ? version.cc $ hg status | egrep '^\?.*\.(c|h)' | cut -d' ' -f2 | xargs rm Still no luck building though. I tried removing the ocr-tesseract directory altogether, but then got errors about it being missing. Any other ideas? DrMeers <[email protected]> wrote: > > > > >I'm having trouble building ocropus on Ubuntu 8.04. I've installed the > >prerequistive packages, obtained iulib and ocropus via mercurial, > >built iulib successfully, but come up against a glitch when building > >ocropus. > > > >Firstly, using scons (which I realise is set up for Jaunty/9.04), all > >of the tesseract include files in ocr-tesseract/tesseract.cc cannot be > >found. This can be fixed by prepending "tesseract/" to the header file > >names, or using the build script to run autoconf. > > > >The problem I cannot get past is: > >./ocr-tesseract/tesseract.cc:149: error: ‘RecognizedPage’ has not been > >declared > > > >The class appears to be defined in the corresponding header file, but > >including it directly only causes more errors. Does anyone know what > >causes this problem or how to fix it? (without being cheeky and > >telling me to install Jaunty :) > >> > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
