peters / openalpr-windows

Build OpenALPR on Windows.
MIT License
51 stars 53 forks source link

Error when import openALPR to VisualStudio after installing by Build Script #10

Open astrung opened 8 years ago

astrung commented 8 years ago

I have successfully installed ALPR by OpenALPR Windows Build Scripts,but now i need to import it to Visual Studio for modifying it.But when i try to run cmake in Openalpr/src,cmake said that can not find Tesseract and OpenCV.(by Build Scripts,Tesseract and OpenCV are downloaded and installed) .Therefore, cmake can not create solution for Visual Studion.So how i can import it ? This is my log error: -- Building for: Visual Studio 14 2015 CMake Warning at CMakeLists.txt:64 (MESSAGE): Skipping alprd daemon installation, as it is not supported in Windows.

Tesseract_INCLUDE_BASEAPI_DIR=Tesseract_INCLUDE_BASEAPI_DIR-NOTFOUND Tesseract_INCLUDE_CCSTRUCT_DIR=Tesseract_INCLUDE_CCSTRUCT_DIR-NOTFOUND Tesseract_INCLUDE_CCMAIN_DIR=Tesseract_INCLUDE_CCMAIN_DIR-NOTFOUND Tesseract_INCLUDE_CCUTIL_DIR=Tesseract_INCLUDE_CCUTIL_DIR-NOTFOUND Tesseract_INCLUDE_DIRS= Tesseract_LIB=Tesseract_LIB-NOTFOUND Leptonica_LIB=Leptonica_LIB-NOTFOUND Tesseract_LIBRARIES= CMake Error at cmake_modules/LibFindMacros.cmake:74 (message): Required library Tesseract NOT FOUND.

Install the library (dev version) and try again. If the library is already installed, use ccmake to set the missing variables manually. Call Stack (most recent call first): cmake_modules/FindTesseract.cmake:90 (libfind_process) CMakeLists.txt:75 (FIND_PACKAGE)

karelvorechovsky commented 8 years ago

You need to manually select the DIRs in cmake and point it to correct location.