I'm trying to build version 4 to run with VS2017 with C++ redist 2017.
Following the steps posted on this forum:
cd \petri
mkdir Win64
cd Win64
git clone https://github.com/tesseract-ocr/tesseract tesseract
cd tesseract
cppan (I assume this wasn't necessary, but I'm trying to avoid improvising)
mkdir Win64 && cd Win64
cppan ..
cmake .. -G "Visual Studio 15 2017 Win64"
and other similar variations to the steps.
Everything appears to go correct right up to 'cmake' at this point i get the failure 'Leptonica_DIR-NOTFOUND'.
Now for the daft question - Do i need to simply include the Leptonica dll files in the Leptonica directory, or a complete new build, or the source? And if so what versions should be used?
Can anyone who has managed this please give me a pointer.
I know there is a version here (
https://github.com/tdhintz/tesseract4win64) for c++ redist 2015 but I need to create one for 2017.
Thanks