I made the mistake of updating to os x 10.9, too early in the morning and way to soon after its release. Then to compound it i brew uninstalled opencv then tried to reinstall it so it would use a new library. now it fails.
THis is the wonderfully helpful:) error message and backtrace. I can't find anything that makes sense as to why it's failing.
any pointers would be much appreciated.
enter code here
/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 -pthread -fomit-frame-pointer -msse -msse2 -msse3 -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 2.4.0 -current_version 2.4.6 -o ../../lib/libopencv_video.2.4.6.dylib -install_name /tmp/opencv-IuRF/opencv-2.4.6.1/macbuild/lib/libopencv_video.2.4.dylib
cmakeFiles/opencv_video.dir/src/bgfg_gaussmix.cpp.o
cmakeFiles/opencv_video.dir/src/bgfg_gaussmix2.cpp.o
cmakeFiles/opencv_video.dir/src/bgfg_gmg.cpp.o
cmakeFiles/opencv_video.dir/src/camshift.cpp.o
cmakeFiles/opencv_video.dir/src/kalman.cpp.o
cmakeFiles/opencv_video.dir/src/lkpyramid.cpp.o
cmakeFiles/opencv_video.dir/src/motempl.cpp.o
cmakeFiles/opencv_video.dir/src/optflowgf.cpp.o
cmakeFiles/opencv_video.dir/src/precomp.cpp.o
cmakeFiles/opencv_video.dir/src/simpleflow.cpp.o
cmakeFiles/opencv_video.dir/src/tvl1flow.cpp.o
cmakeFiles/opencv_video.dir/src/video_init.cpp.o ../../lib/libopencv_core.2.4.6.dylib ../../lib/libopencv_imgproc.2.4.6.dylib -framework OpenCL ../../lib/libopencv_core.2.4.6.dylib /usr/lib/libz.dylib -framework OpenCL
cd /tmp/opencv-IuRF/opencv-2.4.6.1/macbuild/modules/video && /usr/local/Cellar/cmake/2.8.12/bin/cmake -E
cmake_symlink_library ../../lib/libopencv_video.2.4.6.dylib ../../lib/libopencv_video.2.4.dylib ../../lib/libopencv_video.dylib
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E
cmake_progress_report /tmp/opencv-IuRF/opencv-2.4.6.1/macbuild/CMakeFiles 97 98
[ 42%] Built target opencv_video
make: *** [all] Error 2
/usr/local/Library/Homebrew/formula.rb:606:in `system'
/usr/local/Library/Formula/opencv.rb:60:in `install'
/usr/local/Library/Homebrew/extend/fileutils.rb:33:in `mkdir'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:121:in `chdir'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:121:in `chdir'
/usr/local/Library/Homebrew/extend/fileutils.rb:32:in `mkdir'
/usr/local/Library/Formula/opencv.rb:58:in `install'
/usr/local/Library/Homebrew/build.rb:165:in `install'
/usr/local/Library/Homebrew/formula.rb:266:in `brew'
/usr/local/Library/Homebrew/formula.rb:617:in `stage'
/usr/local/Library/Homebrew/resource.rb:56:in `stage'
/usr/local/Library/Homebrew/extend/fileutils.rb:21:in `mktemp'
/usr/local/Library/Homebrew/resource.rb:53:in `stage'
(__FORWARDABLE__):3:in `__send__'
(__FORWARDABLE__):3:in `stage'
/usr/local/Library/Homebrew/formula.rb:615:in `stage'
/usr/local/Library/Homebrew/formula.rb:261:in `brew'
/usr/local/Library/Homebrew/build.rb:144:in `install'
/usr/local/Library/Homebrew/build.rb:45:in `main'
/usr/local/Library/Homebrew/build.rb:12
/usr/local/Library/Formula/opencv.rb:66e here