You need to add path to "opencv2/<module>" directory to your .pro file, for each module listed in above error. Modules should be in "C:/OpenCV2.2/modules"...\..\..\OpenCV2.2\include\opencv/cv.h:63:33: error: opencv2/core/core_c.h: No such file or directory
For example, "core" module is in:
, it has "include" subdir, which contains the path referenced in cv.h above. So for this module, entry in .pro file would be:C:\OpenCV2.2\modules\core
Look into your OpenCV 2.2 installation directory and add all missing modules path to your .pro file.INCLUDEPATH += C:/OpenCV2.2/modules/core/include
Bookmarks