mithilesh1125 / tesseract-ocr

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

compile failure on tesseract svn mar-5-2012 #642

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to compile the svn-version 
2.
3.

What is the expected output? What do you see instead?
expected: compilation completes.

encountered:
Making all in api
make[3]: Entering directory `/tmp/tesseract-3.0/tess-svn/api'
g++ -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/local/share/locale\" 
-I../ccutil -I../ccstruct -I../image -I../viewer -I../textord -I../dict 
-I../classify -I../ccmain -I../wordrec -I../cutil 
-I/usr/local/include/leptonica  -g -O2 -MT tesseractmain.o -MD -MP -MF 
.deps/tesseractmain.Tpo -c -o tesseractmain.o `test -f 
'../api/tesseractmain.cpp' || echo './'`../api/tesseractmain.cpp
../api/tesseractmain.cpp: In function ‘int main(int, char**)’:
../api/tesseractmain.cpp:61:39: error: ‘getLeptonicaVersion’ was not 
declared in this scope
../api/tesseractmain.cpp:63:26: error: ‘lept_free’ was not declared in this 
scope
make[3]: *** [tesseractmain.o] Fehler 1
make[3]: Leaving directory `/tmp/tesseract-3.0/tess-svn/api'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/tmp/tesseract-3.0/tess-svn'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/tmp/tesseract-3.0/tess-svn'
make: *** [tesseract] Fehler 2

What version of the product are you using? On what operating system?
OpenSuse 11.4

Please provide any additional information below.

Original issue reported on code.google.com by walter.m...@googlemail.com on 5 Mar 2012 at 8:54

GoogleCodeExporter commented 9 years ago
successfully compiled (r-695)in VS2008 and generated 10 exe files without any 
errors.
OS= WinXP(sp3)- tested works fine for me.

Original comment by withbles...@gmail.com on 5 Mar 2012 at 1:01

GoogleCodeExporter commented 9 years ago
I can not reproduce the problem (openSUSE 12.1).
It look like you have problem with leptonica. getLeptonicaVersion and lept_free 
is defined in leptprotos.h (/usr/local/include/leptonica/leptprotos.h).
Please check if you use recent leptonica.

Original comment by zde...@gmail.com on 5 Mar 2012 at 8:47

GoogleCodeExporter commented 9 years ago
Thanks for the hint. It was indeed an leptonica issue. Upgraded to leptonica 
1.68 and
build proceeds without problems.

Original comment by walter.m...@googlemail.com on 6 Mar 2012 at 7:14

GoogleCodeExporter commented 9 years ago

Original comment by zde...@gmail.com on 6 Mar 2012 at 8:36