Hi, you need to install iulib-0.3 with ocropus-0.3, or the Subversion version of iulib with the Subversion version of ocropus.
Tom On Fri, Nov 7, 2008 at 20:58, jimfunderburk <[EMAIL PROTECTED]> wrote: > > From a post of Nov 4, a user had an error in the make step of ocropus. > I am having what seems like the same problem. > I am running with ubuntu 8.04, using a g++ just installed. > I have tried after installation with either 'iulib' or 'iulib-read- > only'. > I have tried both 0.3.1 and 0.3 of ocropus. > > The ocropus configuration command is begin run as: > ./configure --without-fst --without-leptonica > > As a novice, I am not sure what to try next. > Thanks for any suggestions. > > Jim Funderburk > > Here is the tail of the ocropus (where the colib was generated via > 'iulib-read-only' and > ocropus was via version 0.3) > > > ./ocr-bpnet/bpnet.cc: In member function 'virtual void > iupr_bpnet::BpnetClassifier::score(colib::floatarray&, > colib::floatarray&)': > ./ocr-bpnet/bpnet.cc:401: warning: 'normalize_input_classify' is > deprecated (declared at ./ocr-utils/ocr-utils.h:168) > ./ocr-bpnet/bpnet.cc:401: warning: 'normalize_input_classify' is > deprecated (declared at ./ocr-utils/ocr-utils.h:168) > ./ocr-bpnet/bpnet.cc: In function 'colib::IClassifier* > ocropus::make_BpnetClassifier()': > ./ocr-bpnet/bpnet.cc:776: error: cannot allocate an object of abstract > type 'iupr_bpnet::BpnetClassifier' > ./ocr-bpnet/bpnet.cc:248: note: because the following virtual > functions are pure within 'iupr_bpnet::BpnetClassifier': > /usr/local/include/colib/classifier.h:40: note: virtual void > colib::IClassifier::set(const char*, double) > /usr/local/include/colib/classifier.h:46: note: virtual void > colib::IClassifier::startTraining() > /usr/local/include/colib/classifier.h:47: note: virtual void > colib::IClassifier::finishTraining() > ./ocr-bpnet/bpnet.cc: In function 'colib::IClassifier* > ocropus::make_BpnetClassifierDumpIntoFile(const char*)': > ./ocr-bpnet/bpnet.cc:780: error: cannot allocate an object of abstract > type 'iupr_bpnet::BpnetClassifier' > ./ocr-bpnet/bpnet.cc:248: note: since type > 'iupr_bpnet::BpnetClassifier' has pure virtual functions > make[1]: *** [bpnet.o] Error 1 > make[1]: Leaving directory `/home/hpadministrator/ocropus-0.3' > make: *** [all-recursive] Error 1 > h > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
