configuring opencv
~/opencv-2.4.4/build $ sudo cmake ..
-- checking for module 'libdc1394-2'
-- package 'libdc1394-2' not found
-- checking for module 'libdc1394'
-- package 'libdc1394' not found
-- checking for module 'libv4l1'
-- package 'libv4l1' not found
-- Looking for linux/videodev.h
-- Looking for linux/videodev.h - not found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - not found
-- Looking for sys/videoio.h
-- Looking for sys/videoio.h - not found
-- checking for module 'libavcodec'
-- package 'libavcodec' not found
-- checking for module 'libavformat'
-- package 'libavformat' not found
-- checking for module 'libavutil'
-- package 'libavutil' not found
-- checking for module 'libswscale'
-- package 'libswscale' not found
-- Looking for libavformat/avformat.h
-- Looking for libavformat/avformat.h - not found
-- Looking for ffmpeg/avformat.h
-- Looking for ffmpeg/avformat.h - not found
-- Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "2.0" (found /usr/local/bin/python2)
-- Could NOT find PythonLibs: Found unsuitable version "2.7.2", but required is exact version "1.4" (found /usr/lib/libpython2.7.dylib)
-- Found apache ant 1.8.4: /usr/bin/ant
CMake Error at modules/python/CMakeLists.txt:78 (set_target_properties):
set_target_properties called with incorrect number of arguments.
--
-- General configuration for OpenCV 2.4.4 =====================================
-- Version control: unknown
--
-- Platform:
-- Host: Darwin 12.2.0 i386
-- CMake: 2.8.10.2
-- CMake generator: Unix Makefiles
-- CMake build tool: /usr/bin/make
-- Configuration: RELEASE
--
-- C/C++:
-- Built as dynamic libs?: YES
-- C++ Compiler: /usr/bin/c++ (ver 4.2.0)
-- C++ flags (Release): -m32 -W -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -O3 -DNDEBUG -DNDEBUG
-- C++ flags (Debug): -m32 -W -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -g -O0 -DDEBUG -D_DEBUG -ggdb3
-- C Compiler: /usr/bin/cc
-- C flags (Release): -m32 -W -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -O3 -DNDEBUG -DNDEBUG
-- C flags (Debug): -m32 -W -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -g -O0 -DDEBUG -D_DEBUG -ggdb3
-- Linker flags (Release):
-- Linker flags (Debug):
-- Precompiled headers: NO
--
-- OpenCV modules:
-- To be built: core imgproc flann highgui features2d calib3d ml video objdetect contrib nonfree photo legacy gpu java python stitching ts videostab
-- Disabled: world
-- Disabled by dependency: -
-- Unavailable: androidcamera ocl
--
-- GUI:
-- QT 4.x: NO
-- Cocoa: YES
-- OpenGL support: NO
--
-- Media I/O:
-- ZLib: build (ver 1.2.7)
-- JPEG: build (ver 62)
-- PNG: build (ver 1.5.12)
-- TIFF: build (ver 42 - 4.0.2)
-- JPEG 2000: build (ver 1.900.1)
-- OpenEXR: build (ver 1.7.1)
--
-- Video I/O:
-- DC1394 1.x: NO
-- DC1394 2.x: NO
-- FFMPEG: NO
-- codec: NO
-- format: NO
-- util: NO
-- swscale: NO
-- gentoo-style: NO
-- OpenNI: NO
-- OpenNI PrimeSensor Modules: NO
-- PvAPI: NO
-- GigEVisionSDK: NO
-- QuickTime: NO
-- QTKit: YES
-- V4L/V4L2: NO/NO
--
-- Other third-party libraries:
-- Use IPP: NO
-- Use Eigen: YES (ver 3.1.2)
-- Use TBB: NO
-- Use OpenMP: NO
-- Use GCD YES
-- Use Concurrency NO
-- Use C=: NO
-- Use Cuda: NO
-- Use OpenCL: NO
--
-- Python:
-- Interpreter: /usr/local/bin/python2 (ver 1.4)
-- Libraries: /usr/lib/libpython2.7.dylib (ver 2.7.2)
-- numpy: /usr/local/lib/python2.7/site-packages/numpy/core/include (ver )
-- packages path: lib/python2.7/site-packages
--
-- Java:
-- ant: /usr/bin/ant (ver 1.8.4)
-- JNI: /System/Library/Frameworks/JavaVM.framework/Headers /System/Library/Frameworks/JavaVM.framework/Headers /System/Library/Frameworks/JavaVM.framework/Headers
-- Java tests: YES
--
-- Documentation:
-- Build Documentation: NO
-- Sphinx: NO
-- PdfLaTeX compiler: NO
--
-- Tests and samples:
-- Tests: YES
-- Performance tests: YES
-- C/C++ Examples: NO
--
-- Install path: /usr/local
--
-- cvconfig.h is in: /Users/bhaarat/opencv-2.4.4/build
-- -----------------------------------------------------------------
--
-- Configuring incomplete, errors occurred!
make
~/opencv-2.4.4/build $ make
[ 2%] Built target zlib
[ 5%] Built target libtiff
[ 9%] Built target libjpeg
[ 12%] Built target libjasper
[ 14%] Built target libpng
[ 21%] Built target IlmImf
[ 23%] Built target opencv_core
[ 26%] Built target opencv_imgproc
[ 28%] Built target opencv_highgui
[ 28%] Built target opencv_flann
[ 30%] Built target opencv_features2d
[ 30%] Built target opencv_ts
[ 31%] Built target opencv_perf_core
[ 32%] Built target opencv_test_core
[ 34%] Built target opencv_perf_imgproc
[ 36%] Built target opencv_test_imgproc
[ 36%] Built target opencv_test_flann
[ 36%] Built target opencv_perf_highgui
[ 37%] Built target opencv_test_highgui
[ 38%] Built target opencv_perf_features2d
[ 39%] Built target opencv_test_features2d
[ 41%] Built target opencv_calib3d
[ 42%] Built target opencv_perf_calib3d
[ 45%] Built target opencv_test_calib3d
[ 46%] Built target opencv_ml
[ 47%] Built target opencv_test_ml
[ 48%] Built target opencv_video
[ 49%] Built target opencv_perf_video
[ 50%] Built target opencv_test_video
[ 51%] Built target opencv_objdetect
[ 51%] Built target opencv_perf_objdetect
[ 51%] Built target opencv_test_objdetect
[ 54%] Built target opencv_contrib
[ 54%] Built target opencv_test_contrib
[ 55%] Built target opencv_nonfree
[ 56%] Built target opencv_perf_nonfree
[ 57%] Built target opencv_test_nonfree
[ 57%] Built target opencv_photo
[ 57%] Built target opencv_perf_photo
[ 57%] Built target opencv_test_photo
[ 65%] Built target opencv_legacy
[ 65%] Built target opencv_test_legacy
[ 70%] Built target opencv_gpu
[ 71%] Built target opencv_perf_gpu
[ 74%] Built target opencv_test_gpu
[ 84%] Built target opencv_java
[ 95%] Built target opencv_test_java
[ 95%] Built target opencv_python
[ 96%] Built target opencv_stitching
[ 96%] Built target opencv_perf_stitching
[ 97%] Built target opencv_test_stitching
[ 98%] Built target opencv_videostab
[ 99%] Built target opencv_haartraining_engine
[ 99%] Built target opencv_createsamples
[ 99%] Built target opencv_haartraining
[ 99%] Built target opencv_performance
[100%] Built target opencv_traincascade
**install **
~/opencv-2.4.4/build $ sudo make install
[ 2%] Built target zlib
[ 5%] Built target libtiff
[ 9%] Built target libjpeg
[ 12%] Built target libjasper
[ 14%] Built target libpng
[ 21%] Built target IlmImf
[ 23%] Built target opencv_core
[ 26%] Built target opencv_imgproc
[ 28%] Built target opencv_highgui
[ 28%] Built target opencv_flann
[ 30%] Built target opencv_features2d
[ 30%] Built target opencv_ts
[ 31%] Built target opencv_perf_core
[ 32%] Built target opencv_test_core
[ 34%] Built target opencv_perf_imgproc
[ 36%] Built target opencv_test_imgproc
[ 36%] Built target opencv_test_flann
[ 36%] Built target opencv_perf_highgui
[ 37%] Built target opencv_test_highgui
[ 38%] Built target opencv_perf_features2d
[ 39%] Built target opencv_test_features2d
[ 41%] Built target opencv_calib3d
[ 42%] Built target opencv_perf_calib3d
[ 45%] Built target opencv_test_calib3d
[ 46%] Built target opencv_ml
[ 47%] Built target opencv_test_ml
[ 48%] Built target opencv_video
[ 49%] Built target opencv_perf_video
[ 50%] Built target opencv_test_video
[ 51%] Built target opencv_objdetect
[ 51%] Built target opencv_perf_objdetect
[ 51%] Built target opencv_test_objdetect
[ 54%] Built target opencv_contrib
[ 54%] Built target opencv_test_contrib
[ 55%] Built target opencv_nonfree
[ 56%] Built target opencv_perf_nonfree
[ 57%] Built target opencv_test_nonfree
[ 57%] Built target opencv_photo
[ 57%] Built target opencv_perf_photo
[ 57%] Built target opencv_test_photo
[ 65%] Built target opencv_legacy
[ 65%] Built target opencv_test_legacy
[ 70%] Built target opencv_gpu
[ 71%] Built target opencv_perf_gpu
[ 74%] Built target opencv_test_gpu
[ 84%] Built target opencv_java
[ 95%] Built target opencv_test_java
[ 95%] Built target opencv_python
[ 96%] Built target opencv_stitching
[ 96%] Built target opencv_perf_stitching
[ 97%] Built target opencv_test_stitching
[ 98%] Built target opencv_videostab
[ 99%] Built target opencv_haartraining_engine
[ 99%] Built target opencv_createsamples
[ 99%] Built target opencv_haartraining
[ 99%] Built target opencv_performance
[100%] Built target opencv_traincascade
Install the project...
-- Install configuration: "RELEASE"
-- Up-to-date: /usr/local/include/opencv2/opencv_modules.hpp
-- Up-to-date: /usr/local/lib/pkgconfig/opencv.pc
-- Up-to-date: /usr/local/share/OpenCV/OpenCVConfig.cmake
-- Up-to-date: /usr/local/share/OpenCV/OpenCVConfig-version.cmake
-- Up-to-date: /usr/local/include/opencv/cv.h
-- Up-to-date: /usr/local/include/opencv/cv.hpp
-- Up-to-date: /usr/local/include/opencv/cvaux.h
-- Up-to-date: /usr/local/include/opencv/cvaux.hpp
-- Up-to-date: /usr/local/include/opencv/cvwimage.h
-- Up-to-date: /usr/local/include/opencv/cxcore.h
-- Up-to-date: /usr/local/include/opencv/cxcore.hpp
-- Up-to-date: /usr/local/include/opencv/cxeigen.hpp
-- Up-to-date: /usr/local/include/opencv/cxmisc.h
-- Up-to-date: /usr/local/include/opencv/highgui.h
-- Up-to-date: /usr/local/include/opencv/ml.h
-- Up-to-date: /usr/local/include/opencv2/opencv.hpp
-- Installing: /usr/local/lib/libopencv_core.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_core.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_core.dylib
-- Up-to-date: /usr/local/include/opencv2/core/core.hpp
-- Up-to-date: /usr/local/include/opencv2/core/cuda_devptrs.hpp
-- Up-to-date: /usr/local/include/opencv2/core/devmem2d.hpp
-- Up-to-date: /usr/local/include/opencv2/core/eigen.hpp
-- Up-to-date: /usr/local/include/opencv2/core/gpumat.hpp
-- Up-to-date: /usr/local/include/opencv2/core/internal.hpp
-- Up-to-date: /usr/local/include/opencv2/core/mat.hpp
-- Up-to-date: /usr/local/include/opencv2/core/opengl_interop.hpp
-- Up-to-date: /usr/local/include/opencv2/core/opengl_interop_deprecated.hpp
-- Up-to-date: /usr/local/include/opencv2/core/operations.hpp
-- Up-to-date: /usr/local/include/opencv2/core/version.hpp
-- Up-to-date: /usr/local/include/opencv2/core/wimage.hpp
-- Up-to-date: /usr/local/include/opencv2/core/core_c.h
-- Up-to-date: /usr/local/include/opencv2/core/types_c.h
-- Installing: /usr/local/lib/libopencv_imgproc.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_imgproc.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_imgproc.dylib
-- Up-to-date: /usr/local/include/opencv2/imgproc/imgproc.hpp
-- Up-to-date: /usr/local/include/opencv2/imgproc/imgproc_c.h
-- Up-to-date: /usr/local/include/opencv2/imgproc/types_c.h
-- Installing: /usr/local/lib/libopencv_flann.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_flann.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_flann.dylib
-- Up-to-date: /usr/local/include/opencv2/flann/flann.hpp
-- Up-to-date: /usr/local/include/opencv2/flann/flann_base.hpp
-- Up-to-date: /usr/local/include/opencv2/flann/miniflann.hpp
-- Up-to-date: /usr/local/include/opencv2/flann/all_indices.h
-- Up-to-date: /usr/local/include/opencv2/flann/allocator.h
-- Up-to-date: /usr/local/include/opencv2/flann/any.h
-- Up-to-date: /usr/local/include/opencv2/flann/autotuned_index.h
-- Up-to-date: /usr/local/include/opencv2/flann/composite_index.h
-- Up-to-date: /usr/local/include/opencv2/flann/config.h
-- Up-to-date: /usr/local/include/opencv2/flann/defines.h
-- Up-to-date: /usr/local/include/opencv2/flann/dist.h
-- Up-to-date: /usr/local/include/opencv2/flann/dummy.h
-- Up-to-date: /usr/local/include/opencv2/flann/dynamic_bitset.h
-- Up-to-date: /usr/local/include/opencv2/flann/general.h
-- Up-to-date: /usr/local/include/opencv2/flann/ground_truth.h
-- Up-to-date: /usr/local/include/opencv2/flann/hdf5.h
-- Up-to-date: /usr/local/include/opencv2/flann/heap.h
-- Up-to-date: /usr/local/include/opencv2/flann/hierarchical_clustering_index.h
-- Up-to-date: /usr/local/include/opencv2/flann/index_testing.h
-- Up-to-date: /usr/local/include/opencv2/flann/kdtree_index.h
-- Up-to-date: /usr/local/include/opencv2/flann/kdtree_single_index.h
-- Up-to-date: /usr/local/include/opencv2/flann/kmeans_index.h
-- Up-to-date: /usr/local/include/opencv2/flann/linear_index.h
-- Up-to-date: /usr/local/include/opencv2/flann/logger.h
-- Up-to-date: /usr/local/include/opencv2/flann/lsh_index.h
-- Up-to-date: /usr/local/include/opencv2/flann/lsh_table.h
-- Up-to-date: /usr/local/include/opencv2/flann/matrix.h
-- Up-to-date: /usr/local/include/opencv2/flann/nn_index.h
-- Up-to-date: /usr/local/include/opencv2/flann/object_factory.h
-- Up-to-date: /usr/local/include/opencv2/flann/params.h
-- Up-to-date: /usr/local/include/opencv2/flann/random.h
-- Up-to-date: /usr/local/include/opencv2/flann/result_set.h
-- Up-to-date: /usr/local/include/opencv2/flann/sampling.h
-- Up-to-date: /usr/local/include/opencv2/flann/saving.h
-- Up-to-date: /usr/local/include/opencv2/flann/simplex_downhill.h
-- Up-to-date: /usr/local/include/opencv2/flann/timer.h
-- Installing: /usr/local/lib/libopencv_highgui.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_highgui.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_highgui.dylib
-- Up-to-date: /usr/local/include/opencv2/highgui/highgui.hpp
-- Up-to-date: /usr/local/include/opencv2/highgui/cap_ios.h
-- Up-to-date: /usr/local/include/opencv2/highgui/highgui_c.h
-- Installing: /usr/local/lib/libopencv_features2d.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_features2d.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_features2d.dylib
-- Up-to-date: /usr/local/include/opencv2/features2d/features2d.hpp
-- Installing: /usr/local/lib/libopencv_calib3d.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_calib3d.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_calib3d.dylib
-- Up-to-date: /usr/local/include/opencv2/calib3d/calib3d.hpp
-- Installing: /usr/local/lib/libopencv_ml.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_ml.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_ml.dylib
-- Up-to-date: /usr/local/include/opencv2/ml/ml.hpp
-- Installing: /usr/local/lib/libopencv_video.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_video.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_video.dylib
-- Up-to-date: /usr/local/include/opencv2/video/background_segm.hpp
-- Up-to-date: /usr/local/include/opencv2/video/tracking.hpp
-- Up-to-date: /usr/local/include/opencv2/video/video.hpp
-- Installing: /usr/local/lib/libopencv_objdetect.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_objdetect.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_objdetect.dylib
-- Up-to-date: /usr/local/include/opencv2/objdetect/objdetect.hpp
-- Installing: /usr/local/lib/libopencv_contrib.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_contrib.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_contrib.dylib
-- Up-to-date: /usr/local/include/opencv2/contrib/contrib.hpp
-- Up-to-date: /usr/local/include/opencv2/contrib/detection_based_tracker.hpp
-- Up-to-date: /usr/local/include/opencv2/contrib/hybridtracker.hpp
-- Up-to-date: /usr/local/include/opencv2/contrib/openfabmap.hpp
-- Up-to-date: /usr/local/include/opencv2/contrib/retina.hpp
-- Installing: /usr/local/lib/libopencv_nonfree.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_nonfree.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_nonfree.dylib
-- Up-to-date: /usr/local/include/opencv2/nonfree/features2d.hpp
-- Up-to-date: /usr/local/include/opencv2/nonfree/nonfree.hpp
-- Installing: /usr/local/lib/libopencv_photo.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_photo.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_photo.dylib
-- Up-to-date: /usr/local/include/opencv2/photo/photo.hpp
-- Up-to-date: /usr/local/include/opencv2/photo/photo_c.h
-- Installing: /usr/local/lib/libopencv_legacy.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_legacy.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_legacy.dylib
-- Up-to-date: /usr/local/include/opencv2/legacy/blobtrack.hpp
-- Up-to-date: /usr/local/include/opencv2/legacy/compat.hpp
-- Up-to-date: /usr/local/include/opencv2/legacy/legacy.hpp
-- Up-to-date: /usr/local/include/opencv2/legacy/streams.hpp
-- Installing: /usr/local/lib/libopencv_gpu.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_gpu.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_gpu.dylib
-- Up-to-date: /usr/local/include/opencv2/gpu/devmem2d.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/gpu.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/gpumat.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/stream_accessor.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/block.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/border_interpolate.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/color.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/common.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/datamov_utils.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/dynamic_smem.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/emulation.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/filters.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/funcattrib.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/functional.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/limits.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/reduce.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/saturate_cast.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/scan.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/static_check.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/transform.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/type_traits.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/utility.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/vec_distance.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/vec_math.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/vec_traits.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/warp.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/warp_reduce.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/warp_shuffle.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/detail/color_detail.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/detail/reduce.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/detail/reduce_key_val.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/detail/transform_detail.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/detail/type_traits_detail.hpp
-- Up-to-date: /usr/local/include/opencv2/gpu/device/detail/vec_distance_detail.hpp
-- Up-to-date: /usr/local/share/OpenCV/java/opencv-244.jar
-- Installing: /usr/local/share/OpenCV/java/libopencv_java244.dylib
-- Installing: /usr/local/lib/python2.7/site-packages/cv2.so
-- Up-to-date: /usr/local/lib/python2.7/site-packages/cv.py
-- Installing: /usr/local/lib/libopencv_stitching.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_stitching.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_stitching.dylib
-- Up-to-date: /usr/local/include/opencv2/stitching/stitcher.hpp
-- Up-to-date: /usr/local/include/opencv2/stitching/warpers.hpp
-- Up-to-date: /usr/local/include/opencv2/stitching/detail/autocalib.hpp
-- Up-to-date: /usr/local/include/opencv2/stitching/detail/blenders.hpp
-- Up-to-date: /usr/local/include/opencv2/stitching/detail/camera.hpp
-- Up-to-date: /usr/local/include/opencv2/stitching/detail/exposure_compensate.hpp
-- Up-to-date: /usr/local/include/opencv2/stitching/detail/matchers.hpp
-- Up-to-date: /usr/local/include/opencv2/stitching/detail/motion_estimators.hpp
-- Up-to-date: /usr/local/include/opencv2/stitching/detail/seam_finders.hpp
-- Up-to-date: /usr/local/include/opencv2/stitching/detail/util.hpp
-- Up-to-date: /usr/local/include/opencv2/stitching/detail/util_inl.hpp
-- Up-to-date: /usr/local/include/opencv2/stitching/detail/warpers.hpp
-- Up-to-date: /usr/local/include/opencv2/stitching/detail/warpers_inl.hpp
-- Installing: /usr/local/lib/libopencv_ts.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_ts.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_ts.dylib
-- Up-to-date: /usr/local/include/opencv2/ts/ts.hpp
-- Up-to-date: /usr/local/include/opencv2/ts/ts_perf.hpp
-- Up-to-date: /usr/local/include/opencv2/ts/ts_gtest.h
-- Installing: /usr/local/lib/libopencv_videostab.2.4.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_videostab.2.4.dylib
-- Up-to-date: /usr/local/lib/libopencv_videostab.dylib
-- Up-to-date: /usr/local/include/opencv2/videostab/deblurring.hpp
-- Up-to-date: /usr/local/include/opencv2/videostab/fast_marching.hpp
-- Up-to-date: /usr/local/include/opencv2/videostab/fast_marching_inl.hpp
-- Up-to-date: /usr/local/include/opencv2/videostab/frame_source.hpp
-- Up-to-date: /usr/local/include/opencv2/videostab/global_motion.hpp
-- Up-to-date: /usr/local/include/opencv2/videostab/inpainting.hpp
-- Up-to-date: /usr/local/include/opencv2/videostab/log.hpp
-- Up-to-date: /usr/local/include/opencv2/videostab/motion_stabilizing.hpp
-- Up-to-date: /usr/local/include/opencv2/videostab/optical_flow.hpp
-- Up-to-date: /usr/local/include/opencv2/videostab/stabilizer.hpp
-- Up-to-date: /usr/local/include/opencv2/videostab/videostab.hpp
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_eye.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_eye_tree_eyeglasses.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_alt.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_alt2.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_alt_tree.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_default.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_fullbody.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_lefteye_2splits.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_lowerbody.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_eyepair_big.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_eyepair_small.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_leftear.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_lefteye.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_mouth.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_nose.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_rightear.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_righteye.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_mcs_upperbody.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_profileface.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_righteye_2splits.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_smile.xml
-- Up-to-date: /usr/local/share/OpenCV/haarcascades/haarcascade_upperbody.xml
-- Up-to-date: /usr/local/share/OpenCV/lbpcascades/lbpcascade_frontalface.xml
-- Up-to-date: /usr/local/share/OpenCV/lbpcascades/lbpcascade_profileface.xml
-- Up-to-date: /usr/local/share/OpenCV/lbpcascades/lbpcascade_silverware.xml
-- Installing: /usr/local/bin/opencv_haartraining
-- Installing: /usr/local/bin/opencv_createsamples
-- Installing: /usr/local/bin/opencv_performance
-- Installing: /usr/local/bin/opencv_traincascade
python
~/opencv-2.4.4/build $ python --version
Python 2.7.2
~/opencv-2.4.4/build $ python
Python 2.7.2 (default, Jun 20 2012, 16:23:33)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named cv
>>> import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named cv2