My favorites | Sign in
Logo
                
Details: Show all Hide all

Last 7 days

  • Dec 22, 2009
    issue 233 (Can someone create or establish a ubuntu 9.10 definitive ins...) reported by wjwe...@comcast.net   -   [Please attach sample images necessary to reproduce the problem.] [What version are you using? On what operating system?] [What are you trying to accomplish?] [What commands did you use?] [What is the expected output?] [What output are you getting?] [If you attach an image, please tag with SampleImage. If you attach a bundle or patch to fix the problem, please tag with FixBundle or FixPatch.]
    [Please attach sample images necessary to reproduce the problem.] [What version are you using? On what operating system?] [What are you trying to accomplish?] [What commands did you use?] [What is the expected output?] [What output are you getting?] [If you attach an image, please tag with SampleImage. If you attach a bundle or patch to fix the problem, please tag with FixBundle or FixPatch.]
  • Dec 21, 2009
    issue 197 ([FixPatch] buildhtml produces no output) commented on by tfmorris   -   Although this patch has been flagged as accepted, it doesn't appear to have been applied to the repository, at least as of rev fb0eb45fe413. Without it, ocropus generates text files with 6 character names and looks for them with 4 character names, thus generating an empty html file.
    Although this patch has been flagged as accepted, it doesn't appear to have been applied to the repository, at least as of rev fb0eb45fe413. Without it, ocropus generates text files with 6 character names and looks for them with 4 character names, thus generating an empty html file.
  • Dec 21, 2009
    issue 228 ([error] CHECK ocr-line/glclass.cc:1743 Training incomplete f...) commented on by tfmorris   -   That check was added in rev 5d23c19169 on Nov. 8, by gv. I haven't dug in to whether the check is valid and is indicating a real underlying problem, but commenting it out allows things to run and produce results. I haven't done any real evaluation yet, but it does correctly recognize the simple.png test file.
    That check was added in rev 5d23c19169 on Nov. 8, by gv. I haven't dug in to whether the check is valid and is indicating a real underlying problem, but commenting it out allows things to run and produce results. I haven't done any real evaluation yet, but it does correctly recognize the simple.png test file.
  • Dec 20, 2009
    issue 158 (ocr-utils/components.cc requires extern char **environ; on M...) commented on by Michael....@gmail.com   -   This solution won't work for dylib libraries on OSX instead use #include <unistd.h> #include "colib/colib.h" #include "iulib.h" #include "components.h" #include <crt_externs.h> #define environ (*_NSGetEnviron()) using namespace colib; namespace { This should be portable.
    This solution won't work for dylib libraries on OSX instead use #include <unistd.h> #include "colib/colib.h" #include "iulib.h" #include "components.h" #include <crt_externs.h> #define environ (*_NSGetEnviron()) using namespace colib; namespace { This should be portable.
  • Dec 20, 2009
    issue 228 ([error] CHECK ocr-line/glclass.cc:1743 Training incomplete f...) commented on by Michael....@gmail.com   -   I have the same problem. I've tried the aepalea-suggested changes in xml_unescape and they make no difference for me. Could the problem be related to the following warning? ocr-line/linerec.cc: In member function 'virtual bool glinerec::MetaLinerec::addTrainingLine(colib::intarray&, colib::bytearray&, colib::ustrg&)': ocr-line/linerec.cc:414: warning: control reaches end of non-void function
    I have the same problem. I've tried the aepalea-suggested changes in xml_unescape and they make no difference for me. Could the problem be related to the following warning? ocr-line/linerec.cc: In member function 'virtual bool glinerec::MetaLinerec::addTrainingLine(colib::intarray&, colib::bytearray&, colib::ustrg&)': ocr-line/linerec.cc:414: warning: control reaches end of non-void function
  • Dec 19, 2009
    issue 228 ([error] CHECK ocr-line/glclass.cc:1743 Training incomplete f...) commented on by aepalea   -   Decided to try the tagged release 0.4.3. It didn't compile properly with g++ (Ubuntu 4.4.1-4ubuntu8) 4.4.1 Constness violation in xml_unescape. Fixed by changing p to const char* and adding the const_cast<>. Now the example works as documented. void xml_unescape(nustring &dest, const char *src) { CHECK_ARG(src); dest.clear(); const char *begin = src; const char *p; while((p = strchr(begin, '&'))) { append_to_nustring(dest, begin, p - begin); begin = append_XML_entity(dest, const_cast<char *>(p)); CHECK_CONDITION(begin); } append_to_nustring(dest, begin); }
    Decided to try the tagged release 0.4.3. It didn't compile properly with g++ (Ubuntu 4.4.1-4ubuntu8) 4.4.1 Constness violation in xml_unescape. Fixed by changing p to const char* and adding the const_cast<>. Now the example works as documented. void xml_unescape(nustring &dest, const char *src) { CHECK_ARG(src); dest.clear(); const char *begin = src; const char *p; while((p = strchr(begin, '&'))) { append_to_nustring(dest, begin, p - begin); begin = append_XML_entity(dest, const_cast<char *>(p)); CHECK_CONDITION(begin); } append_to_nustring(dest, begin); }
  • Dec 19, 2009
    issue 228 ([error] CHECK ocr-line/glclass.cc:1743 Training incomplete f...) commented on by aepalea   -   I concur that something is broken here. Following http://code.google.com/p/ocropus/wiki/DevInstall under Ubuntu (Linux krumm 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux) Note that I had to first add /usr/local/lib to /etc/ld.so.conf in order for ocropus to run correctly, which is not documented. ocropus page data/testimages/simple.png [info] got 240 bboxes [info] all = 0 [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes If I try to use simple.png with the more complete example, the step ocropus lines2fsts work fails with the following error: [info] selecting (new) BookStore [info] cmodel=/usr/local/share/ocropus/models/default.model [warn] skipping work/0001/010001 (CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes) ... many more of same ...
    I concur that something is broken here. Following http://code.google.com/p/ocropus/wiki/DevInstall under Ubuntu (Linux krumm 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux) Note that I had to first add /usr/local/lib to /etc/ld.so.conf in order for ocropus to run correctly, which is not documented. ocropus page data/testimages/simple.png [info] got 240 bboxes [info] all = 0 [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes If I try to use simple.png with the more complete example, the step ocropus lines2fsts work fails with the following error: [info] selecting (new) BookStore [info] cmodel=/usr/local/share/ocropus/models/default.model [warn] skipping work/0001/010001 (CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes) ... many more of same ...

