I had the same problem. Fixed it by deleting ocr-tesseract directory from the ocropus source tree. It got put there by "hg clone http://mercurial.iupr.org/ocropus" command.
On May 26, 12:16 am, Tom <[email protected]> wrote: > 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. > > 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)' > > To look for obsolete .cc and .h files. > > Tom > > 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 -~----------~----~----~----~------~----~------~--~---
