There is a question same issue here. But the solution is not there. I use windows8, visual studio 2013. My machine is 64bit. I try to integrate tesseract ocr to vs2013. I install leptonica from here and tesseract from here.
I did below steps :
Project solutions -> C++ -> General
C:\Tesseract-OCR\include C:\Tesseract-OCR\include\tesseract C:\Tesseract-OCR\include\leptonica
Linker-> General -> Additional Library Directories
C:\Tesseract-OCR\lib
Linker->Input ->Additional Dependencies
libtesseract302.lib liblept168.lib
Restart vs2013
I try below line in main function `tesseract::TessBaseAPI api;'. When I run these code, I get an error.
Error message :
Error 2 error LNK2001: unresolved external symbol "public: virtual __cdecl tesseract::TessBaseAPI::~TessBaseAPI(void)" (??1TessBaseAPI@tesseract@@UEAA@XZ)