Ask Your Question

Carl Zhang's profile - activity

2018-12-12 22:28:38 -0600 received badge  Popular Question (source)
2016-10-07 05:45:17 -0600 commented question Install openCV on Mac OS Sierra

Thx buddy I will check it out!

2016-09-29 00:42:38 -0600 commented question Install openCV on Mac OS Sierra

Please check the text version again, Thx!

2016-09-29 00:42:11 -0600 received badge  Editor (source)
2016-09-28 23:49:42 -0600 asked a question 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!