User forums > General (but related to Code::Blocks)

Tesseract and Leptonica

(1/1)

ibelic:
Hi, I have already used an enormous amount of time trying to install Tesseract OCR and Leptonica SW from GitHub using Cmake. Trouble is that everything is set to be installed for Windows Visual Studio. Can anybody help me with advice, how to actually do it. I am using Win10 and of course C::B with C++ MinGw.

AndrewCot:
If you look at the github repo for https://github.com/tesseract-ocr/tesseract you will see cmake scattered in the repo listing. As such i suggest google codeblocks and cmake, but first it looks like you did not do the first thing that IMHO you should always do and that is to use the github search facility to search the repo for keywords and in this case the magic keyword is guess what....(you have to figure it out) and if you guess correctly you will get info on how to compile tesseract-ocr as you have requested.

Once you get tesseract-ocr see if you can use the same method for Leptonica.

P.S. better to teach people how to fish than give them a single fish today.

ollydbg:
Package: mingw-w64-x86_64-tesseract-ocr - MSYS2 Packages

Package: mingw-w64-x86_64-leptonica - MSYS2 Packages

A simple way to use those libraries is just use the pre-build libs from msys2 projects, see the above two links.

Navigation

[0] Message Index

Go to full version