Issue 642 in tesseract-ocr: compile failure on tesseract svn mar-5-2012

0 views
Skip to first unread message

tesser...@googlecode.com

unread,
Mar 5, 2012, 3:55:10 AM3/5/12
to tesserac...@googlegroups.com
Status: New
Owner: ----

New issue 642 by walter.m...@gmail.com: compile failure on tesseract svn
mar-5-2012
http://code.google.com/p/tesseract-ocr/issues/detail?id=642

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.


tesser...@googlecode.com

unread,
Mar 5, 2012, 8:01:52 AM3/5/12
to tesserac...@googlegroups.com

Comment #1 on issue 642 by withbles...@gmail.com: compile failure on

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

tesser...@googlecode.com

unread,
Mar 5, 2012, 3:48:31 PM3/5/12
to tesserac...@googlegroups.com

Comment #2 on issue 642 by zde...@gmail.com: compile failure on tesseract
svn mar-5-2012
http://code.google.com/p/tesseract-ocr/issues/detail?id=642

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.


tesser...@googlecode.com

unread,
Mar 6, 2012, 2:15:21 AM3/6/12
to tesserac...@googlegroups.com

Comment #3 on issue 642 by walter.m...@gmail.com: compile failure on

Thanks for the hint. It was indeed an leptonica issue. Upgraded to
leptonica 1.68 and
build proceeds without problems.

tesser...@googlecode.com

unread,
Mar 6, 2012, 3:37:59 AM3/6/12
to tesserac...@googlegroups.com
Updates:
Status: Fixed

Comment #4 on issue 642 by zde...@gmail.com: compile failure on tesseract
svn mar-5-2012
http://code.google.com/p/tesseract-ocr/issues/detail?id=642

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages