I am struggle to use tesseract library into MFC VS2010 project. And I guess I started like this: I have tried to compile tesseract library from here: https://github.com/tesseract-ocr/tesseract ... but when I tried to create a solution with CMake, I get the following error from CMake:
Code:
CMake Error at CMakeLists.txt:100 (find_package):
  Could not find a package configuration file provided by "Leptonica"
  (requested version 1.74) with any of the following names:

    LeptonicaConfig.cmake
    leptonica-config.cmake

  Add the installation prefix of "Leptonica" to CMAKE_PREFIX_PATH or set
  "Leptonica_DIR" to a directory containing one of the above files.  If
  "Leptonica" provides a separate development package or SDK, be sure it has
  been installed.
Obviously, I need leptonica ...but whre can I get this library ? I read that is used in tesseract projects ...

Or else, have you already compiled tesseract with VS2010 ? Can you lead me into solving my task ? Thank you.