Created
April 17, 2014 00:16
-
-
Save davidzhao/10944135 to your computer and use it in GitHub Desktop.
opencv build error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 25%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_qtkit.mm.o | |
cd /tmp/opencv-o0TT/opencv-2.4.8.2/macbuild/modules/highgui && /usr/local/Library/ENV/4.3/clang++ -DCVAPI_EXPORTS -DHIGHGUI_EXPORTS -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 -mavx -Wno-deprecated-declarations -fPIC -I/tmp/opencv-o0TT/opencv-2.4.8.2/modules/imgproc/include -I/tmp/opencv-o0TT/opencv-2.4.8.2/modules/core/include -I/tmp/opencv-o0TT/opencv-2.4.8.2/macbuild/modules/highgui -I/tmp/opencv-o0TT/opencv-2.4.8.2/modules/highgui/src -I/tmp/opencv-o0TT/opencv-2.4.8.2/modules/highgui/include -I/tmp/opencv-o0TT/opencv-2.4.8.2/macbuild -isystem /usr/local/include/eigen3 -isystem /usr/local/opt/jpeg/include -isystem /usr/local/include -isystem /usr/local/include/OpenEXR -fobjc-exceptions -o CMakeFiles/opencv_highgui.dir/src/cap_qtkit.mm.o -c /tmp/opencv-o0TT/opencv-2.4.8.2/modules/highgui/src/cap_qtkit.mm | |
In file included from /tmp/opencv-o0TT/opencv-2.4.8.2/modules/highgui/src/window_cocoa.mm:71: | |
In file included from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12: | |
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6: | |
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55: | |
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13: | |
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15: | |
In file included from /usr/include/dispatch/dispatch.h:48: | |
In file included from /usr/include/os/object.h:74: | |
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6:9: fatal error: 'objc/NSObject.h' file not found | |
#import <objc/NSObject.h> | |
^ | |
In file included from /tmp/opencv-o0TT/opencv-2.4.8.2/modules/highgui/src/cap_qtkit.mm:46: | |
In file included from /System/Library/Frameworks/QTKit.framework/Headers/QTKit.h:19: | |
In file included from /System/Library/Frameworks/QTKit.framework/Headers/QTKitDefines.h:348: | |
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:7:10: fatal error: 'objc/NSObjCRuntime.h' file not found | |
#include <objc/NSObjCRuntime.h> | |
^ | |
/usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_progress_report /tmp/opencv-o0TT/opencv-2.4.8.2/macbuild/CMakeFiles | |
[ 25%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_base.cpp.o | |
cd /tmp/opencv-o0TT/opencv-2.4.8.2/macbuild/modules/highgui && /usr/local/Library/ENV/4.3/clang++ -DCVAPI_EXPORTS -DHIGHGUI_EXPORTS -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 -mavx -Wno-deprecated-declarations -fPIC -I/tmp/opencv-o0TT/opencv-2.4.8.2/modules/imgproc/include -I/tmp/opencv-o0TT/opencv-2.4.8.2/modules/core/include -I/tmp/opencv-o0TT/opencv-2.4.8.2/macbuild/modules/highgui -I/tmp/opencv-o0TT/opencv-2.4.8.2/modules/highgui/src -I/tmp/opencv-o0TT/opencv-2.4.8.2/modules/highgui/include -I/tmp/opencv-o0TT/opencv-2.4.8.2/macbuild -isystem /usr/local/include/eigen3 -isystem /usr/local/opt/jpeg/include -isystem /usr/local/include -isystem /usr/local/include/OpenEXR -o CMakeFiles/opencv_highgui.dir/src/grfmt_base.cpp.o -c /tmp/opencv-o0TT/opencv-2.4.8.2/modules/highgui/src/grfmt_base.cpp | |
Linking CXX shared library ../../lib/libopencv_video.dylib | |
cd /tmp/opencv-o0TT/opencv-2.4.8.2/macbuild/modules/video && /usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_link_script CMakeFiles/opencv_video.dir/link.txt --verbose=1 | |
/usr/local/Library/ENV/4.3/clang++ -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 -mavx -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 2.4.0 -current_version 2.4.8 -o ../../lib/libopencv_video.2.4.8.dylib -install_name /tmp/opencv-o0TT/opencv-2.4.8.2/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/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.8.dylib ../../lib/libopencv_imgproc.2.4.8.dylib ../../lib/libopencv_core.2.4.8.dylib | |
cd /tmp/opencv-o0TT/opencv-2.4.8.2/macbuild/modules/video && /usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_symlink_library ../../lib/libopencv_video.2.4.8.dylib ../../lib/libopencv_video.2.4.dylib ../../lib/libopencv_video.dylib | |
/usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_progress_report /tmp/opencv-o0TT/opencv-2.4.8.2/macbuild/CMakeFiles 96 97 | |
[ 25%] Built target opencv_video | |
/usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_progress_report /tmp/opencv-o0TT/opencv-2.4.8.2/macbuild/CMakeFiles 37 | |
[ 26%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_bmp.cpp.o | |
cd /tmp/opencv-o0TT/opencv-2.4.8.2/macbuild/modules/highgui && /usr/local/Library/ENV/4.3/clang++ -DCVAPI_EXPORTS -DHIGHGUI_EXPORTS -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 -mavx -Wno-deprecated-declarations -fPIC -I/tmp/opencv-o0TT/opencv-2.4.8.2/modules/imgproc/include -I/tmp/opencv-o0TT/opencv-2.4.8.2/modules/core/include -I/tmp/opencv-o0TT/opencv-2.4.8.2/macbuild/modules/highgui -I/tmp/opencv-o0TT/opencv-2.4.8.2/modules/highgui/src -I/tmp/opencv-o0TT/opencv-2.4.8.2/modules/highgui/include -I/tmp/opencv-o0TT/opencv-2.4.8.2/macbuild -isystem /usr/local/include/eigen3 -isystem /usr/local/opt/jpeg/include -isystem /usr/local/include -isystem /usr/local/include/OpenEXR -o CMakeFiles/opencv_highgui.dir/src/grfmt_bmp.cpp.o -c /tmp/opencv-o0TT/opencv-2.4.8.2/modules/highgui/src/grfmt_bmp.cpp | |
1 error generated. | |
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/window_cocoa.mm.o] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
1 error generated. | |
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_qtkit.mm.o] Error 1 | |
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 | |
make: *** [all] Error 2 | |
==> Formula | |
Tap: homebrew/science | |
Path: /usr/local/Library/Taps/homebrew-science/opencv.rb | |
==> Configuration | |
HOMEBREW_VERSION: 0.9.5 | |
HEAD: 433ecceec019c199d3ff07765d97f93b8441bb65 | |
CPU: quad-core 64-bit ivybridge | |
OS X: 10.9.2-x86_64 | |
Xcode: 5.1.1 | |
CLT: 5.1.0.0.1.1396320587 | |
X11: 2.7.5 => /opt/X11 | |
==> ENV | |
HOMEBREW_CC: clang | |
HOMEBREW_CXX: clang++ | |
MAKEFLAGS: -j4 | |
CMAKE_PREFIX_PATH: /usr/local | |
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers | |
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries | |
PKG_CONFIG_PATH: /usr/local/opt/eigen/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/ilmbase/lib/pkgconfig:/usr/local/opt/openexr/lib/pkgconfig | |
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9 | |
ACLOCAL_PATH: /usr/local/share/aclocal | |
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/jasper/bin:/usr/local/opt/libpng/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/openexr/bin:/usr/local/opt/pkg-config/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment