sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10359
[Question #195650]: Building sikuli source code is unsuccessfull
New question #195650 on Sikuli:
https://answers.launchpad.net/sikuli/+question/195650
I am trying to build sikuli source code which is downloaded from GIT. I installed the dependent softwares as given in build-mac.txt. I am using MacOS 10.6.8. I also made necessary path changed in my env path and also changed common.cmake. here is my changed common.cmake file
SET(CMAKE_BUILD_TYPE Release) # Release | Debug
SET(CMAKE_VERBOSE_MAKEFILE 0)
#SET(CMAKE_OSX_ARCHITECTURES i386 x86_64)
FIND_PATH(OpenCV_DIR OpenCVConfig.cmake
"/OpenCV-2.3.1"
"c:/OpenCV2.1"
)
FIND_PATH(TESSERACT_DATA_DIR confsets
"/usr/local/share/tessdata"
"c:/tesseract-2.04/tessdata"
)
IF(WIN32)
FIND_PATH(TESSERACT_SRC_DIR ccmain
"c:/tesseract-2.04"
)
ENDIF()
message("Tesseract-OCR Data Path: ${TESSERACT_DATA_DIR}")
#message("OpenCV Path: ${OpenCV_DIR}")
IF(UNIX AND NOT APPLE)
SET(LINUX 1)
ENDIF()
Once done with common.cmake, i created build folder in sikuli-script folder and from inside the build i ran "cmake ..". Here is where i am getting the issue. Below is my issue.
Tesseract-OCR Data Path: TESSERACT_DATA_DIR-NOTFOUND
Tesseract-OCR Data Path: TESSERACT_DATA_DIR-NOTFOUND
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
found OpenCVConfig /OpenCV-2.3.1;/OpenCV-2.3.1/include;/OpenCV-2.3.1/include/opencv
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Tesseract_INCLUDE_DIR=/Library/Frameworks/tesseract.framework
Tesseract_INCLUDE_DIRS=/Library/Frameworks/tesseract.framework;/Library/Frameworks/tesseract.framework
Tesseract_LIBRARY=Tesseract_LIBRARY-NOTFOUND
Tesseract_LIBRARIES=
CMake Error at /Users/symantecadmin/Downloads/sikuli-sikuli-699d404/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):
/Users/symantecadmin/Downloads/sikuli-sikuli-699d404/cmake_modules/FindTesseract.cmake:34 (libfind_process)
src/main/native/CMakeLists.txt:47 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
I have set the env path for Opencv_DIR and TESSERACT_DATA_DIR. but still i am getting this issue.
Please help me to solve this as soon as possible.
Thanks,
Kabilan
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.