Last 30 days

  • Dec 16, 2009
    issue 232 (scons: building terminated because of errors.) reported by indu.mss   -   [Please attach sample images necessary to reproduce the problem.] [What version are you using? On what operating system?] ocropus0.4.3 Ubuntu 9.10 [What are you trying to accomplish?] Installing ocropus0.4.3 and using it in a python application using ocroswig. [What commands did you use?] hg update -r ocropus-0.4.3 scons sudo scons install [What is the expected output?] [What output are you getting?] Install file: "ocr-line/glclass.h" as "/usr/local/include/ocropus/glclass.h" scons: *** [/usr/local/include/ocropus/glclass.h] AssertionError : Installing source ['ocr-line/glclass.h', 'include/glclass.h'] into target ['/usr/local/include/ocropus/glclass.h']: target and source lists must have same length. Please suggest some solution for this .Thank you
    [Please attach sample images necessary to reproduce the problem.] [What version are you using? On what operating system?] ocropus0.4.3 Ubuntu 9.10 [What are you trying to accomplish?] Installing ocropus0.4.3 and using it in a python application using ocroswig. [What commands did you use?] hg update -r ocropus-0.4.3 scons sudo scons install [What is the expected output?] [What output are you getting?] Install file: "ocr-line/glclass.h" as "/usr/local/include/ocropus/glclass.h" scons: *** [/usr/local/include/ocropus/glclass.h] AssertionError : Installing source ['ocr-line/glclass.h', 'include/glclass.h'] into target ['/usr/local/include/ocropus/glclass.h']: target and source lists must have same length. Please suggest some solution for this .Thank you
  • Dec 08, 2009
    issue 231 (Anyone have any suggestions about an automated segmenting so...) reported by xalmoxis   -   [What version are you using? On what operating system?] 0.4.1 Debian Lenny [What are you trying to accomplish?] test,experiment, report and eventually use ocropus in a project [What commands did you use?] ocropus align dir [What is the expected output?] correct character segmentation, from ground truth text file. [What output are you getting?] the output is close, but it is always off by some amount of characters a) is this normal, or am I doing something wrong? b) to get around this I have been using Gimp, and manually segmenting the characters. The process is quite labor intensive, I was wondering if anyone could suggest a script, or even other software that does a fuzzy select of each character and then auto increments the color value for the next fill... Great work by the way... Awesome project
    [What version are you using? On what operating system?] 0.4.1 Debian Lenny [What are you trying to accomplish?] test,experiment, report and eventually use ocropus in a project [What commands did you use?] ocropus align dir [What is the expected output?] correct character segmentation, from ground truth text file. [What output are you getting?] the output is close, but it is always off by some amount of characters a) is this normal, or am I doing something wrong? b) to get around this I have been using Gimp, and manually segmenting the characters. The process is quite labor intensive, I was wondering if anyone could suggest a script, or even other software that does a fuzzy select of each character and then auto increments the color value for the next fill... Great work by the way... Awesome project
  • Dec 02, 2009
    issue 224 (failed to load default.model) commented on by neil.ablang   -   it processes tiff and png files only
    it processes tiff and png files only
  • Dec 01, 2009
    issue 214 (pages2lines gives ocr-commands/ocr-commands.cc:366) commented on by jbradfordparker   -   running on ubuntu 8.10; same problem. commented out line 366 and it worked fine.
    running on ubuntu 8.10; same problem. commented out line 366 and it worked fine.
  • Dec 01, 2009
    issue 230 (Compiling error) reported by kikkocristian   -   I'm trying to build the alpha 0.4.3. I'm running Ubuntu 9.10. Kernel 2.6.31-14-generic I have download all the requested deb packages (please note that can be difficult to install pyhon-dev package due to a bug on python-dev version in aptitude package manager). I've downloaded and installed iulib from mercurial with no problem, running scons for ocropus I get: [...] g++ -o ocr-utils/xml-entities.o -c -DDATADIR='"/usr/local/share/ocropus"' -g -fPIC -O2 -Wall -Wno-sign-compare -Wno-write-strings -D__warn_unused_result__=__far__ -D_BACKWARD_BACKWARD_WARNING_H=1 -DHAVE_LEPTONICA -I/usr/local/include -I/tmp/o/include -I/usr/local/include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/local/include/leptonica -Iinclude -Iocr-utils ocr-utils/xml-entities.cc ocr-utils/xml-entities.cc: In function 'void ocropus::xml_unescape(colib::nustring&, const char*)': ocr-utils/xml-entities.cc:119: error: invalid conversion from 'const char*' to 'char*' scons: *** [ocr-utils/xml-entities.o] Error 1 scons: building terminated because of errors. Please note that the installation of ocropus from aptitude package manager gives: [...]$ ocroscript rec-tess Pagina0002_.jpeg -l ita > Pagina.html ocroscript: /usr/share/ocropus/scripts//rec-tess.lua:68: CHECK colib/smartptr.h:412 stream although I have installed iulib I can't find any file smartptr.h (this issue was already reported and the proposed solution was to install iulib as far as I could understand).
    I'm trying to build the alpha 0.4.3. I'm running Ubuntu 9.10. Kernel 2.6.31-14-generic I have download all the requested deb packages (please note that can be difficult to install pyhon-dev package due to a bug on python-dev version in aptitude package manager). I've downloaded and installed iulib from mercurial with no problem, running scons for ocropus I get: [...] g++ -o ocr-utils/xml-entities.o -c -DDATADIR='"/usr/local/share/ocropus"' -g -fPIC -O2 -Wall -Wno-sign-compare -Wno-write-strings -D__warn_unused_result__=__far__ -D_BACKWARD_BACKWARD_WARNING_H=1 -DHAVE_LEPTONICA -I/usr/local/include -I/tmp/o/include -I/usr/local/include -I/usr/include/leptonica -I/usr/local/include/leptonica -I/usr/local/include/leptonica -Iinclude -Iocr-utils ocr-utils/xml-entities.cc ocr-utils/xml-entities.cc: In function 'void ocropus::xml_unescape(colib::nustring&, const char*)': ocr-utils/xml-entities.cc:119: error: invalid conversion from 'const char*' to 'char*' scons: *** [ocr-utils/xml-entities.o] Error 1 scons: building terminated because of errors. Please note that the installation of ocropus from aptitude package manager gives: [...]$ ocroscript rec-tess Pagina0002_.jpeg -l ita > Pagina.html ocroscript: /usr/share/ocropus/scripts//rec-tess.lua:68: CHECK colib/smartptr.h:412 stream although I have installed iulib I can't find any file smartptr.h (this issue was already reported and the proposed solution was to install iulib as far as I could understand).
  • Nov 30, 2009
    issue 229 (lines2fsts terminates with thrown char* on files containing ...) commented on by jer...@acjlaw.net   -   Labels: SampleImage
    Labels: SampleImage
  • Nov 30, 2009
    issue 229 (lines2fsts terminates with thrown char* on files containing ...) reported by jer...@acjlaw.net   -   [Please attach sample images necessary to reproduce the problem.] [What version are you using? On what operating system?] ocropus-0.4-r1 on Gentoo Linux [What are you trying to accomplish?] convert scanned document to hOCR [What commands did you use?] see attached bash script pdf2ocr e.g., pdf2ocr Test.pdf [What is the expected output?] Should expect a pdf, with embedded overlay of [hidden] text corresponding to found words/characters [What output are you getting?] Works fine on normal text, but crashes if there are rules (lines) Program shouldn't crash if it doesn't recognize a character. It should skip over what it doesn't understand and try to recognize as much as possible. Output of "pdf2ocr Test.pdf" (finished pg_0001.pdf correctly, but crashed on pg_0002.pdf) $ pdf2ocr Test.pdf Test.pdf do_ocr pg_0001.pdf book2pages [info] page 1 pages2lines [info] page 1 [info] #lines = 27 lines2fsts [info] rate -nan errs 0 ntrue 0 npred 0 lines 0 nogt 26 fsts2bestpaths [info] dir.ocropus/0001/0001.fst (0/26) fsts2text [info] dir.ocropus/0001/0001.fst (0/26) buildhtml /usr/lib/python2.6/site-packages/reportlab/pdfgen/canvas.py:17: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 do_ocr pg_0002.pdf book2pages [info] page 1 pages2lines [info] page 1 [info] #lines = 11 lines2fsts terminate called after throwing an instance of 'char*' /usr/local/bin/pdf2ocr: line 20: 30083 Aborted ocropus lines2fsts dir.ocropus [If you attach an image, please tag with SampleImage. If you attach a bundle or patch to fix the problem, please tag with FixBundle or FixPatch.]
    [Please attach sample images necessary to reproduce the problem.] [What version are you using? On what operating system?] ocropus-0.4-r1 on Gentoo Linux [What are you trying to accomplish?] convert scanned document to hOCR [What commands did you use?] see attached bash script pdf2ocr e.g., pdf2ocr Test.pdf [What is the expected output?] Should expect a pdf, with embedded overlay of [hidden] text corresponding to found words/characters [What output are you getting?] Works fine on normal text, but crashes if there are rules (lines) Program shouldn't crash if it doesn't recognize a character. It should skip over what it doesn't understand and try to recognize as much as possible. Output of "pdf2ocr Test.pdf" (finished pg_0001.pdf correctly, but crashed on pg_0002.pdf) $ pdf2ocr Test.pdf Test.pdf do_ocr pg_0001.pdf book2pages [info] page 1 pages2lines [info] page 1 [info] #lines = 27 lines2fsts [info] rate -nan errs 0 ntrue 0 npred 0 lines 0 nogt 26 fsts2bestpaths [info] dir.ocropus/0001/0001.fst (0/26) fsts2text [info] dir.ocropus/0001/0001.fst (0/26) buildhtml /usr/lib/python2.6/site-packages/reportlab/pdfgen/canvas.py:17: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 do_ocr pg_0002.pdf book2pages [info] page 1 pages2lines [info] page 1 [info] #lines = 11 lines2fsts terminate called after throwing an instance of 'char*' /usr/local/bin/pdf2ocr: line 20: 30083 Aborted ocropus lines2fsts dir.ocropus [If you attach an image, please tag with SampleImage. If you attach a bundle or patch to fix the problem, please tag with FixBundle or FixPatch.]

