​Srirangaji tried to build the current git source on ubuntu 14.04 and it is
getting an error.
I downloaded the same version and am able to compile clean on windows8
under msys2.

----------------------------

Here is the difference in the make.log where the errors occur:

On Ubuntu 14.04

mv -f .deps/tesseract-tesseractmain.Tpo .deps/tesseract-tesseractmain.Po
/bin/bash ../libtool  --tag=CXX   --mode=link g++  -std=c++11   -o
tesseract tesseract-tesseractmain.o libtesseract.la   -lrt -llept -lpthread
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'
collect2: error: ld returned 1 exit status
make[2]: *** [tesseract] Error 1
make[2]: Leaving directory `/home/dell14-04/tesseract-ocr/api'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dell14-04/tesseract-ocr'
make: *** [all] Error 2
-------------------
On Windows8 under Msys2

mv -f .deps/tesseract-tesseractmain.Tpo .deps/tesseract-tesseractmain.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -std=c++11
-Wl,-no-undefined -Wl,--as-needed  -o tesseract.exe
tesseract-tesseractmain.o libtesseract.la  -lws2_32  -llept
libtool: link: g++ -std=c++11 -Wl,-no-undefined -Wl,--as-needed -o
.libs/tesseract.exe tesseract-tesseractmain.o  ./.libs/libtesseract.dll.a
-lws2_32 -llept -L/usr/local/lib
make[2]: Leaving directory '/home/User/source/tess-3.04/tesseract-ocr/api'
Making all in .
make[2]: Entering directory '/home/User/source/tess-3.04/tesseract-ocr'
make[2]: Leaving directory '/home/User/source/tess-3.04/tesseract-ocr'
Making all in tessdata
...
------------------------------------

Any suggestions on how to fix this?

Thanks,
Shree

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduUo2v_9iBHY4jdoRnhdupYnVU%3DY%3D5fQyLzdNctqDhC4bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to