You need to update iulib and re-install it; some interfaces have changed. Also, if the latest versions don't work, just check out an older revision; the check-ins into the subversion repository are sometimes broken. Or just use the released version (0.3); there haven't been a lot of changes.
Tom On Tue, Nov 4, 2008 at 15:49, apaczko <[EMAIL PROTECTED]> wrote: > > Hi all! > > Please, help me, I am stuck with these. > > I am downloading with svn the latest rep. from GCode. > > I am trying to complie it on DEbian etch. I am found some problem, but > i am bale fix it, but I can't fix this. > > Thanks in advance, > > config.status: executing depfiles commands > > OK! You can build and install OCRopus the usual way: > > make > sudo make install > > > To recognize something, you can use > > ocroscript recognize data/pages/alice_1.png > > Making all in . > make[1]: Entering directory `/home/apaczko/source/ocropus-read-only' > g++ -DPACKAGE_NAME=\"ocropus\" -DPACKAGE_TARNAME=\"ocropus\" - > DPACKAGE_VERSION=\"0.3\" -DPACKAGE_STRING=\"ocropus\ 0.3\" - > DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ocropus\" -DVERSION=\"0.3\" - > DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 - > DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 - > DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - > DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FLOAT_H=1 -DHAVE_MALLOC_H=1 - > DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_WCHAR_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 - > DHAVE_LIBTIFF=1 -DHAVE_LIBIULIB=1 -DHAVE_LIBPTHREAD=1 - > DHAVE_LIBTESSERACT_FULL=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBFST=1 - > DHAVE_LIBLEPT=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_GFX=1 -DHAVE_FORK=1 - > DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_DUP2=1 -DHAVE_MEMSET=1 - > DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRRCHR=1 -I. -I./ > ext/voronoi -I./ocr-langmods -I./ocr-binarize -I./ocr-bpnet -I./ocr- > deskew-rast -I./ocr-doc-clean -I./ocr-layout-rast -I./ocr-pageseg -I./ > ocr-samples -I./ocr-utils -I/usr/local/include/iulib -I/usr/local/ > include/colib -I/usr/local/include/colib/.. -DHAVE_FST -I./ocr- > tesseract -I/usr/local/include/tesseract -DHAVE_TESSERACT -I/usr/local/ > include/leptonica -DHAVE_LEPTONICA -g -O2 -MT bpnet.o -MD -MP - > MF .deps/bpnet.Tpo -c -o bpnet.o `test -f './ocr-bpnet/bpnet.cc' || > echo './'`./ocr-bpnet/bpnet.cc > ./ocr-bpnet/bpnet.cc: In function â€colib::IClassifier* > ocropus::make_BpnetClassifier()’: > ./ocr-bpnet/bpnet.cc:791: 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::param(const char*, double) > /usr/local/include/colib/classifier.h:43: note: virtual void > colib::IClassifier::start_training() > /usr/local/include/colib/classifier.h:44: note: virtual void > colib::IClassifier::start_classifying() > ./ocr-bpnet/bpnet.cc: In function â€colib::IClassifier* > ocropus::make_BpnetClassifierDumpIntoFile(const char*)’: > ./ocr-bpnet/bpnet.cc:795: 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/apaczko/source/ocropus-read-only' > make: *** [all-recursive] Error 1 > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