Earlier this year

  • Nov 23, 2009
    DevInstall Wiki page commented on by neil.ablang   -   try running ldconfig as root.. shared libraries are not linked
    try running ldconfig as root.. shared libraries are not linked
  • Nov 22, 2009
    2 new revisions pushed by tmb...@gmail.com   -   c4b7c279c4:removed obsolete character classifier f0c87e2833:Cleanup.
    c4b7c279c4:removed obsolete character classifier f0c87e2833:Cleanup.
  • Nov 22, 2009
    3 new revisions pushed by tmb...@gmail.com   -   071e0ad405:modifications for automated training of compound classifiers (multiple epochs etc) b31a731074:got rid of separate include directory; too confusing all include files are now installed by default fb0eb45fe4:General cleanup.
    071e0ad405:modifications for automated training of compound classifiers (multiple epochs etc) b31a731074:got rid of separate include directory; too confusing all include files are now installed by default fb0eb45fe4:General cleanup.
  • Nov 22, 2009
    issue 213 ([error] autodel: attempt to dereference null smartpointer wh...) commented on by peter.backx   -   I'm trying to use the latin3-full.model included in the latest and I still get this error
    I'm trying to use the latin3-full.model included in the latest and I still get this error
  • Nov 20, 2009
    issue 228 ([error] CHECK ocr-line/glclass.cc:1743 Training incomplete f...) commented on by mika.raento   -   The default.model in hg at this revision is around 3M whereas the earlier ones were around 5M - are some of the training phases missing?
    The default.model in hg at this revision is around 3M whereas the earlier ones were around 5M - are some of the training phases missing?
  • Nov 20, 2009
    issue 228 ([error] CHECK ocr-line/glclass.cc:1743 Training incomplete f...) reported by mika.raento   -   [What version are you using? On what operating system?] Revision: 5d23c19169 [What are you trying to accomplish?] basics [What commands did you use?] ocropus page data/testimages/simple.png [What is the expected output?] recognized text [What output are you getting?] [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes
    [What version are you using? On what operating system?] Revision: 5d23c19169 [What are you trying to accomplish?] basics [What commands did you use?] ocropus page data/testimages/simple.png [What is the expected output?] recognized text [What output are you getting?] [error] CHECK ocr-line/glclass.cc:1743 Training incomplete for all classes
  • Nov 20, 2009
    issue 213 ([error] autodel: attempt to dereference null smartpointer wh...) commented on by mika.raento   -   I think this is because the linerecognizer wasn't loaded, which happens at least if you use an older model whose format isn't compatible. It's fixed in the latest, AFAIK.
    I think this is because the linerecognizer wasn't loaded, which happens at least if you use an older model whose format isn't compatible. It's fixed in the latest, AFAIK.
  • Nov 20, 2009
    issue 226 (RemoveImageRegions doesn't compile (with HAVE_LEPTONICA)) commented on by mika.raento   -   Dup of #204
    Dup of #204
  • Nov 20, 2009
    issue 227 (Building (on Ubuntu 9.04) required '-ldl' in LINKFLAGS ) reported by mika.raento   -   Otherwise final linking fails with undefined reference to 'dlsym' etc.
    Otherwise final linking fails with undefined reference to 'dlsym' etc.
  • Nov 20, 2009
    issue 226 (RemoveImageRegions doesn't compile (with HAVE_LEPTONICA)) reported by mika.raento   -   It inherits (and implements) ICleanupBinary and ICleanupGray. This makes it inherit const char* interface() through both and results in a "no unique final overrider". I haven't read enough of the code to understand the contract for interface() to know how to fix this. It also doesn't implement cleanup_gray() though ICleanupGray declares it as a pure virtual. If I understand the code correctly this can be implemented by just calling cleanup().
    It inherits (and implements) ICleanupBinary and ICleanupGray. This makes it inherit const char* interface() through both and results in a "no unique final overrider". I haven't read enough of the code to understand the contract for interface() to know how to fix this. It also doesn't implement cleanup_gray() though ICleanupGray declares it as a pure virtual. If I understand the code correctly this can be implemented by just calling cleanup().
  • Nov 20, 2009
    issue 225 (queue.h in both leptonica and ocr-utils, SConstruct picks up...) reported by mika.raento   -   using leptonica 1.62 (latest at this point) the leptonica include path is added before ocr-utils in SConstruct would be nicer to qualify the includes (#include "ocr-utils/queue.h", #include "liblept/queue.h") to avoid these kinds of problems (normal Google style too)
    using leptonica 1.62 (latest at this point) the leptonica include path is added before ocr-utils in SConstruct would be nicer to qualify the includes (#include "ocr-utils/queue.h", #include "liblept/queue.h") to avoid these kinds of problems (normal Google style too)
  • Nov 20, 2009
    issue 224 (failed to load default.model) reported by moraving   -   On Ubuntu 9.04, I followed the instructions at: http://code.google.com/p/ocropus/wiki/DevInstall To build ocropus at /srv/ocropus/build. In iulib: hg clone https://iulib.googlecode.com/hg/ iulib scons sudo scons install In ocropus: hg clone http://ocropus.googlecode.com/hg ocropus scons sudo scons install I tweaked ocropus/ubuntu-packages to use `aptitude` and ran `sudo sh -x ocropus/ubuntu-packages` I symlinked /lib/libocropus.so and /lib/libiulib.so to their respective locations to resolve errors about those two not existing. Now I'm getting this error: {{{ FATAL: /usr/local/share/ocropus/models/default.model: failed to load (/usr/local/share/ocropus/models/default.model: failed to load (/usr/local/s) }}} /usr/local/share/ocropus doesn't exist. So I tried creating it and symlinking "models" within it: [0 amanda@brahms ~]$ sudo ln -s /srv/ocropus/build/ocropus/data/models /usr/local/share/ocropus/models Now I can't find "default.fst": FATAL: /usr/local/share/ocropus/models/default.fst: failed to load (/usr/local/share/ocropus/models/default.fst: cannot open file for reading) [0 amanda@brahms ~]$ locate default.fst /srv/ocropus/build/ocropus/.hg/store/data/data/models/default.fst.gz.d /srv/ocropus/build/ocropus/.hg/store/data/data/models/default.fst.gz.i /srv/ocropus/build/ocropus/data/models/default.fst.gz So I gunzip default.fst.gz. And ... `FATAL: /home/amanda/Documents/DocumentCloud/CalSEI/SEI-A.pdf: file has an unknown extension` I can't OCRopus a PDF?
    On Ubuntu 9.04, I followed the instructions at: http://code.google.com/p/ocropus/wiki/DevInstall To build ocropus at /srv/ocropus/build. In iulib: hg clone https://iulib.googlecode.com/hg/ iulib scons sudo scons install In ocropus: hg clone http://ocropus.googlecode.com/hg ocropus scons sudo scons install I tweaked ocropus/ubuntu-packages to use `aptitude` and ran `sudo sh -x ocropus/ubuntu-packages` I symlinked /lib/libocropus.so and /lib/libiulib.so to their respective locations to resolve errors about those two not existing. Now I'm getting this error: {{{ FATAL: /usr/local/share/ocropus/models/default.model: failed to load (/usr/local/share/ocropus/models/default.model: failed to load (/usr/local/s) }}} /usr/local/share/ocropus doesn't exist. So I tried creating it and symlinking "models" within it: [0 amanda@brahms ~]$ sudo ln -s /srv/ocropus/build/ocropus/data/models /usr/local/share/ocropus/models Now I can't find "default.fst": FATAL: /usr/local/share/ocropus/models/default.fst: failed to load (/usr/local/share/ocropus/models/default.fst: cannot open file for reading) [0 amanda@brahms ~]$ locate default.fst /srv/ocropus/build/ocropus/.hg/store/data/data/models/default.fst.gz.d /srv/ocropus/build/ocropus/.hg/store/data/data/models/default.fst.gz.i /srv/ocropus/build/ocropus/data/models/default.fst.gz So I gunzip default.fst.gz. And ... `FATAL: /home/amanda/Documents/DocumentCloud/CalSEI/SEI-A.pdf: file has an unknown extension` I can't OCRopus a PDF?
  • Nov 20, 2009
    DevInstall Wiki page commented on by moraving   -   Duh. Sorry, there are about six comments above on this from andrea.batazzi, nikolaynag and scottdw0001.
    Duh. Sorry, there are about six comments above on this from andrea.batazzi, nikolaynag and scottdw0001.
  • Nov 20, 2009
    DevInstall Wiki page commented on by moraving   -   Here's what I did on 9.04 ... * Followed the instructions above and then went back to http://code.google.com/p/ocropus/ and tried running `hg update -r ocropus-0.4.3` in both `iulib` and `ocropus` I don't really know how scons works, or whether I'm supposed to run `scons` and `sudo scons install` every time I update. The error I'm getting is {{{ error while loading shared libraries: libiulib.so: cannot open shared object file: No such file or directory }}} In fact, it does exist: {{{ [0 amanda@brahms build]$ locate libiulib.so /srv/ocropus/build/iulib/libiulib.so /usr/local/lib/libiulib.so }}} So any idea what gives?
    Here's what I did on 9.04 ... * Followed the instructions above and then went back to http://code.google.com/p/ocropus/ and tried running `hg update -r ocropus-0.4.3` in both `iulib` and `ocropus` I don't really know how scons works, or whether I'm supposed to run `scons` and `sudo scons install` every time I update. The error I'm getting is {{{ error while loading shared libraries: libiulib.so: cannot open shared object file: No such file or directory }}} In fact, it does exist: {{{ [0 amanda@brahms build]$ locate libiulib.so /srv/ocropus/build/iulib/libiulib.so /usr/local/lib/libiulib.so }}} So any idea what gives?
  • Nov 19, 2009
    DevInstall Wiki page commented on by falkenhagen   -   I cannot seem to get ocropus to output the result of OCR... I get the following for the quick test: {{{ $ ocropus page data/testimages/simple.png [info] got 240 bboxes [info] all = 0 }}} and I cannot find the OCR result. Is this the expected output, and is the OCR result somewhere?
    I cannot seem to get ocropus to output the result of OCR... I get the following for the quick test: {{{ $ ocropus page data/testimages/simple.png [info] got 240 bboxes [info] all = 0 }}} and I cannot find the OCR result. Is this the expected output, and is the OCR result somewhere?
  • Nov 19, 2009
    DevInstall Wiki page commented on by falkenhagen   -   I cannot seem to get ocropus to output the result of OCR... I get the following for the quick test: $ ocropus page data/testimages/simple.png [info] got 240 bboxes [info] all = 0 and I cannot find the OCR result. Is this the expected output?
    I cannot seem to get ocropus to output the result of OCR... I get the following for the quick test: $ ocropus page data/testimages/simple.png [info] got 240 bboxes [info] all = 0 and I cannot find the OCR result. Is this the expected output?
  • Nov 11, 2009
    Revision 484edba27e (linerec and latin Model test are fixed.) pushed by tmb...@gmail.com   -   linerec and latin Model test are fixed.
    linerec and latin Model test are fixed.
  • Nov 11, 2009
    7 new revisions pushed by tmb...@gmail.com   -   1a62e02ed5:Fixed bug in binarize function. a497bf7bd4:commit a2a6d99b4e:merged 2e4ae06dfb:Renabled the code blockage. 31df3e05c3:commit 548e87bfdf:merge 5d23c19169:Added check to make sure that training is complete before classification.
    1a62e02ed5:Fixed bug in binarize function. a497bf7bd4:commit a2a6d99b4e:merged 2e4ae06dfb:Renabled the code blockage. 31df3e05c3:commit 548e87bfdf:merge 5d23c19169:Added check to make sure that training is complete before classification.
  • Nov 11, 2009
    issue 214 (pages2lines gives ocr-commands/ocr-commands.cc:366) commented on by neil.ablang   -   i commented out line 366 in the source code and run scons then scons install.. it worked for me
    i commented out line 366 in the source code and run scons then scons install.. it worked for me
  • Nov 06, 2009
    issue 220 (Installation of ocropus on Debian Linux) commented on by chepeadan   -   try runing the ./build script that should generate a configure
    try runing the ./build script that should generate a configure
  • Nov 05, 2009
    Revision 5f019d223a (added params for sauvola) pushed by tmb...@gmail.com   -   added params for sauvola
    added params for sauvola
  • Nov 02, 2009
    issue 208 (add bash_completion ) commented on by neskiem   -   Cool... It could use a bit more work, but It's pretty useful right now.
    Cool... It could use a bit more work, but It's pretty useful right now.
  • Nov 02, 2009
    2 new revisions pushed by tmb...@gmail.com   -   59a053cc9d:Bug fix: Proper values are now passed to binarize_by_range(). b5126643fe:merge.
    59a053cc9d:Bug fix: Proper values are now passed to binarize_by_range(). b5126643fe:merge.
  • Nov 02, 2009
    6 new revisions pushed by tmb...@gmail.com   -   b4edf3b642:Changes made last week. Fixed few things in iulib tests and ocropus tests. e75e47d745:Added support for unicode and modified load of model. 20b9e47e8f:Fixed unicode support for ocroswig. Modified test-ocropus.py 1a42870aae:Added tests for IModel. There are lots of errors/failure need to fix them. 336a947bd6:merged f1ec53eaf6:Added default model. Fixed few errors.
    b4edf3b642:Changes made last week. Fixed few things in iulib tests and ocropus tests. e75e47d745:Added support for unicode and modified load of model. 20b9e47e8f:Fixed unicode support for ocroswig. Modified test-ocropus.py 1a42870aae:Added tests for IModel. There are lots of errors/failure need to fix them. 336a947bd6:merged f1ec53eaf6:Added default model. Fixed few errors.
  • Oct 30, 2009
    Revision 8320c3dab1 (added functions for page segmentation) pushed by tmb...@gmail.com   -   added functions for page segmentation
    added functions for page segmentation
  • Oct 30, 2009
    5 new revisions pushed by tmb...@gmail.com   -   f1777b1bd2:bug fixes bda9362cd2:various fixes in line segmentation and grouper e7c5d8aef7:added another connected component segmenter using grouping by overlap adde23121e:SimpleGrouper setClass now supports string arguments, not just single classes SimpleGrouper now uses sparse result storage inside, allowing arbitrary unicode recognition d3883c7d7c:cleanup, deprecated autoconf
    f1777b1bd2:bug fixes bda9362cd2:various fixes in line segmentation and grouper e7c5d8aef7:added another connected component segmenter using grouping by overlap adde23121e:SimpleGrouper setClass now supports string arguments, not just single classes SimpleGrouper now uses sparse result storage inside, allowing arbitrary unicode recognition d3883c7d7c:cleanup, deprecated autoconf
  • Oct 24, 2009
    Revision 47d54b5059 (added bindings for load_IModel etc. added some missing funct...) pushed by tmb...@gmail.com   -   added bindings for load_IModel etc. added some missing functions
    added bindings for load_IModel etc. added some missing functions
  • Oct 24, 2009
    issue 223 (failed build on gentoo (part 2)) Status changed by tmb...@gmail.com   -   Please build with scons (see the instructions on the web page); build doesn't work.
    Status: WorksForMe
    Please build with scons (see the instructions on the web page); build doesn't work.
    Status: WorksForMe
  • Oct 24, 2009
    4 new revisions pushed by tmb...@gmail.com   -   b3967e4a96:merged 2e9ff152c6:implemented pickling protocol for OCRopus components... as much as possible ec11f351e3:added support for setClass with string argument e20f581443:added at1d/put1d added load_IModel and friends added full beam_search stuff added make_line_segmentation_white
    b3967e4a96:merged 2e9ff152c6:implemented pickling protocol for OCRopus components... as much as possible ec11f351e3:added support for setClass with string argument e20f581443:added at1d/put1d added load_IModel and friends added full beam_search stuff added make_line_segmentation_white
  • Oct 22, 2009
    issue 223 (failed build on gentoo (part 2)) commented on by bryan.ca...@gmail.com   -   Still failed, even after installing gsl
    Still failed, even after installing gsl
  • Oct 22, 2009
    issue 223 (failed build on gentoo (part 2)) commented on by bryan.ca...@gmail.com   -   Still failed, even after installing gsl
    Still failed, even after installing gsl
  • Oct 22, 2009
    issue 195 (missing gsl dependency, ocropus-0.4.3) commented on by bryan.cattle   -   Appears to be the same problem reported at http://code.google.com/p/ocropus/issues/detail?id=223, apparently it's still an issue?
    Appears to be the same problem reported at http://code.google.com/p/ocropus/issues/detail?id=223, apparently it's still an issue?
  • Oct 22, 2009
    issue 195 (missing gsl dependency, ocropus-0.4.3) commented on by bryan.cattle   -   Appears to be the same problem reported at http://code.google.com/p/ocropus/issues/detail?id=223
    Appears to be the same problem reported at http://code.google.com/p/ocropus/issues/detail?id=223
  • Oct 22, 2009
    issue 221 (failed build on gentoo) commented on by adubinsky   -   Fixed this issue using latest build from repo
    Fixed this issue using latest build from repo
  • Oct 22, 2009
    issue 223 (failed build on gentoo (part 2)) reported by adubinsky   -   Fixed first issue updating to latest. [What version are you using? On what operating system?] latest build from cvs (hg updated prior to build) linux version: gentoo base 1.12.11.1 gcc version 4.1.2 (Gentoo 4.1.2 p1.1) [What are you trying to accomplish?] build [What commands did you use?] ./build --without-tesseract [What is the expected output?] success [What output are you getting?] 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_LIBLEPT=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 - DHAVE_WORKING_FORK=1 -DHAVE_DUP2=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 - DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRRCHR=1 -I. -I./include -I./ocr-utils - I/usr/local/include -I/usr/local/include/liblept -DHAVE_LEPTONICA -g -O2 -Wall -Wno-sign- compare -Wno-write-strings -Wno-deprecated -g -O2 -MT glclass.o -MD -MP -MF .deps/glclass.Tpo -c -o glclass.o `test -f './ocr-line/glclass.cc' || echo './'`./ocr-line/glclass.cc In file included from ./include/glinerec.h:57, from ./ocr-line/glclass.cc:5: ./include/glutils.h:139: warning: ignoring #pragma omp parallel In file included from ./ocr-line/glclass.cc:6: ./include/gsl.h:4:28: error: gsl/gsl_linalg.h: No such file or directory ./ocr-line/glclass.cc:105: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:129: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:175: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:236: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:424: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:648: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:1174: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:1411: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:1631: warning: ignoring #pragma omp parallel ./ocr-utils/components.h:275: warning: 'struct ocropus::IComponentConstructor' has virtual functions but non-virtual destructor ./include/glutils.h: In function 'colib::point<unnamed>::centroid(colib::bytearray&)': ./include/glutils.h:524: warning: passing 'double' for argument 1 to 'colib::point::point(int, int)' ./include/glutils.h:524: warning: passing 'double' for argument 2 to 'colib::point::point(int, int)' ./include/gsl.h: At global scope: ./include/gsl.h:9: error: ISO C++ forbids declaration of 'gsl_vector' with no type ./include/gsl.h:9: error: expected ';' before '*' token ./include/gsl.h:10: error: 'gsl_vector_view' does not name a type ./include/gsl.h:37: error: expected type-specifier before 'gsl_vector_view' ./include/gsl.h:40: error: expected type-specifier before 'gsl_vector' ./include/gsl.h: In constructor 'gsl::vector::vector(int)': ./include/gsl.h:12: error: 'p' was not declared in this scope ./include/gsl.h:12: error: 'gsl_vector_alloc' was not declared in this scope ./include/gsl.h:13: error: 'view' was not declared in this scope ./include/gsl.h:13: error: 'gsl_vector_subvector_with_stride' was not declared in this scope ./include/gsl.h: In destructor 'gsl::vector::~vector()': ./include/gsl.h:16: error: 'p' was not declared in this scope ./include/gsl.h:16: error: 'gsl_vector_free' was not declared in this scope ./include/gsl.h: In member function 'int gsl::vector::length()': ./include/gsl.h:20: error: 'p' was not declared in this scope ./include/gsl.h: In member function 'int gsl::vector::dim(int)': ./include/gsl.h:23: error: 'p' was not declared in this scope ./include/gsl.h: In member function 'void gsl::vector::resize(int)': ./include/gsl.h:27: error: 'p' was not declared in this scope ./include/gsl.h:27: error: 'gsl_vector_free' was not declared in this scope ./include/gsl.h:28: error: 'gsl_vector_alloc' was not declared in this scope ./include/gsl.h: In member function 'void gsl::vector::operator=(double)': ./include/gsl.h:31: error: 'p' was not declared in this scope ./include/gsl.h:31: error: 'gsl_vector_set_all' was not declared in this scope ./include/gsl.h: In member function 'double& gsl::vector::operator()(int)': ./include/gsl.h:34: error: 'p' was not declared in this scope ./include/gsl.h:35: error: 'p' was not declared in this scope ./include/gsl.h: At global scope: ./include/gsl.h:58: error: ISO C++ forbids declaration of 'gsl_matrix' with no type ./include/gsl.h:58: error: expected ';' before '*' token ./include/gsl.h:59: error: 'gsl_matrix_view' does not name a type ./include/gsl.h:86: error: expected type-specifier before 'gsl_matrix_view' ./include/gsl.h:89: error: expected type-specifier before 'gsl_matrix' ./include/gsl.h: In constructor 'gsl::matrix::matrix(int, int)': ./include/gsl.h:61: error: 'p' was not declared in this scope ./include/gsl.h:61: error: 'gsl_matrix_alloc' was not declared in this scope ./include/gsl.h:62: error: 'view' was not declared in this scope ./include/gsl.h:62: error: 'gsl_matrix_view_array_with_tda' was not declared in this scope ./include/gsl.h: In destructor 'gsl::matrix::~matrix()': ./include/gsl.h:65: error: 'p' was not declared in this scope ./include/gsl.h:65: error: 'gsl_matrix_free' was not declared in this scope ./include/gsl.h: In member function 'int gsl::matrix::dim(int)': ./include/gsl.h:69: error: 'p' was not declared in this scope ./include/gsl.h:70: error: 'p' was not declared in this scope ./include/gsl.h: In member function 'void gsl::matrix::resize(int, int)': ./include/gsl.h:74: error: 'p' was not declared in this scope ./include/gsl.h:74: error: 'gsl_matrix_free' was not declared in this scope ./include/gsl.h:75: error: 'gsl_matrix_alloc' was not declared in this scope ./include/gsl.h:76: error: 'view' was not declared in this scope ./include/gsl.h:76: error: 'gsl_matrix_view_array_with_tda' was not declared in this scope ./include/gsl.h: In member function 'void gsl::matrix::operator=(double)': ./include/gsl.h:79: error: 'p' was not declared in this scope ./include/gsl.h:79: error: 'gsl_matrix_set_all' was not declared in this scope ./include/gsl.h: In member function 'double& gsl::matrix::operator()(int, int)': ./include/gsl.h:82: error: 'p' was not declared in this scope ./include/gsl.h:83: error: 'p' was not declared in this scope ./include/gsl.h:84: error: 'p' was not declared in this scope ./ocr-line/glclass.cc: In function 'int glinerec::compute_confusions(colib::intarray&, colib::intarray&)': ./ocr-line/glclass.cc:229: warning: converting to 'int' from 'float' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::KnnClassifier::info(int, FILE*)': ./ocr-line/glclass.cc:332: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::KnnClassifier::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:393: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:409: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::BitNN::info(int, FILE*)': ./ocr-line/glclass.cc:599: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::BitNN::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:643: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::MlpClassifier::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:911: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'void glinerec::MlpClassifier::trainOne(colib::floatarray&, colib::floatarray&, colib::floatarray&, float)': ./ocr-line/glclass.cc:994: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::MlpClassifier::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1027: warning: converting to 'int' from 'float' ./ocr-line/glclass.cc:1047: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::AutoMlpClassifier::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1083: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'void glinerec::AutoMlpClassifier::trainBatch(glinerec::IDataset&, glinerec::IDataset&)': ./ocr-line/glclass.cc:1135: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1136: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1137: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1138: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1139: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1140: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1145: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1166: warning: passing 'float' for argument 2 to 'void glinerec::MlpClassifier::initData(glinerec::IDataset&, int)' ./ocr-line/glclass.cc: In function 'void glinerec::least_square(colib::floatarray&, colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:1315: error: 'gsl_linalg_SV_decomp_mod' was not declared in this scope ./ocr-line/glclass.cc:1316: error: 'gsl_linalg_SV_solve' was not declared in this scope ./ocr-line/glclass.cc: In member function 'virtual void glinerec::AdaBoost::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1444: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1462: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::CascadedMLP::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1625: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::CascadedMLP::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:1647: warning: converting to 'int' from 'double' ./ocr-utils/components.h: At global scope: ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::MappedClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::MappedClassifier]' ./ocr-line/glclass.cc:1803: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::MappedClassifier>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::Float8Buffer>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::Float8Buffer]' ./ocr-line/glclass.cc:1804: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::Float8Buffer>' has virtual functions but non- virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::KnnClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::KnnClassifier]' ./ocr-line/glclass.cc:1806: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::KnnClassifier>' has virtual functions but non- virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::BitNN>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::BitNN]' ./ocr-line/glclass.cc:1807: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::BitNN>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::AutoMlpClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::AutoMlpClassifier]' ./ocr-line/glclass.cc:1809: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::AutoMlpClassifier>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AutoMlpClassifier>': ./ocr-utils/components.h:310: instantiated from 'void ocropus::component_register2(const char*, bool) [with T = glinerec::MappedClassifier, S = glinerec::AutoMlpClassifier]' ./ocr-line/glclass.cc:1810: instantiated from here ./ocr-utils/components.h:286: warning: 'struct ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AutoMlpClassifier>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::AdaBoost>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::AdaBoost]' ./ocr-line/glclass.cc:1812: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::AdaBoost>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AdaBoost>': ./ocr-utils/components.h:310: instantiated from 'void ocropus::component_register2(const char*, bool) [with T = glinerec::MappedClassifier, S = glinerec::AdaBoost]' ./ocr-line/glclass.cc:1813: instantiated from here ./ocr-utils/components.h:286: warning: 'struct ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AdaBoost>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::CascadedMLP>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::CascadedMLP]' ./ocr-line/glclass.cc:1815: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::CascadedMLP>' has virtual functions but non- virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::CascadedMLP>': ./ocr-utils/components.h:310: instantiated from 'void ocropus::component_register2(const char*, bool) [with T = glinerec::MappedClassifier, S = glinerec::CascadedMLP]' ./ocr-line/glclass.cc:1816: instantiated from here ./ocr-utils/components.h:286: warning: 'struct ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::CascadedMLP>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::LatinClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::LatinClassifier]' ./ocr-line/glclass.cc:1818: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::LatinClassifier>' has virtual functions but non- virtual destructor make[1]: *** [glclass.o] Error 1 make[1]: Leaving directory `/data/homedirs/adubinsky/ocropus' make: *** [all-recursive] Error 1 [If you attach an image, please tag with SampleImage. If you attach a bundle or patch to fix the problem, please tag with FixBundle or FixPatch.]
    Fixed first issue updating to latest. [What version are you using? On what operating system?] latest build from cvs (hg updated prior to build) linux version: gentoo base 1.12.11.1 gcc version 4.1.2 (Gentoo 4.1.2 p1.1) [What are you trying to accomplish?] build [What commands did you use?] ./build --without-tesseract [What is the expected output?] success [What output are you getting?] 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_LIBLEPT=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 - DHAVE_WORKING_FORK=1 -DHAVE_DUP2=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 - DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRRCHR=1 -I. -I./include -I./ocr-utils - I/usr/local/include -I/usr/local/include/liblept -DHAVE_LEPTONICA -g -O2 -Wall -Wno-sign- compare -Wno-write-strings -Wno-deprecated -g -O2 -MT glclass.o -MD -MP -MF .deps/glclass.Tpo -c -o glclass.o `test -f './ocr-line/glclass.cc' || echo './'`./ocr-line/glclass.cc In file included from ./include/glinerec.h:57, from ./ocr-line/glclass.cc:5: ./include/glutils.h:139: warning: ignoring #pragma omp parallel In file included from ./ocr-line/glclass.cc:6: ./include/gsl.h:4:28: error: gsl/gsl_linalg.h: No such file or directory ./ocr-line/glclass.cc:105: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:129: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:175: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:236: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:424: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:648: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:1174: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:1411: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:1631: warning: ignoring #pragma omp parallel ./ocr-utils/components.h:275: warning: 'struct ocropus::IComponentConstructor' has virtual functions but non-virtual destructor ./include/glutils.h: In function 'colib::point<unnamed>::centroid(colib::bytearray&)': ./include/glutils.h:524: warning: passing 'double' for argument 1 to 'colib::point::point(int, int)' ./include/glutils.h:524: warning: passing 'double' for argument 2 to 'colib::point::point(int, int)' ./include/gsl.h: At global scope: ./include/gsl.h:9: error: ISO C++ forbids declaration of 'gsl_vector' with no type ./include/gsl.h:9: error: expected ';' before '*' token ./include/gsl.h:10: error: 'gsl_vector_view' does not name a type ./include/gsl.h:37: error: expected type-specifier before 'gsl_vector_view' ./include/gsl.h:40: error: expected type-specifier before 'gsl_vector' ./include/gsl.h: In constructor 'gsl::vector::vector(int)': ./include/gsl.h:12: error: 'p' was not declared in this scope ./include/gsl.h:12: error: 'gsl_vector_alloc' was not declared in this scope ./include/gsl.h:13: error: 'view' was not declared in this scope ./include/gsl.h:13: error: 'gsl_vector_subvector_with_stride' was not declared in this scope ./include/gsl.h: In destructor 'gsl::vector::~vector()': ./include/gsl.h:16: error: 'p' was not declared in this scope ./include/gsl.h:16: error: 'gsl_vector_free' was not declared in this scope ./include/gsl.h: In member function 'int gsl::vector::length()': ./include/gsl.h:20: error: 'p' was not declared in this scope ./include/gsl.h: In member function 'int gsl::vector::dim(int)': ./include/gsl.h:23: error: 'p' was not declared in this scope ./include/gsl.h: In member function 'void gsl::vector::resize(int)': ./include/gsl.h:27: error: 'p' was not declared in this scope ./include/gsl.h:27: error: 'gsl_vector_free' was not declared in this scope ./include/gsl.h:28: error: 'gsl_vector_alloc' was not declared in this scope ./include/gsl.h: In member function 'void gsl::vector::operator=(double)': ./include/gsl.h:31: error: 'p' was not declared in this scope ./include/gsl.h:31: error: 'gsl_vector_set_all' was not declared in this scope ./include/gsl.h: In member function 'double& gsl::vector::operator()(int)': ./include/gsl.h:34: error: 'p' was not declared in this scope ./include/gsl.h:35: error: 'p' was not declared in this scope ./include/gsl.h: At global scope: ./include/gsl.h:58: error: ISO C++ forbids declaration of 'gsl_matrix' with no type ./include/gsl.h:58: error: expected ';' before '*' token ./include/gsl.h:59: error: 'gsl_matrix_view' does not name a type ./include/gsl.h:86: error: expected type-specifier before 'gsl_matrix_view' ./include/gsl.h:89: error: expected type-specifier before 'gsl_matrix' ./include/gsl.h: In constructor 'gsl::matrix::matrix(int, int)': ./include/gsl.h:61: error: 'p' was not declared in this scope ./include/gsl.h:61: error: 'gsl_matrix_alloc' was not declared in this scope ./include/gsl.h:62: error: 'view' was not declared in this scope ./include/gsl.h:62: error: 'gsl_matrix_view_array_with_tda' was not declared in this scope ./include/gsl.h: In destructor 'gsl::matrix::~matrix()': ./include/gsl.h:65: error: 'p' was not declared in this scope ./include/gsl.h:65: error: 'gsl_matrix_free' was not declared in this scope ./include/gsl.h: In member function 'int gsl::matrix::dim(int)': ./include/gsl.h:69: error: 'p' was not declared in this scope ./include/gsl.h:70: error: 'p' was not declared in this scope ./include/gsl.h: In member function 'void gsl::matrix::resize(int, int)': ./include/gsl.h:74: error: 'p' was not declared in this scope ./include/gsl.h:74: error: 'gsl_matrix_free' was not declared in this scope ./include/gsl.h:75: error: 'gsl_matrix_alloc' was not declared in this scope ./include/gsl.h:76: error: 'view' was not declared in this scope ./include/gsl.h:76: error: 'gsl_matrix_view_array_with_tda' was not declared in this scope ./include/gsl.h: In member function 'void gsl::matrix::operator=(double)': ./include/gsl.h:79: error: 'p' was not declared in this scope ./include/gsl.h:79: error: 'gsl_matrix_set_all' was not declared in this scope ./include/gsl.h: In member function 'double& gsl::matrix::operator()(int, int)': ./include/gsl.h:82: error: 'p' was not declared in this scope ./include/gsl.h:83: error: 'p' was not declared in this scope ./include/gsl.h:84: error: 'p' was not declared in this scope ./ocr-line/glclass.cc: In function 'int glinerec::compute_confusions(colib::intarray&, colib::intarray&)': ./ocr-line/glclass.cc:229: warning: converting to 'int' from 'float' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::KnnClassifier::info(int, FILE*)': ./ocr-line/glclass.cc:332: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::KnnClassifier::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:393: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:409: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::BitNN::info(int, FILE*)': ./ocr-line/glclass.cc:599: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::BitNN::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:643: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::MlpClassifier::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:911: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'void glinerec::MlpClassifier::trainOne(colib::floatarray&, colib::floatarray&, colib::floatarray&, float)': ./ocr-line/glclass.cc:994: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::MlpClassifier::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1027: warning: converting to 'int' from 'float' ./ocr-line/glclass.cc:1047: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::AutoMlpClassifier::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1083: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'void glinerec::AutoMlpClassifier::trainBatch(glinerec::IDataset&, glinerec::IDataset&)': ./ocr-line/glclass.cc:1135: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1136: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1137: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1138: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1139: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1140: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1145: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1166: warning: passing 'float' for argument 2 to 'void glinerec::MlpClassifier::initData(glinerec::IDataset&, int)' ./ocr-line/glclass.cc: In function 'void glinerec::least_square(colib::floatarray&, colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:1315: error: 'gsl_linalg_SV_decomp_mod' was not declared in this scope ./ocr-line/glclass.cc:1316: error: 'gsl_linalg_SV_solve' was not declared in this scope ./ocr-line/glclass.cc: In member function 'virtual void glinerec::AdaBoost::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1444: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1462: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::CascadedMLP::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1625: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::CascadedMLP::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:1647: warning: converting to 'int' from 'double' ./ocr-utils/components.h: At global scope: ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::MappedClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::MappedClassifier]' ./ocr-line/glclass.cc:1803: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::MappedClassifier>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::Float8Buffer>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::Float8Buffer]' ./ocr-line/glclass.cc:1804: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::Float8Buffer>' has virtual functions but non- virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::KnnClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::KnnClassifier]' ./ocr-line/glclass.cc:1806: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::KnnClassifier>' has virtual functions but non- virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::BitNN>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::BitNN]' ./ocr-line/glclass.cc:1807: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::BitNN>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::AutoMlpClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::AutoMlpClassifier]' ./ocr-line/glclass.cc:1809: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::AutoMlpClassifier>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AutoMlpClassifier>': ./ocr-utils/components.h:310: instantiated from 'void ocropus::component_register2(const char*, bool) [with T = glinerec::MappedClassifier, S = glinerec::AutoMlpClassifier]' ./ocr-line/glclass.cc:1810: instantiated from here ./ocr-utils/components.h:286: warning: 'struct ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AutoMlpClassifier>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::AdaBoost>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::AdaBoost]' ./ocr-line/glclass.cc:1812: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::AdaBoost>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AdaBoost>': ./ocr-utils/components.h:310: instantiated from 'void ocropus::component_register2(const char*, bool) [with T = glinerec::MappedClassifier, S = glinerec::AdaBoost]' ./ocr-line/glclass.cc:1813: instantiated from here ./ocr-utils/components.h:286: warning: 'struct ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AdaBoost>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::CascadedMLP>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::CascadedMLP]' ./ocr-line/glclass.cc:1815: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::CascadedMLP>' has virtual functions but non- virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::CascadedMLP>': ./ocr-utils/components.h:310: instantiated from 'void ocropus::component_register2(const char*, bool) [with T = glinerec::MappedClassifier, S = glinerec::CascadedMLP]' ./ocr-line/glclass.cc:1816: instantiated from here ./ocr-utils/components.h:286: warning: 'struct ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::CascadedMLP>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::LatinClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::LatinClassifier]' ./ocr-line/glclass.cc:1818: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::LatinClassifier>' has virtual functions but non- virtual destructor make[1]: *** [glclass.o] Error 1 make[1]: Leaving directory `/data/homedirs/adubinsky/ocropus' make: *** [all-recursive] Error 1 [If you attach an image, please tag with SampleImage. If you attach a bundle or patch to fix the problem, please tag with FixBundle or FixPatch.]
  • Oct 22, 2009
    issue 222 (failed build on gentoo (part 2)) reported by adubinsky   -   Fixed first issue updating to latest. [What version are you using? On what operating system?] latest build from cvs (hg updated prior to build) linux version: gentoo base 1.12.11.1 gcc version 4.1.2 (Gentoo 4.1.2 p1.1) [What are you trying to accomplish?] build [What commands did you use?] ./build --without-tesseract [What is the expected output?] success [What output are you getting?] 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_LIBLEPT=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 - DHAVE_WORKING_FORK=1 -DHAVE_DUP2=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 - DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRRCHR=1 -I. -I./include -I./ocr-utils - I/usr/local/include -I/usr/local/include/liblept -DHAVE_LEPTONICA -g -O2 -Wall -Wno-sign- compare -Wno-write-strings -Wno-deprecated -g -O2 -MT glclass.o -MD -MP -MF .deps/glclass.Tpo -c -o glclass.o `test -f './ocr-line/glclass.cc' || echo './'`./ocr-line/glclass.cc In file included from ./include/glinerec.h:57, from ./ocr-line/glclass.cc:5: ./include/glutils.h:139: warning: ignoring #pragma omp parallel In file included from ./ocr-line/glclass.cc:6: ./include/gsl.h:4:28: error: gsl/gsl_linalg.h: No such file or directory ./ocr-line/glclass.cc:105: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:129: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:175: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:236: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:424: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:648: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:1174: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:1411: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:1631: warning: ignoring #pragma omp parallel ./ocr-utils/components.h:275: warning: 'struct ocropus::IComponentConstructor' has virtual functions but non-virtual destructor ./include/glutils.h: In function 'colib::point<unnamed>::centroid(colib::bytearray&)': ./include/glutils.h:524: warning: passing 'double' for argument 1 to 'colib::point::point(int, int)' ./include/glutils.h:524: warning: passing 'double' for argument 2 to 'colib::point::point(int, int)' ./include/gsl.h: At global scope: ./include/gsl.h:9: error: ISO C++ forbids declaration of 'gsl_vector' with no type ./include/gsl.h:9: error: expected ';' before '*' token ./include/gsl.h:10: error: 'gsl_vector_view' does not name a type ./include/gsl.h:37: error: expected type-specifier before 'gsl_vector_view' ./include/gsl.h:40: error: expected type-specifier before 'gsl_vector' ./include/gsl.h: In constructor 'gsl::vector::vector(int)': ./include/gsl.h:12: error: 'p' was not declared in this scope ./include/gsl.h:12: error: 'gsl_vector_alloc' was not declared in this scope ./include/gsl.h:13: error: 'view' was not declared in this scope ./include/gsl.h:13: error: 'gsl_vector_subvector_with_stride' was not declared in this scope ./include/gsl.h: In destructor 'gsl::vector::~vector()': ./include/gsl.h:16: error: 'p' was not declared in this scope ./include/gsl.h:16: error: 'gsl_vector_free' was not declared in this scope ./include/gsl.h: In member function 'int gsl::vector::length()': ./include/gsl.h:20: error: 'p' was not declared in this scope ./include/gsl.h: In member function 'int gsl::vector::dim(int)': ./include/gsl.h:23: error: 'p' was not declared in this scope ./include/gsl.h: In member function 'void gsl::vector::resize(int)': ./include/gsl.h:27: error: 'p' was not declared in this scope ./include/gsl.h:27: error: 'gsl_vector_free' was not declared in this scope ./include/gsl.h:28: error: 'gsl_vector_alloc' was not declared in this scope ./include/gsl.h: In member function 'void gsl::vector::operator=(double)': ./include/gsl.h:31: error: 'p' was not declared in this scope ./include/gsl.h:31: error: 'gsl_vector_set_all' was not declared in this scope ./include/gsl.h: In member function 'double& gsl::vector::operator()(int)': ./include/gsl.h:34: error: 'p' was not declared in this scope ./include/gsl.h:35: error: 'p' was not declared in this scope ./include/gsl.h: At global scope: ./include/gsl.h:58: error: ISO C++ forbids declaration of 'gsl_matrix' with no type ./include/gsl.h:58: error: expected ';' before '*' token ./include/gsl.h:59: error: 'gsl_matrix_view' does not name a type ./include/gsl.h:86: error: expected type-specifier before 'gsl_matrix_view' ./include/gsl.h:89: error: expected type-specifier before 'gsl_matrix' ./include/gsl.h: In constructor 'gsl::matrix::matrix(int, int)': ./include/gsl.h:61: error: 'p' was not declared in this scope ./include/gsl.h:61: error: 'gsl_matrix_alloc' was not declared in this scope ./include/gsl.h:62: error: 'view' was not declared in this scope ./include/gsl.h:62: error: 'gsl_matrix_view_array_with_tda' was not declared in this scope ./include/gsl.h: In destructor 'gsl::matrix::~matrix()': ./include/gsl.h:65: error: 'p' was not declared in this scope ./include/gsl.h:65: error: 'gsl_matrix_free' was not declared in this scope ./include/gsl.h: In member function 'int gsl::matrix::dim(int)': ./include/gsl.h:69: error: 'p' was not declared in this scope ./include/gsl.h:70: error: 'p' was not declared in this scope ./include/gsl.h: In member function 'void gsl::matrix::resize(int, int)': ./include/gsl.h:74: error: 'p' was not declared in this scope ./include/gsl.h:74: error: 'gsl_matrix_free' was not declared in this scope ./include/gsl.h:75: error: 'gsl_matrix_alloc' was not declared in this scope ./include/gsl.h:76: error: 'view' was not declared in this scope ./include/gsl.h:76: error: 'gsl_matrix_view_array_with_tda' was not declared in this scope ./include/gsl.h: In member function 'void gsl::matrix::operator=(double)': ./include/gsl.h:79: error: 'p' was not declared in this scope ./include/gsl.h:79: error: 'gsl_matrix_set_all' was not declared in this scope ./include/gsl.h: In member function 'double& gsl::matrix::operator()(int, int)': ./include/gsl.h:82: error: 'p' was not declared in this scope ./include/gsl.h:83: error: 'p' was not declared in this scope ./include/gsl.h:84: error: 'p' was not declared in this scope ./ocr-line/glclass.cc: In function 'int glinerec::compute_confusions(colib::intarray&, colib::intarray&)': ./ocr-line/glclass.cc:229: warning: converting to 'int' from 'float' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::KnnClassifier::info(int, FILE*)': ./ocr-line/glclass.cc:332: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::KnnClassifier::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:393: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:409: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::BitNN::info(int, FILE*)': ./ocr-line/glclass.cc:599: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::BitNN::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:643: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::MlpClassifier::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:911: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'void glinerec::MlpClassifier::trainOne(colib::floatarray&, colib::floatarray&, colib::floatarray&, float)': ./ocr-line/glclass.cc:994: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::MlpClassifier::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1027: warning: converting to 'int' from 'float' ./ocr-line/glclass.cc:1047: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::AutoMlpClassifier::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1083: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'void glinerec::AutoMlpClassifier::trainBatch(glinerec::IDataset&, glinerec::IDataset&)': ./ocr-line/glclass.cc:1135: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1136: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1137: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1138: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1139: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1140: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1145: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1166: warning: passing 'float' for argument 2 to 'void glinerec::MlpClassifier::initData(glinerec::IDataset&, int)' ./ocr-line/glclass.cc: In function 'void glinerec::least_square(colib::floatarray&, colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:1315: error: 'gsl_linalg_SV_decomp_mod' was not declared in this scope ./ocr-line/glclass.cc:1316: error: 'gsl_linalg_SV_solve' was not declared in this scope ./ocr-line/glclass.cc: In member function 'virtual void glinerec::AdaBoost::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1444: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1462: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::CascadedMLP::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1625: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::CascadedMLP::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:1647: warning: converting to 'int' from 'double' ./ocr-utils/components.h: At global scope: ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::MappedClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::MappedClassifier]' ./ocr-line/glclass.cc:1803: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::MappedClassifier>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::Float8Buffer>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::Float8Buffer]' ./ocr-line/glclass.cc:1804: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::Float8Buffer>' has virtual functions but non- virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::KnnClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::KnnClassifier]' ./ocr-line/glclass.cc:1806: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::KnnClassifier>' has virtual functions but non- virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::BitNN>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::BitNN]' ./ocr-line/glclass.cc:1807: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::BitNN>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::AutoMlpClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::AutoMlpClassifier]' ./ocr-line/glclass.cc:1809: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::AutoMlpClassifier>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AutoMlpClassifier>': ./ocr-utils/components.h:310: instantiated from 'void ocropus::component_register2(const char*, bool) [with T = glinerec::MappedClassifier, S = glinerec::AutoMlpClassifier]' ./ocr-line/glclass.cc:1810: instantiated from here ./ocr-utils/components.h:286: warning: 'struct ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AutoMlpClassifier>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::AdaBoost>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::AdaBoost]' ./ocr-line/glclass.cc:1812: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::AdaBoost>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AdaBoost>': ./ocr-utils/components.h:310: instantiated from 'void ocropus::component_register2(const char*, bool) [with T = glinerec::MappedClassifier, S = glinerec::AdaBoost]' ./ocr-line/glclass.cc:1813: instantiated from here ./ocr-utils/components.h:286: warning: 'struct ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AdaBoost>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::CascadedMLP>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::CascadedMLP]' ./ocr-line/glclass.cc:1815: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::CascadedMLP>' has virtual functions but non- virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::CascadedMLP>': ./ocr-utils/components.h:310: instantiated from 'void ocropus::component_register2(const char*, bool) [with T = glinerec::MappedClassifier, S = glinerec::CascadedMLP]' ./ocr-line/glclass.cc:1816: instantiated from here ./ocr-utils/components.h:286: warning: 'struct ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::CascadedMLP>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::LatinClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::LatinClassifier]' ./ocr-line/glclass.cc:1818: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::LatinClassifier>' has virtual functions but non- virtual destructor make[1]: *** [glclass.o] Error 1 make[1]: Leaving directory `/data/homedirs/adubinsky/ocropus' make: *** [all-recursive] Error 1 [If you attach an image, please tag with SampleImage. If you attach a bundle or patch to fix the problem, please tag with FixBundle or FixPatch.]
    Fixed first issue updating to latest. [What version are you using? On what operating system?] latest build from cvs (hg updated prior to build) linux version: gentoo base 1.12.11.1 gcc version 4.1.2 (Gentoo 4.1.2 p1.1) [What are you trying to accomplish?] build [What commands did you use?] ./build --without-tesseract [What is the expected output?] success [What output are you getting?] 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_LIBLEPT=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 - DHAVE_WORKING_FORK=1 -DHAVE_DUP2=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 - DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRRCHR=1 -I. -I./include -I./ocr-utils - I/usr/local/include -I/usr/local/include/liblept -DHAVE_LEPTONICA -g -O2 -Wall -Wno-sign- compare -Wno-write-strings -Wno-deprecated -g -O2 -MT glclass.o -MD -MP -MF .deps/glclass.Tpo -c -o glclass.o `test -f './ocr-line/glclass.cc' || echo './'`./ocr-line/glclass.cc In file included from ./include/glinerec.h:57, from ./ocr-line/glclass.cc:5: ./include/glutils.h:139: warning: ignoring #pragma omp parallel In file included from ./ocr-line/glclass.cc:6: ./include/gsl.h:4:28: error: gsl/gsl_linalg.h: No such file or directory ./ocr-line/glclass.cc:105: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:129: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:175: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:236: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:424: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:648: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:1174: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:1411: warning: ignoring #pragma omp parallel ./ocr-line/glclass.cc:1631: warning: ignoring #pragma omp parallel ./ocr-utils/components.h:275: warning: 'struct ocropus::IComponentConstructor' has virtual functions but non-virtual destructor ./include/glutils.h: In function 'colib::point<unnamed>::centroid(colib::bytearray&)': ./include/glutils.h:524: warning: passing 'double' for argument 1 to 'colib::point::point(int, int)' ./include/glutils.h:524: warning: passing 'double' for argument 2 to 'colib::point::point(int, int)' ./include/gsl.h: At global scope: ./include/gsl.h:9: error: ISO C++ forbids declaration of 'gsl_vector' with no type ./include/gsl.h:9: error: expected ';' before '*' token ./include/gsl.h:10: error: 'gsl_vector_view' does not name a type ./include/gsl.h:37: error: expected type-specifier before 'gsl_vector_view' ./include/gsl.h:40: error: expected type-specifier before 'gsl_vector' ./include/gsl.h: In constructor 'gsl::vector::vector(int)': ./include/gsl.h:12: error: 'p' was not declared in this scope ./include/gsl.h:12: error: 'gsl_vector_alloc' was not declared in this scope ./include/gsl.h:13: error: 'view' was not declared in this scope ./include/gsl.h:13: error: 'gsl_vector_subvector_with_stride' was not declared in this scope ./include/gsl.h: In destructor 'gsl::vector::~vector()': ./include/gsl.h:16: error: 'p' was not declared in this scope ./include/gsl.h:16: error: 'gsl_vector_free' was not declared in this scope ./include/gsl.h: In member function 'int gsl::vector::length()': ./include/gsl.h:20: error: 'p' was not declared in this scope ./include/gsl.h: In member function 'int gsl::vector::dim(int)': ./include/gsl.h:23: error: 'p' was not declared in this scope ./include/gsl.h: In member function 'void gsl::vector::resize(int)': ./include/gsl.h:27: error: 'p' was not declared in this scope ./include/gsl.h:27: error: 'gsl_vector_free' was not declared in this scope ./include/gsl.h:28: error: 'gsl_vector_alloc' was not declared in this scope ./include/gsl.h: In member function 'void gsl::vector::operator=(double)': ./include/gsl.h:31: error: 'p' was not declared in this scope ./include/gsl.h:31: error: 'gsl_vector_set_all' was not declared in this scope ./include/gsl.h: In member function 'double& gsl::vector::operator()(int)': ./include/gsl.h:34: error: 'p' was not declared in this scope ./include/gsl.h:35: error: 'p' was not declared in this scope ./include/gsl.h: At global scope: ./include/gsl.h:58: error: ISO C++ forbids declaration of 'gsl_matrix' with no type ./include/gsl.h:58: error: expected ';' before '*' token ./include/gsl.h:59: error: 'gsl_matrix_view' does not name a type ./include/gsl.h:86: error: expected type-specifier before 'gsl_matrix_view' ./include/gsl.h:89: error: expected type-specifier before 'gsl_matrix' ./include/gsl.h: In constructor 'gsl::matrix::matrix(int, int)': ./include/gsl.h:61: error: 'p' was not declared in this scope ./include/gsl.h:61: error: 'gsl_matrix_alloc' was not declared in this scope ./include/gsl.h:62: error: 'view' was not declared in this scope ./include/gsl.h:62: error: 'gsl_matrix_view_array_with_tda' was not declared in this scope ./include/gsl.h: In destructor 'gsl::matrix::~matrix()': ./include/gsl.h:65: error: 'p' was not declared in this scope ./include/gsl.h:65: error: 'gsl_matrix_free' was not declared in this scope ./include/gsl.h: In member function 'int gsl::matrix::dim(int)': ./include/gsl.h:69: error: 'p' was not declared in this scope ./include/gsl.h:70: error: 'p' was not declared in this scope ./include/gsl.h: In member function 'void gsl::matrix::resize(int, int)': ./include/gsl.h:74: error: 'p' was not declared in this scope ./include/gsl.h:74: error: 'gsl_matrix_free' was not declared in this scope ./include/gsl.h:75: error: 'gsl_matrix_alloc' was not declared in this scope ./include/gsl.h:76: error: 'view' was not declared in this scope ./include/gsl.h:76: error: 'gsl_matrix_view_array_with_tda' was not declared in this scope ./include/gsl.h: In member function 'void gsl::matrix::operator=(double)': ./include/gsl.h:79: error: 'p' was not declared in this scope ./include/gsl.h:79: error: 'gsl_matrix_set_all' was not declared in this scope ./include/gsl.h: In member function 'double& gsl::matrix::operator()(int, int)': ./include/gsl.h:82: error: 'p' was not declared in this scope ./include/gsl.h:83: error: 'p' was not declared in this scope ./include/gsl.h:84: error: 'p' was not declared in this scope ./ocr-line/glclass.cc: In function 'int glinerec::compute_confusions(colib::intarray&, colib::intarray&)': ./ocr-line/glclass.cc:229: warning: converting to 'int' from 'float' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::KnnClassifier::info(int, FILE*)': ./ocr-line/glclass.cc:332: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::KnnClassifier::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:393: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:409: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::BitNN::info(int, FILE*)': ./ocr-line/glclass.cc:599: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::BitNN::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:643: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::MlpClassifier::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:911: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'void glinerec::MlpClassifier::trainOne(colib::floatarray&, colib::floatarray&, colib::floatarray&, float)': ./ocr-line/glclass.cc:994: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::MlpClassifier::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1027: warning: converting to 'int' from 'float' ./ocr-line/glclass.cc:1047: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::AutoMlpClassifier::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1083: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'void glinerec::AutoMlpClassifier::trainBatch(glinerec::IDataset&, glinerec::IDataset&)': ./ocr-line/glclass.cc:1135: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1136: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1137: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1138: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1139: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1140: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1145: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1166: warning: passing 'float' for argument 2 to 'void glinerec::MlpClassifier::initData(glinerec::IDataset&, int)' ./ocr-line/glclass.cc: In function 'void glinerec::least_square(colib::floatarray&, colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:1315: error: 'gsl_linalg_SV_decomp_mod' was not declared in this scope ./ocr-line/glclass.cc:1316: error: 'gsl_linalg_SV_solve' was not declared in this scope ./ocr-line/glclass.cc: In member function 'virtual void glinerec::AdaBoost::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1444: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc:1462: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual void glinerec::CascadedMLP::train(glinerec::IDataset&)': ./ocr-line/glclass.cc:1625: warning: converting to 'int' from 'double' ./ocr-line/glclass.cc: In member function 'virtual float glinerec::CascadedMLP::outputs(colib::floatarray&, colib::floatarray&)': ./ocr-line/glclass.cc:1647: warning: converting to 'int' from 'double' ./ocr-utils/components.h: At global scope: ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::MappedClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::MappedClassifier]' ./ocr-line/glclass.cc:1803: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::MappedClassifier>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::Float8Buffer>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::Float8Buffer]' ./ocr-line/glclass.cc:1804: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::Float8Buffer>' has virtual functions but non- virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::KnnClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::KnnClassifier]' ./ocr-line/glclass.cc:1806: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::KnnClassifier>' has virtual functions but non- virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::BitNN>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::BitNN]' ./ocr-line/glclass.cc:1807: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::BitNN>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::AutoMlpClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::AutoMlpClassifier]' ./ocr-line/glclass.cc:1809: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::AutoMlpClassifier>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AutoMlpClassifier>': ./ocr-utils/components.h:310: instantiated from 'void ocropus::component_register2(const char*, bool) [with T = glinerec::MappedClassifier, S = glinerec::AutoMlpClassifier]' ./ocr-line/glclass.cc:1810: instantiated from here ./ocr-utils/components.h:286: warning: 'struct ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AutoMlpClassifier>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::AdaBoost>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::AdaBoost]' ./ocr-line/glclass.cc:1812: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::AdaBoost>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AdaBoost>': ./ocr-utils/components.h:310: instantiated from 'void ocropus::component_register2(const char*, bool) [with T = glinerec::MappedClassifier, S = glinerec::AdaBoost]' ./ocr-line/glclass.cc:1813: instantiated from here ./ocr-utils/components.h:286: warning: 'struct ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::AdaBoost>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::CascadedMLP>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::CascadedMLP]' ./ocr-line/glclass.cc:1815: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::CascadedMLP>' has virtual functions but non- virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::CascadedMLP>': ./ocr-utils/components.h:310: instantiated from 'void ocropus::component_register2(const char*, bool) [with T = glinerec::MappedClassifier, S = glinerec::CascadedMLP]' ./ocr-line/glclass.cc:1816: instantiated from here ./ocr-utils/components.h:286: warning: 'struct ocropus::ComponentConstructorNew2<glinerec::MappedClassifier, glinerec::CascadedMLP>' has virtual functions but non-virtual destructor ./ocr-utils/components.h: In instantiation of 'ocropus::ComponentConstructorNew<glinerec::LatinClassifier>': ./ocr-utils/components.h:306: instantiated from 'void ocropus::component_register(const char*, bool) [with T = glinerec::LatinClassifier]' ./ocr-line/glclass.cc:1818: instantiated from here ./ocr-utils/components.h:280: warning: 'struct ocropus::ComponentConstructorNew<glinerec::LatinClassifier>' has virtual functions but non- virtual destructor make[1]: *** [glclass.o] Error 1 make[1]: Leaving directory `/data/homedirs/adubinsky/ocropus' make: *** [all-recursive] Error 1 [If you attach an image, please tag with SampleImage. If you attach a bundle or patch to fix the problem, please tag with FixBundle or FixPatch.]
 
Hosted by Google Code