Apple Mach-O linker and multiple “undefined symbols” error using OpenCV

后端 未结 5 1510
忘掉有多难
忘掉有多难 2020-12-02 11:25

I am currently a real beginner in Objective C, and I am developing an app using the framework OpenCV.

I am following a tutorial, but while builing the project, I got

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-02 11:45

    You're missing the standard C++ library. You need to link with it to get all the implementations for the STL classes you're getting errors for.

    Add the libc++.dylib to your project.

提交回复
热议问题