Aug 16, 2017 - An unofficial installer for windows for Tesseract 3.05-dev and Tesseract 4.00-dev is available from UB-Mannheim/tesseract. This includes the training tools an installer for the old version 3.02 is available for Windows from official Tesseract tesseract-ocr/tesseract This includes.
My setup: Currently I'm working with c++ in visual studio 2017 on Windows 10.
The objective: To start using tesseract ocr in my basic c++ application. First, to make sure I'm able to #include the tesseract library and compile and execute a very simple program, I'm trying to run the simple test program below, provided on the official tesseract project's 'APIExample' page.
What I've done so far: Following the advice of this stack overflow answer, I've ran the
vcpkg install tesseract:x64-windows
command in the command prompt along with the command .vcpkg integrate install
. When I run the command vcpkg list
I see all of the packages that I installed(shown below in screenshot), but despite this intellisense in visual studio gives me errors saying it can't find the includes to run the aforementioned test project whose code I've posted below. What gives? I've provided a screenshot below of my visual studio setup with the errors and error codes produced for reference.Mrcitrusboots
MrcitrusbootsMrcitrusboots
1 Answer
Looks like your tesseract package has been installed for x64 platform, but your project settings seems to be in x86. Correct that and ensure you choose 'multi-threaded dynamically linked' in the library settings. If all goes well, MSCV IDE will automatically copy those dependency DLLs to your application directory at runtime.
seccpurseccpur