OpenCV mac MacOS Sierra error ' qtkit/qtkit.h ' file not found resolution record

Source: Internet
Author: User

If you upgrade MacOS Sierra when you install OPENCV, you may encounter the following error:


Xxx/cap_qtkit.mm:46:9: Fatal error:

' qtkit/qtkit.h ' File not found

#import

^

1 Error generated.

MAKE[2]: * * * [MODULESIDEOIO/CMAKEFILES/OPENCV_VIDEOIO.DIR/SRC/CAP_QTKIT.MM.O] Error 1

MAKE[1]: * * * [Modulesideoio/cmakefiles/opencv_videoio.dir/all] Error 2

Make: * * * [ALL] Error 2


I found a big circle on the Internet.

Never upgrade to 10.12 in a Mac to copy qtkit.framework, move to/system/library/framework


It also offers a variety of operations, but my problem is not solved


Later self-discovery method, in the non-upgraded MAC system copy Qtkit.framework from the inside to extract QTKit folder, placed under the OPENCV-2.4.13/MODULES/HIGHGUI/SRC and then compiled to pass.


This article is from the "Big Hu Study Notes" blog, please be sure to keep this source http://zhixinhu.blog.51cto.com/3132199/1870023

OpenCV mac MacOS Sierra error ' qtkit/qtkit.h ' file not found resolution record

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.