- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我知道还为时过早,但我已经升级到 OSX mavericks,我无法使用 Homebrew 安装 opencv。
==> Installing dependencies for opencv: cmake, pkg-config, libpng
==> Installing opencv dependency: cmake
==> Downloading http://www.cmake.org/files/v2.8/cmake-2.8.12.tar.gz
######################################################################## 100.0%
==> ./bootstrap --prefix=/usr/local/Cellar/cmake/2.8.12 --system-libs --no-system-libarchive --datadir=/shar
==> make
==> make install
Warning: Could not link cmake. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link cmake'
Possible conflicting files are:
/usr/local/bin/ctest -> /usr/local/Cellar/cmake/2.8.10.2/bin/ctest
/usr/local/bin/cpack -> /usr/local/Cellar/cmake/2.8.10.2/bin/cpack
/usr/local/bin/cmakexbuild -> /usr/local/Cellar/cmake/2.8.10.2/bin/cmakexbuild
/usr/local/bin/cmake -> /usr/local/Cellar/cmake/2.8.10.2/bin/cmake
/usr/local/bin/ccmake -> /usr/local/Cellar/cmake/2.8.10.2/bin/ccmake
/usr/local/share/man/man1/ctest.1 -> /usr/local/Cellar/cmake/2.8.10.2/share/man/man1/ctest.1
/usr/local/share/man/man1/cpack.1 -> /usr/local/Cellar/cmake/2.8.10.2/share/man/man1/cpack.1
/usr/local/share/man/man1/cmakevars.1 -> /usr/local/Cellar/cmake/2.8.10.2/share/man/man1/cmakevars.1
/usr/local/share/man/man1/cmakeprops.1 -> /usr/local/Cellar/cmake/2.8.10.2/share/man/man1/cmakeprops.1
/usr/local/share/man/man1/cmakepolicies.1 -> /usr/local/Cellar/cmake/2.8.10.2/share/man/man1/cmakepolicies.1
/usr/local/share/man/man1/cmakemodules.1 -> /usr/local/Cellar/cmake/2.8.10.2/share/man/man1/cmakemodules.1
/usr/local/share/man/man1/cmakecompat.1 -> /usr/local/Cellar/cmake/2.8.10.2/share/man/man1/cmakecompat.1
/usr/local/share/man/man1/cmakecommands.1 -> /usr/local/Cellar/cmake/2.8.10.2/share/man/man1/cmakecommands.1
/usr/local/share/man/man1/cmake.1 -> /usr/local/Cellar/cmake/2.8.10.2/share/man/man1/cmake.1
/usr/local/share/man/man1/ccmake.1 -> /usr/local/Cellar/cmake/2.8.10.2/share/man/man1/ccmake.1
/usr/local/share/doc/cmake -> /usr/local/Cellar/cmake/2.8.10.2/share/doc/cmake
/usr/local/share/cmake -> /usr/local/Cellar/cmake/2.8.10.2/share/cmake
/usr/local/share/aclocal/cmake.m4 -> /usr/local/Cellar/cmake/2.8.10.2/share/aclocal/cmake.m4
==> Summary
🍺 /usr/local/Cellar/cmake/2.8.12: 701 files, 36M, built in 4.5 minutes
==> Installing opencv dependency: pkg-config
==> Downloading http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/pkg-config/0.28 --disable-host-tool --with-internal-glib --with-p
==> make
==> make check
==> make install
Warning: Could not link pkg-config. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link pkg-config'
Possible conflicting files are:
/usr/local/bin/pkg-config -> /usr/local/Cellar/pkg-config/0.27.1/bin/pkg-config
/usr/local/share/man/man1/pkg-config.1 -> /usr/local/Cellar/pkg-config/0.27.1/share/man/man1/pkg-config.1
/usr/local/share/doc/pkg-config -> /usr/local/Cellar/pkg-config/0.27.1/share/doc/pkg-config
/usr/local/share/aclocal/pkg.m4 -> /usr/local/Cellar/pkg-config/0.27.1/share/aclocal/pkg.m4
==> Summary
🍺 /usr/local/Cellar/pkg-config/0.28: 10 files, 604K, built in 60 seconds
==> Installing opencv dependency: libpng
==> Downloading http://downloads.sf.net/project/libpng/libpng15/older-releases/1.5.14/libpng-1.5.14.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libpng/1.5.14
==> make install
Warning: Could not link libpng. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link libpng'
Possible conflicting files are:
/usr/local/bin/libpng15-config -> /usr/local/Cellar/libpng/1.5.13/bin/libpng15-config
/usr/local/bin/libpng-config -> /usr/local/Cellar/libpng/1.5.13/bin/libpng-config
/usr/local/include/pnglibconf.h -> /usr/local/Cellar/libpng/1.5.13/include/pnglibconf.h
/usr/local/include/pngconf.h -> /usr/local/Cellar/libpng/1.5.13/include/pngconf.h
/usr/local/include/png.h -> /usr/local/Cellar/libpng/1.5.13/include/png.h
/usr/local/include/libpng15 -> /usr/local/Cellar/libpng/1.5.13/include/libpng15
/usr/local/share/man/man5/png.5 -> /usr/local/Cellar/libpng/1.5.13/share/man/man5/png.5
/usr/local/share/man/man3/libpngpf.3 -> /usr/local/Cellar/libpng/1.5.13/share/man/man3/libpngpf.3
/usr/local/share/man/man3/libpng.3 -> /usr/local/Cellar/libpng/1.5.13/share/man/man3/libpng.3
/usr/local/lib/pkgconfig/libpng15.pc -> /usr/local/Cellar/libpng/1.5.13/lib/pkgconfig/libpng15.pc
/usr/local/lib/pkgconfig/libpng.pc -> /usr/local/Cellar/libpng/1.5.13/lib/pkgconfig/libpng.pc
/usr/local/lib/libpng15.dylib -> /usr/local/Cellar/libpng/1.5.13/lib/libpng15.dylib
/usr/local/lib/libpng15.a -> /usr/local/Cellar/libpng/1.5.13/lib/libpng15.a
/usr/local/lib/libpng15.15.dylib -> /usr/local/Cellar/libpng/1.5.13/lib/libpng15.15.dylib
/usr/local/lib/libpng.dylib -> /usr/local/Cellar/libpng/1.5.13/lib/libpng.dylib
/usr/local/lib/libpng.a -> /usr/local/Cellar/libpng/1.5.13/lib/libpng.a
==> Summary
🍺 /usr/local/Cellar/libpng/1.5.14: 15 files, 1.0M, built in 11 seconds
==> Installing opencv
==> Downloading http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.6.1/opencv-2.4.6.1.ta
######################################################################## 100.0%
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/opencv/2.4.6.1 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAME
==> make
==> make install
==> Caveats
For non-homebrew python (2.x), you need to amend your PYTHONPATH like so:
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
Warning: Could not link opencv. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link opencv'
Possible conflicting files are:
/usr/local/bin/opencv_traincascade
/usr/local/bin/opencv_performance
/usr/local/bin/opencv_haartraining
/usr/local/bin/opencv_createsamples
/usr/local/include/opencv2/videostab/videostab.hpp
/usr/local/include/opencv2/videostab/stabilizer.hpp
/usr/local/include/opencv2/videostab/optical_flow.hpp
/usr/local/include/opencv2/videostab/motion_stabilizing.hpp
/usr/local/include/opencv2/videostab/log.hpp
/usr/local/include/opencv2/videostab/inpainting.hpp
/usr/local/include/opencv2/videostab/global_motion.hpp
/usr/local/include/opencv2/videostab/frame_source.hpp
/usr/local/include/opencv2/videostab/fast_marching_inl.hpp
/usr/local/include/opencv2/videostab/fast_marching.hpp
/usr/local/include/opencv2/videostab/deblurring.hpp
/usr/local/include/opencv2/video/video.hpp
/usr/local/include/opencv2/video/tracking.hpp
/usr/local/include/opencv2/video/background_segm.hpp
/usr/local/include/opencv2/ts/ts_perf.hpp
/usr/local/include/opencv2/ts/ts_gtest.h
/usr/local/include/opencv2/ts/ts.hpp
/usr/local/include/opencv2/ts/gpu_test.hpp
/usr/local/include/opencv2/ts/gpu_perf.hpp
/usr/local/include/opencv2/superres/superres.hpp
/usr/local/include/opencv2/superres/optical_flow.hpp
/usr/local/include/opencv2/stitching/warpers.hpp
/usr/local/include/opencv2/stitching/stitcher.hpp
/usr/local/include/opencv2/stitching/detail/warpers_inl.hpp
/usr/local/include/opencv2/stitching/detail/warpers.hpp
/usr/local/include/opencv2/stitching/detail/util_inl.hpp
/usr/local/include/opencv2/stitching/detail/util.hpp
/usr/local/include/opencv2/stitching/detail/seam_finders.hpp
/usr/local/include/opencv2/stitching/detail/motion_estimators.hpp
/usr/local/include/opencv2/stitching/detail/matchers.hpp
/usr/local/include/opencv2/stitching/detail/exposure_compensate.hpp
/usr/local/include/opencv2/stitching/detail/camera.hpp
/usr/local/include/opencv2/stitching/detail/blenders.hpp
/usr/local/include/opencv2/stitching/detail/autocalib.hpp
/usr/local/include/opencv2/photo/photo_c.h
/usr/local/include/opencv2/photo/photo.hpp
/usr/local/include/opencv2/opencv_modules.hpp
/usr/local/include/opencv2/opencv.hpp
/usr/local/include/opencv2/ocl/ocl.hpp
/usr/local/include/opencv2/ocl/matrix_operations.hpp
/usr/local/include/opencv2/objdetect/objdetect.hpp
/usr/local/include/opencv2/nonfree/ocl.hpp
/usr/local/include/opencv2/nonfree/nonfree.hpp
/usr/local/include/opencv2/nonfree/gpu.hpp
/usr/local/include/opencv2/nonfree/features2d.hpp
/usr/local/include/opencv2/ml/ml.hpp
/usr/local/include/opencv2/legacy/streams.hpp
/usr/local/include/opencv2/legacy/legacy.hpp
/usr/local/include/opencv2/legacy/compat.hpp
/usr/local/include/opencv2/legacy/blobtrack.hpp
/usr/local/include/opencv2/imgproc/types_c.h
/usr/local/include/opencv2/imgproc/imgproc_c.h
/usr/local/include/opencv2/imgproc/imgproc.hpp
/usr/local/include/opencv2/highgui/highgui_c.h
/usr/local/include/opencv2/highgui/highgui.hpp
/usr/local/include/opencv2/highgui/cap_ios.h
/usr/local/include/opencv2/gpu/stream_accessor.hpp
/usr/local/include/opencv2/gpu/gpumat.hpp
/usr/local/include/opencv2/gpu/gpu.hpp
/usr/local/include/opencv2/gpu/devmem2d.hpp
/usr/local/include/opencv2/gpu/device/warp_shuffle.hpp
/usr/local/include/opencv2/gpu/device/warp_reduce.hpp
/usr/local/include/opencv2/gpu/device/warp.hpp
/usr/local/include/opencv2/gpu/device/vec_traits.hpp
/usr/local/include/opencv2/gpu/device/vec_math.hpp
/usr/local/include/opencv2/gpu/device/vec_distance.hpp
/usr/local/include/opencv2/gpu/device/utility.hpp
/usr/local/include/opencv2/gpu/device/type_traits.hpp
/usr/local/include/opencv2/gpu/device/transform.hpp
/usr/local/include/opencv2/gpu/device/static_check.hpp
/usr/local/include/opencv2/gpu/device/simd_functions.hpp
/usr/local/include/opencv2/gpu/device/scan.hpp
/usr/local/include/opencv2/gpu/device/saturate_cast.hpp
/usr/local/include/opencv2/gpu/device/reduce.hpp
/usr/local/include/opencv2/gpu/device/limits.hpp
/usr/local/include/opencv2/gpu/device/functional.hpp
/usr/local/include/opencv2/gpu/device/funcattrib.hpp
/usr/local/include/opencv2/gpu/device/filters.hpp
/usr/local/include/opencv2/gpu/device/emulation.hpp
/usr/local/include/opencv2/gpu/device/dynamic_smem.hpp
/usr/local/include/opencv2/gpu/device/detail/vec_distance_detail.hpp
/usr/local/include/opencv2/gpu/device/detail/type_traits_detail.hpp
/usr/local/include/opencv2/gpu/device/detail/transform_detail.hpp
/usr/local/include/opencv2/gpu/device/detail/reduce_key_val.hpp
/usr/local/include/opencv2/gpu/device/detail/reduce.hpp
/usr/local/include/opencv2/gpu/device/detail/color_detail.hpp
/usr/local/include/opencv2/gpu/device/datamov_utils.hpp
/usr/local/include/opencv2/gpu/device/common.hpp
/usr/local/include/opencv2/gpu/device/color.hpp
/usr/local/include/opencv2/gpu/device/border_interpolate.hpp
/usr/local/include/opencv2/gpu/device/block.hpp
/usr/local/include/opencv2/flann/timer.h
/usr/local/include/opencv2/flann/simplex_downhill.h
/usr/local/include/opencv2/flann/saving.h
/usr/local/include/opencv2/flann/sampling.h
/usr/local/include/opencv2/flann/result_set.h
/usr/local/include/opencv2/flann/random.h
/usr/local/include/opencv2/flann/params.h
/usr/local/include/opencv2/flann/object_factory.h
/usr/local/include/opencv2/flann/nn_index.h
/usr/local/include/opencv2/flann/miniflann.hpp
/usr/local/include/opencv2/flann/matrix.h
/usr/local/include/opencv2/flann/lsh_table.h
/usr/local/include/opencv2/flann/lsh_index.h
/usr/local/include/opencv2/flann/logger.h
/usr/local/include/opencv2/flann/linear_index.h
/usr/local/include/opencv2/flann/kmeans_index.h
/usr/local/include/opencv2/flann/kdtree_single_index.h
/usr/local/include/opencv2/flann/kdtree_index.h
/usr/local/include/opencv2/flann/index_testing.h
/usr/local/include/opencv2/flann/hierarchical_clustering_index.h
/usr/local/include/opencv2/flann/heap.h
/usr/local/include/opencv2/flann/hdf5.h
/usr/local/include/opencv2/flann/ground_truth.h
/usr/local/include/opencv2/flann/general.h
/usr/local/include/opencv2/flann/flann_base.hpp
/usr/local/include/opencv2/flann/flann.hpp
/usr/local/include/opencv2/flann/dynamic_bitset.h
/usr/local/include/opencv2/flann/dummy.h
/usr/local/include/opencv2/flann/dist.h
/usr/local/include/opencv2/flann/defines.h
/usr/local/include/opencv2/flann/config.h
/usr/local/include/opencv2/flann/composite_index.h
/usr/local/include/opencv2/flann/autotuned_index.h
/usr/local/include/opencv2/flann/any.h
/usr/local/include/opencv2/flann/allocator.h
/usr/local/include/opencv2/flann/all_indices.h
/usr/local/include/opencv2/features2d/features2d.hpp
/usr/local/include/opencv2/core/wimage.hpp
/usr/local/include/opencv2/core/version.hpp
/usr/local/include/opencv2/core/types_c.h
/usr/local/include/opencv2/core/operations.hpp
/usr/local/include/opencv2/core/opengl_interop_deprecated.hpp
/usr/local/include/opencv2/core/opengl_interop.hpp
/usr/local/include/opencv2/core/mat.hpp
/usr/local/include/opencv2/core/internal.hpp
/usr/local/include/opencv2/core/gpumat.hpp
/usr/local/include/opencv2/core/eigen.hpp
/usr/local/include/opencv2/core/devmem2d.hpp
/usr/local/include/opencv2/core/cuda_devptrs.hpp
/usr/local/include/opencv2/core/core_c.h
/usr/local/include/opencv2/core/core.hpp
/usr/local/include/opencv2/contrib/retina.hpp
/usr/local/include/opencv2/contrib/openfabmap.hpp
/usr/local/include/opencv2/contrib/hybridtracker.hpp
/usr/local/include/opencv2/contrib/detection_based_tracker.hpp
/usr/local/include/opencv2/contrib/contrib.hpp
/usr/local/include/opencv2/calib3d/calib3d.hpp
/usr/local/include/opencv/ml.h
/usr/local/include/opencv/highgui.h
/usr/local/include/opencv/cxmisc.h
/usr/local/include/opencv/cxeigen.hpp
/usr/local/include/opencv/cxcore.hpp
/usr/local/include/opencv/cxcore.h
/usr/local/include/opencv/cvwimage.h
/usr/local/include/opencv/cvaux.hpp
/usr/local/include/opencv/cvaux.h
/usr/local/include/opencv/cv.hpp
/usr/local/include/opencv/cv.h
/usr/local/share/OpenCV/OpenCVConfig.cmake
/usr/local/share/OpenCV/OpenCVConfig-version.cmake
/usr/local/share/OpenCV/lbpcascades/lbpcascade_silverware.xml
/usr/local/share/OpenCV/lbpcascades/lbpcascade_profileface.xml
/usr/local/share/OpenCV/lbpcascades/lbpcascade_frontalface.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_upperbody.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_smile.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_righteye_2splits.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_profileface.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_mcs_upperbody.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_mcs_righteye.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_mcs_rightear.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_mcs_nose.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_mcs_mouth.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_mcs_lefteye.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_mcs_leftear.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_mcs_eyepair_small.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_mcs_eyepair_big.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_lowerbody.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_lefteye_2splits.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_fullbody.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_default.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_alt_tree.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_alt2.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_alt.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_eye_tree_eyeglasses.xml
/usr/local/share/OpenCV/haarcascades/haarcascade_eye.xml
/usr/local/lib/python2.7/site-packages/cv2.so
/usr/local/lib/python2.7/site-packages/cv.py
/usr/local/lib/pkgconfig/opencv.pc
/usr/local/lib/libopencv_videostab.dylib -> /usr/local/lib/libopencv_videostab.2.4.dylib
/usr/local/lib/libopencv_videostab.2.4.dylib -> /usr/local/lib/libopencv_videostab.2.4.5.dylib
/usr/local/lib/libopencv_video.dylib -> /usr/local/lib/libopencv_video.2.4.dylib
/usr/local/lib/libopencv_video.2.4.dylib -> /usr/local/lib/libopencv_video.2.4.5.dylib
/usr/local/lib/libopencv_ts.dylib -> /usr/local/lib/libopencv_ts.2.4.dylib
/usr/local/lib/libopencv_ts.2.4.dylib -> /usr/local/lib/libopencv_ts.2.4.5.dylib
/usr/local/lib/libopencv_superres.dylib -> /usr/local/lib/libopencv_superres.2.4.dylib
/usr/local/lib/libopencv_superres.2.4.dylib -> /usr/local/lib/libopencv_superres.2.4.5.dylib
/usr/local/lib/libopencv_stitching.dylib -> /usr/local/lib/libopencv_stitching.2.4.dylib
/usr/local/lib/libopencv_stitching.2.4.dylib -> /usr/local/lib/libopencv_stitching.2.4.5.dylib
/usr/local/lib/libopencv_photo.dylib -> /usr/local/lib/libopencv_photo.2.4.dylib
/usr/local/lib/libopencv_photo.2.4.dylib -> /usr/local/lib/libopencv_photo.2.4.5.dylib
/usr/local/lib/libopencv_ocl.dylib -> /usr/local/lib/libopencv_ocl.2.4.dylib
/usr/local/lib/libopencv_ocl.2.4.dylib -> /usr/local/lib/libopencv_ocl.2.4.5.dylib
/usr/local/lib/libopencv_objdetect.dylib -> /usr/local/lib/libopencv_objdetect.2.4.dylib
/usr/local/lib/libopencv_objdetect.2.4.dylib -> /usr/local/lib/libopencv_objdetect.2.4.5.dylib
/usr/local/lib/libopencv_nonfree.dylib -> /usr/local/lib/libopencv_nonfree.2.4.dylib
/usr/local/lib/libopencv_nonfree.2.4.dylib -> /usr/local/lib/libopencv_nonfree.2.4.5.dylib
/usr/local/lib/libopencv_ml.dylib -> /usr/local/lib/libopencv_ml.2.4.dylib
/usr/local/lib/libopencv_ml.2.4.dylib -> /usr/local/lib/libopencv_ml.2.4.5.dylib
/usr/local/lib/libopencv_legacy.dylib -> /usr/local/lib/libopencv_legacy.2.4.dylib
/usr/local/lib/libopencv_legacy.2.4.dylib -> /usr/local/lib/libopencv_legacy.2.4.5.dylib
/usr/local/lib/libopencv_imgproc.dylib -> /usr/local/lib/libopencv_imgproc.2.4.dylib
/usr/local/lib/libopencv_imgproc.2.4.dylib -> /usr/local/lib/libopencv_imgproc.2.4.5.dylib
/usr/local/lib/libopencv_highgui.dylib -> /usr/local/lib/libopencv_highgui.2.4.dylib
/usr/local/lib/libopencv_highgui.2.4.dylib -> /usr/local/lib/libopencv_highgui.2.4.5.dylib
/usr/local/lib/libopencv_gpu.dylib -> /usr/local/lib/libopencv_gpu.2.4.dylib
/usr/local/lib/libopencv_gpu.2.4.dylib -> /usr/local/lib/libopencv_gpu.2.4.5.dylib
/usr/local/lib/libopencv_flann.dylib -> /usr/local/lib/libopencv_flann.2.4.dylib
/usr/local/lib/libopencv_flann.2.4.dylib -> /usr/local/lib/libopencv_flann.2.4.5.dylib
/usr/local/lib/libopencv_features2d.dylib -> /usr/local/lib/libopencv_features2d.2.4.dylib
/usr/local/lib/libopencv_features2d.2.4.dylib -> /usr/local/lib/libopencv_features2d.2.4.5.dylib
/usr/local/lib/libopencv_core.dylib -> /usr/local/lib/libopencv_core.2.4.dylib
/usr/local/lib/libopencv_core.2.4.dylib -> /usr/local/lib/libopencv_core.2.4.5.dylib
/usr/local/lib/libopencv_contrib.dylib -> /usr/local/lib/libopencv_contrib.2.4.dylib
/usr/local/lib/libopencv_contrib.2.4.dylib -> /usr/local/lib/libopencv_contrib.2.4.5.dylib
/usr/local/lib/libopencv_calib3d.dylib -> /usr/local/lib/libopencv_calib3d.2.4.dylib
/usr/local/lib/libopencv_calib3d.2.4.dylib -> /usr/local/lib/libopencv_calib3d.2.4.5.dylib
Error: undefined method `unlink' for nil:NilClass
Please report this bug:
https://github.com/mxcl/homebrew/wiki/troubleshooting
/usr/local/Library/Homebrew/formula_installer.rb:537:in `record_cxx_stdlib'
/usr/local/Library/Homebrew/formula_installer.rb:389:in `finish'
/usr/local/Library/Homebrew/cmd/install.rb:90:in `install_formula'
/usr/local/Library/Homebrew/cmd/install.rb:31:in `install'
/usr/local/Library/Homebrew/cmd/install.rb:29:in `each'
/usr/local/Library/Homebrew/cmd/install.rb:29:in `install'
/usr/local/Library/brew.rb:95:in `send'
/usr/local/Library/brew.rb:95
有人可以帮忙吗?
更新:手动链接文件并尝试再次安装 opencv 后,我得到了这个:
==> Downloading http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.6.1/opencv-2.4.6.1.ta
Already downloaded: /Library/Caches/Homebrew/opencv-2.4.6.1.tar.gz
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/opencv/2.4.6.1 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAME
==> make
/usr/local/Library/ENV/4.3/c++ -fsigned-char -W -Wall -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 -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 2.4.0 -current_version 2.4.6 -o ../../lib/libopencv_stitching.2.4.6.dylib -install_name /tmp/opencv-4ERH/opencv-2.4.6.1/macbuild/lib/libopencv_stitching.2.4.dylib CMakeFiles/opencv_stitching.dir/src/autocalib.cpp.o CMakeFiles/opencv_stitching.dir/src/blenders.cpp.o CMakeFiles/opencv_stitching.dir/src/camera.cpp.o CMakeFiles/opencv_stitching.dir/src/exposure_compensate.cpp.o CMakeFiles/opencv_stitching.dir/src/matchers.cpp.o CMakeFiles/opencv_stitching.dir/src/motion_estimators.cpp.o CMakeFiles/opencv_stitching.dir/src/precomp.cpp.o CMakeFiles/opencv_stitching.dir/src/seam_finders.cpp.o CMakeFiles/opencv_stitching.dir/src/stitcher.cpp.o CMakeFiles/opencv_stitching.dir/src/util.cpp.o CMakeFiles/opencv_stitching.dir/src/warpers.cpp.o ../../lib/libopencv_core.2.4.6.dylib ../../lib/libopencv_imgproc.2.4.6.dylib ../../lib/libopencv_flann.2.4.6.dylib ../../lib/libopencv_highgui.2.4.6.dylib ../../lib/libopencv_features2d.2.4.6.dylib ../../lib/libopencv_calib3d.2.4.6.dylib ../../lib/libopencv_objdetect.2.4.6.dylib ../../lib/libopencv_video.2.4.6.dylib ../../lib/libopencv_photo.2.4.6.dylib ../../lib/libopencv_ml.2.4.6.dylib ../../lib/libopencv_legacy.2.4.6.dylib ../../lib/libopencv_gpu.2.4.6.dylib ../../lib/libopencv_ocl.2.4.6.dylib ../../lib/libopencv_nonfree.2.4.6.dylib -framework OpenCL ../../lib/libopencv_gpu.2.4.6.dylib ../../lib/libopencv_photo.2.4.6.dylib ../../lib/libopencv_legacy.2.4.6.dylib ../../lib/libopencv_ml.2.4.6.dylib ../../lib/libopencv_ocl.2.4.6.dylib ../../lib/libopencv_calib3d.2.4.6.dylib ../../lib/libopencv_features2d.2.4.6.dylib ../../lib/libopencv_flann.2.4.6.dylib ../../lib/libopencv_objdetect.2.4.6.dylib ../../lib/libopencv_highgui.2.4.6.dylib ../../lib/libopencv_video.2.4.6.dylib ../../lib/libopencv_imgproc.2.4.6.dylib ../../lib/libopencv_core.2.4.6.dylib /usr/lib/libz.dylib -framework OpenCL
cd /tmp/opencv-4ERH/opencv-2.4.6.1/macbuild/modules/stitching && /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_symlink_library ../../lib/libopencv_stitching.2.4.6.dylib ../../lib/libopencv_stitching.2.4.dylib ../../lib/libopencv_stitching.dylib
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/opencv-4ERH/opencv-2.4.6.1/macbuild/CMakeFiles 92
[100%] Built target opencv_stitching
make: *** [all] Error 2
最佳答案
通过安装苹果提供的命令行工具(通过 Xcode 或通过 developer's site),我能够在全新安装的 mavericks 上安装 opencv,使用 cmake installer安装 cmake,然后获取 opencv2.4.3 source并运行以下命令:
tar -xf opencv-2.4.3.tar.gz
cd opencv-2.4.3
echo "#define GTEST_USE_OWN_TR1_TUPLE 1" | cat > temp1
cat modules/ts/include/opencv2/ts/ts_gtest.h > temp2
cat temp1 temp2 > modules/ts/include/opencv2/ts/ts_gtest.h
mkdir build
cd build
cmake .. -Wno-dev
make -j8 && sudo make install
关于opencv for python on mavericks,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19537206/
我正在尝试从我的系统中完全删除 opencv。我试图学习 ROS,而在教程中我遇到了一个问题。创建空工作区后,我调用catkin_make 它给出了一个常见错误,我在 answers.ros 中搜索并
我在尝试逐步转移对warpAffine的调用时遇到崩溃(不是异常): void rotateImage( const Mat& source, double degree, Mat& output )
如何处理opencv gpu异常?是否有用于opencvgpu异常处理的特定错误代码集api? 我尝试了很多搜索,但只有1个错误代码,即CV_GpuNotSupported。 请帮帮我。 最佳答案 虽
笔记 我是 OpenCV(或计算机视觉)的新手,所以告诉我搜索查询会很有帮助! 我想问什么 我想编写一个从图片中提取名片的程序。 我能够提取粗略的轮廓,但反射光会变成噪点,我无法提取准确的轮廓。请告诉
我想根据像素的某个阈值将Mono16类型的Mat转换为二进制图像。我尝试使用以下内容: 阈值(img,ret,0.1,1,CV_THRESH_BINARY); 尝试编译时,出现make错误,提示: 错
我对使用GPU加速的OpenCV中的卷积函数有疑问。 使用GPU的卷积速度大约快3.5 运行时: convolve(src_32F, kernel, cresult, false, cbuffer);
我正在尝试使用非对称圆圈网格执行相机校准。 我通常找不到适合CirclesGridFinder的文档,尤其是findHoles()函数的文档。 如果您有关于此功能如何工作以及其参数含义的信息,将不胜感
在计算机上绘图和在 OpenCV 的投影仪上投影之间有什么区别吗? 一种选择是投影显示所有内容的计算机屏幕。但也许也有这样的选择,即在投影仪上精确地绘制和投影图像,仅使用计算机作为计算机器。如果我能做
我将Processing(processing.org)用于需要人脸跟踪的项目。现在的问题是由于for循环,程序将耗尽内存。我想停止循环或至少解决内存不足的问题。这是代码。 import hyperm
我有下面的代码: // Image Processing.cpp : Defines the entry point for the console application. // //Save
我正在为某些项目使用opencv。并有应解决的任务。 任务很简单。我有一张主图片,并且有一个模板,而不是将主图片与模板进行比较。我使用matchTemplate()函数。我只是好奇一下。 在文档中,我
我正在尝试使用以下命令创建级联分类器: haartraining -data haarcascade -vec samples.vec -bg negatives.dat -nstages 20 -n
我试图使用OpenCV检测黑色图像中一组形状的颜色,为此我使用了Canny检测。但是,颜色输出总是返回为黑色。 std::vector > Asteroids::DetectPoints(const
我正在尝试使用OpenCv 2.4.5从边缘查找渐变方向,但是我在使用cvSobel()时遇到问题,以下是错误消息和我的代码。我在某处读到它可能是由于浮点(??)之间的转换,但我不知道如何解决它。有帮
我正在尝试构建循环关闭算法,但是在开始开发之前,我想测试哪种功能描述符在真实数据集上效果更好。 我有两个在两个方向拍摄的走廊图像,一个进入房间,另一个离开同一个房间。因此它们代表相同的场景,但具有2个
有没有一种方法可以比较直方图,但例如要排除白色,因此白色不会影响比较。 最佳答案 白色像素有 饱和度 , S = 0 .因此,在创建直方图时很容易从计数中删除白色像素。请执行下列操作: 从 BGR 转
就像本主题的标题一样,如何在OpenCV中确定图像的特定像素(灰度或彩色)是否饱和(例如,亮度过高)? 先感谢您。 最佳答案 根据定义,饱和像素是指与强度(即灰度值或颜色分量之一)等于255相关联的像
我是OpenCV的新用户,正在从事大学项目。程序会获取输入图像,对其进行综合模糊处理,然后对其进行模糊处理。当对合成模糊图像进行反卷积时,会生成边界伪像,因为...好吧,到目前为止,我还没有实现边界条
我想知道OpenCV是haar特征还是lbp是在多尺度搜索过程中缩放图像还是像论文中提到的那样缩放特征本身? 编辑:事实证明,检测器可以缩放图像,而不是功能。有人知道为什么吗?通过缩放功能可以更快。
我在openCv中使用SVM.train命令(已定义了适当的参数)。接下来,我要使用我的算法进行分类,而不是使用svm.predict。 可能吗?我可以访问训练时生成的支持 vector 吗?如果是这
我是一名优秀的程序员,十分优秀!