OpenCV Xcode building

  • kbenjah97
    Likes 0

    Problem Description

    Hello!

    I have a question with getting the OpenCv version 4 to work.

    I followed all the step in the video

    https://www.youtube.com/watch?v=o62iO8SssZk

    but when I get to including the header for opencv, there is an error for file not found.

    I would appreciate any help.

    Best

    //
    //  main.cpp
    //  OpenCvT
    //
    //  Created by Benjamin Kubwimana on 17/10/2019.
    //  Copyright © 2019 Benjamin Kubwimana. All rights reserved.
    //
    
    #include <iostream>
    #include "opencv4/opencv.hpp"
    
    int main(int argc, const char * argv[]) {
        // insert code here...
        std::cout << "Hello, World!\n";
        return 0;
    }
    

     

  • Sonar Systems admin
    Likes 0

    Whats the exact error

Login to reply