Install openCV on Mac OS Sierra
Hi All,
Currently I'm installing the openCV on my computer, and it report an error like this:
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/user/Downloads/opencv-2.4.13/release
host56-116:release user$ make
[ 2%] Built target zlib
[ 6%] Built target libtiff
[ 11%] Built target libjpeg
[ 14%] Built target libjasper
[ 16%] Built target libpng
[ 24%] Built target IlmImf
[ 27%] Built target opencv_core
[ 32%] Built target opencv_imgproc
[ 33%] Built target opencv_video
[ 33%] Built target opencv_flann
[ 33%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_qtkit.mm.o
/Users/user/Downloads/opencv-2.4.13/modules/highgui/src/cap_qtkit.mm:46:9: fatal error: 'QTKit/QTKit.h' file not found
#import <QTKit/QTKit.h>
^
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
One of my mates has already installed opecv on his system(Mac OS El Captain) successfully without this error.
I thought this problem may be caused by latest update on Mac OS. I checked the update and Apple said the CVKit has already replaced QTKit.
Does anyone has some ideas about how to solve this issue? I'm be grateful indeed if you can help me!
please replace the screenshot with a text version !
Please check the text version again, Thx!
no idea about apple, but you should watch this
oh shit i just upgraded all my boxes to macos Sierra :-)
my stuff still works, haven't recompiled opencv yet though. What is CVKit ? I'm not sure what QTKit is either actually - but it looks like it's part of highgui (probably uses QT).
And as it seems part of opencv, what were youre steps before you downloaded opencv? Alternatively - try using homebrew.
Thx buddy I will check it out!