← Back to team overview

sikuli-driver team mailing list archive

[Bug 988253] Re: Mac: Error while building sikuli from source --- TIFF_LIBS not found

 

Hi,

i have tried with OpenCV2.2.0 , even then iam getting the same error
COuld some one help , how to get rid of this?


[ 17%] Building CXX object src/main/native/CMakeFiles/VisionProxy.dir/cvgui.cpp.o
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native/cvgui.cpp: In static member function ‘static void cvgui::segmentScreenshot(const cv::Mat&, std::vector<Blob, std::allocator<Blob> >&, std::vector<Blob, std::allocator<Blob> >&)’:
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native/cvgui.cpp:1848: error: ‘SURF’ was not declared in this scope
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native/cvgui.cpp:1848: error: expected `;' before ‘surf_extractor’
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native/cvgui.cpp:1852: error: ‘surf_extractor’ was not declared in this scope
make[2]: *** [src/main/native/CMakeFiles/VisionProxy.dir/cvgui.cpp.o] Error 1
make[1]: *** [src/main/native/CMakeFiles/VisionProxy.dir/all] Error 2
make: *** [all] Error 2

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/988253

Title:
  Mac: Error while building sikuli from source --- TIFF_LIBS not found

Status in Sikuli:
  New

Bug description:
  Hi,

  I'm trying to build from sikuli source code in Mac. I have installed
  all the pre installed softwares which were mentioned in build_mac.txt

  while running the below commands in terminal, for the command 5 mentioned below , CMake error is getting throned.
  ---------------------------------------
  -- Found Tesseract 
  NATIVE_LIBS: VisionProxy;VDictProxy;MacUtil;MacHotkeyManager
  CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
  Please set them or make sure they are set and tested correctly in the CMake files:
  TIFF_LIBS
      linked by target "MacHotkeyManager" in directory /Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native
      linked by target "MacUtil" in directory /Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native
      linked by target "VDictProxy" in directory /Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native
      linked by target "VDictProxy" in directory /Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native
      linked by target "VisionProxy" in directory /Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native

  -- Configuring incomplete, errors occurred!
  --------------------------------------------------

  
  1. make a "build" directory in sikuli-script/
    mkdir sikuli-script/build

  2. generate makefiles with CMake
    cd sikuli-script/build
    cmake ..

  3. build sikuli-script
    make

  4. make a "build" directory in sikuli-ide/
    cd ../.. # go back to the top directory
    mkdir sikuli-ide/build

  5. generate makefiles of Sikuli-IDE with CMake
    cd sikuli-ide/build
    cmake ..

  
  Could some one can help on how to resolve the error? and how to proceed further...

  
  Thanks,
  Kumar

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/988253/+subscriptions


References