Tesseract 3.05 Linking error on VS2015 x64

43 views
Skip to first unread message

Kramer Baretta

unread,
Jun 21, 2017, 2:03:27 AM6/21/17
to tesseract-ocr
Hi, I just ran the test code and got a linking error:

Error LNK2001 unresolved external symbol
"public: void __cdecl tesseract::TessBaseAPI::SetImage(struct Pix const *)" (?SetImage@TessBaseAPI@tesseract@@QEAAXPEBUPix@@@Z) 

I checked all the dependencies and what I added are:

leptonica-1.74.2d.lib
tesseract305d.lib
leptonica-1.74.2.lib
tesseract305.lib
libtesseract.lib
liblept.lib
common_training.lib
giflib.lib
libjpeg.lib
libpng.lib
libtiff.lib
libwebp.lib
openjpeg.lib
tessopt.lib
zlib.lib

For the last version, I only added, then it worked:

liblept168.lib
libtesseract302.lib
liblept168d.lib
libtesseract302d.lib

Did I miss something to add?

Thank you
Reply all
Reply to author
Forward
0 new messages