← Back to team overview

sikuli-driver team mailing list archive

[Question #227282]: Building Sikuli in windows

 

New question #227282 on Sikuli:
https://answers.launchpad.net/sikuli/+question/227282

Hi,
I was trying to build sikuli from source code on windows 64 bit system.
I downloaded and installed the following softwares (as mentioned as prerequisite in build-win32.txt):
OpenCV2.1
tesseract 2.04 with english data pack
Cmake 2.8
Swigwin2.0.9
Visual Studio 2010
JDK 6

While trying to generate make file, I got the following error:
CMake Error: Could not create named generator NMake Makefiles

Following is my 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
   "/OpenCV2.1"
   "c:/OpenCV2.1"
)

FIND_PATH(TESSERACT_DATA_DIR confsets 
   "/opt/local/share/tessdata"
   "/usr/local/share/tessdata"
   "/usr/share/tesseract-ocr/tessdata"
   "/usr/share/tesseract/tessdata"
   "/usr/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()


It might not actualy be a sikuli problem but please help me out so that I can build it on my system.
Note- I have cygwin also installed previously on my system.

Thanks!!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.