2103677649 / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

Major regression: /trunk/include missing #419

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When building Tesseract on most recent revision (r549) the following error 
occurs:

coutln.cpp:26:24: error: allheaders.h: No such file or directory
coutln.cpp: In member function ‘void C_OUTLINE::render(int, int, Pix*)’:
coutln.cpp:632: error: ‘PIX_DST’ was not declared in this scope
coutln.cpp:632: error: ‘PIX_NOT’ was not declared in this scope
coutln.cpp:632: error: ‘pixRasterop’ was not declared in this scope
coutln.cpp:635: error: ‘PIX_DST’ was not declared in this scope
coutln.cpp:635: error: ‘PIX_NOT’ was not declared in this scope
coutln.cpp:635: error: ‘pixRasterop’ was not declared in this scope

Turns out that the whole /trunk/include dir was deleted in r474 which
http://code.google.com/p/tesseract-ocr/source/detail?r=474
and indeed, Tess builds successfully on r473

From the comments it appears that the developer deleting /include was doing 
adaptations for Windows and may have these dirs stored somewhere else, which 
explains how this wasn't detected earlier?

So, it appears that the solution is to simply reinsert /include. If I knew 
anything at all about Tesseract's source, I might have done it myself ;-)

OSX 10.6.4 on 13" MBP 2010, gcc version 4.2.1 (Apple Inc. build 5664)

Original issue reported on code.google.com by arvi...@gmail.com on 29 Dec 2010 at 1:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by zde...@gmail.com on 2 Jan 2011 at 8:41