OpenCV Error - Core.hpp header must be compiled as C++

OpenCV is compiled in XCode in time, as often reported problems similar error.

Simple solution:

The * .m files can be renamed to * .mm

Guess you like

Origin www.cnblogs.com/lu-ping-yin/p/10992886.html