New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compile 3.04-rc1 under ubuntu 14.04 #41
Comments
That error means that you are not linking against leptonica 1.72 library (but probably against some older version). It is not tesseract problem. |
Thanks for you quick response. My bad, I assume the lib will be ready after configure. Anyway, for the future reference, since we have to compile leptonica in ubuntu 14.04, we should use Then the problem will be resolved. Thanks. |
Hi, Request help on this. |
Sorry for the inconvenience.Was able to resolve the issue.Thanks. |
How did you resolve it? |
Yes, how did you solve it @Sayanava ? |
I removed previous 3.03 and re-install 3.04 from scratch. It works. |
The same issue is reported in https://code.google.com/p/tesseract-ocr/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary&groupby=&sort=&id=1307
But the problem is still exists and the ticket is closed.
I got the error during compiling.
The error is:
libtool: link: g++ -std=c++11 -o .libs/tesseract tesseract-tesseractmain.o ./.libs/libtesseract.so -lrt -llept -lpthread
./.libs/libtesseract.so: undefined reference to
l_generateCIDataForPdf' ./.libs/libtesseract.so: undefined reference to
l_CIDataDestroy'tesseract -v
tesseract 3.03
leptonica-1.72
libjpeg 8d (libjpeg-turbo 1.3.0) : libpng 1.2.50 : libtiff 4.0.3 : zlib 1.2.8
And here is the deb package I installed:
"autoconf",
"automake",
"libtool",
"libpng12-dev",
"libjpeg-turbo8-dev",
"g++",
"libtiff5-dev",
"libopencv-dev",
"libopencv-objdetect-dev",
"libopencv-highgui-dev",
"libopencv-legacy-dev",
"libopencv-contrib-dev",
"libopencv-videostab-dev",
"libopencv-superres-dev",
"libopencv-ocl-dev",
"libcv-dev",
"libhighgui-dev",
"libcvaux-dev",
"libtesseract-dev",
"git",
"cmake",
"build-essential",
"libleptonica-dev",
"liblog4cplus-dev",
"libcurl3-dev",
"python2.7-dev",
"tk8.5",
"tcl8.5",
"tk8.5-dev",
"tcl8.5-dev",
"imagemagick"
I basically follow the instruction in https://realpython.com/blog/python/setting-up-a-simple-ocr-server/
Please help. Thanks.
The text was updated successfully, but these errors were encountered: