I am building a C application that uses OpenCV.
when compiling, I get the following error:
fatal error C1189: #error : core.hpp header must be compiled as C++
I did not find how to resolve this error.
How to use OpenCV from a C project?