I can't build project with a new version of the opencv 3.0.0 framework (version 2 did not have this problem). Xcode 7 does not compile c++ sources as c++.
Here's the simplest setup that is not building:
- Download the 3.0.0 framework from here http://netix.dl.sourceforge.net/project/opencvlibrary/opencv-ios/3.0.0/opencv2.framework.zip
- Create the simplest ios project with Swift language.
- Drag-and-drop the framework to the project.
- Create the
Objective-C++
source and headers and add them to the project. - Create the bridging header.
Here's the setup:
- Build.
And here's what the compiler says:
Why is that? I've got the .mm
file and it is supposed to compile as the Objective-C++ source.