problem with installation opencv
Hello ! I try to install opencv on macbook pro following this instruction i have problem when i build OpenCV framework. when i type
python opencv/ios/build_framework.py iOS
i got this problem:
CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Looking for linux/videodev.h - not found -- Looking for linux/videodev2.h CMake Error at /opt/local/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT)
CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Looking for linux/videodev2.h - not found -- Looking for sys/videoio.h CMake Error at /opt/local/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT)
CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Looking for sys/videoio.h - not found -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.0") -- Performing Test HAVE_OBJCXX_FOBJC_EXCEPTIONS CMake Error at /opt/local/share/cmake-2.8/Modules/CMakeCXXInformation.cmake:37 (get_filename_component): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT)
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test HAVE_OBJCXX_FOBJC_EXCEPTIONS - Failed
-- General configuration for OpenCV 2.4.9 =====================================
-- Platform: -- Host: Darwin 11.4.2 i386 -- Target: iOS -- CMake: 2.8.10 -- CMake generator: Xcode -- CMake build tool: /opt/local/bin/cmakexbuild
-- Xcode: 4.3.3
-- C/C++:
-- Built as dynamic libs?: NO
-- C++ Compiler: CMAKE_CXX_COMPILER-NOTFOUND
-- C++ flags (Release): -stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -O3 -fomit-frame-pointer -ffast-math
-- C++ flags (Debug): -stdlib=libc++ -headerpad_max_install_names -fvisibility=hidden -fvisibility-inlines-hidden
-- C Compiler: CMAKE_C_COMPILER-NOTFOUND
-- C flags (Release):
-- C flags (Debug):
-- Linker flags (Release):
-- Linker flags (Debug):
-- Precompiled headers: NO
-- OpenCV modules: -- To be built: core imgproc flann highgui features2d calib3d ml video objdetect contrib legacy nonfree photo stitching videostab world -- Disabled: - -- Disabled by dependency: -
-- Unavailable: androidcamera gpu java ocl python ts
-- GUI: -- Cocoa: YES
-- OpenGL support: NO
-- Media I/O: -- ZLib: build (ver 1.2.7) -- JPEG: NO -- PNG: NO -- TIFF: NO -- JPEG 2000: NO
-- OpenEXR: NO
-- Video I/O: -- AVFoundation: YES -- QuickTime: NO -- QTKit: YES
-- V4L/V4L2: NO/NO
-- Other third-party libraries: -- Use OpenCL: NO -- Use Eigen: NO
-- Use Clp: NO
-- Python:
-- Interpreter: NO
-- Documentation: -- Build Documentation: NO -- Sphinx: NO
-- PdfLaTeX compiler: NO
-- Tests and samples: -- Tests: NO -- Performance tests: NO
-- Examples: NO
-- Install path: /usr/local/working_directory/ios/build/iPhoneSimulator-i386/install
-- cvconfig.h is in: /usr/local/working_directory/ios/build/iPhoneSimulator-i386
-- -----------------------------------------------------------------
-- Configuring incomplete, errors occurred! error: can't exec '/Developer/usr/bin/xcodebuild' (No such file or directory) error: can't exec '/Developer/usr/bin/xcodebuild' (No such file or directory) Traceback (most recent call last): File "opencv/ios/build_framework.py", line 128, in <module> build_framework(os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "..")), os.path.abspath(sys.argv[1])) File "opencv/ios/build_framework.py", line 120, in build_framework put_framework_together(srcroot, dstroot) File "opencv/ios ...