Build dependency on Visual Studio 2013

93 views
Skip to first unread message

Sam Vu

unread,
Sep 21, 2016, 1:52:06 PM9/21/16
to tesseract-ocr
I want to build tesseract static library or dynamic library to used in OpenCV text module.
My computer install both Visual 2015 and 2013 and I want to build library for these versions.
I follow this instruction to compile tesseract. It;s success to build on Visual 2015. But when I build on VIsual 2013 from:

cd tesseract
cppan
mkdir build-vc12 && cd build-vc12
cmake .. -G "Visual Studio 12 2013" -DSTATIC=1
or use dynamic build:

cd tesseract
cppan
mkdir build-vc12-dll && cd build-vc12-dll
cmake .. -G "Visual Studio 12 2013"
both procedure this error:
Error 1570 error LNK2019: unresolved external symbol __TIFF_snprintf_f referenced in function __TIFFCreateAnonField E:\Build\tesseract-3.05-build-vc12\pvt.cppan.demo.tiff-4.0.6.lib(tif_dirinfo.obj) tesseract

It seem the dependency project pvt.cppan.demo.tiff-4.0.6 doesn't support for Visual 2013
So, can I build tesseract master (3.05) with Visual 2013 or I must use another tutorial? (some tutorial is very old and link is dead, etc...)
Reply all
Reply to author
Forward
0 new messages