lexical preprocessor issue with opencv/opencv.hpp - XCode 4.6

asked 2013-02-19 17:07:36 -0500

I have tried to get my project working with opencv. It used to work then when I upgraded to xcode 4.6 it stopped functioning and now I have these preprocessor errors.

I have made sure to have

 #ifdef __cplusplus
    #import <opencv/opencv.hpp>

above all otehr things in my test project in the .pch file in Xcode. I have checked that I have search user header paths.

I have checked that my framework search paths and library and header search paths all reference the included opencv.framework.

I have checked that opencv is correctly added to the target and that the compiler is set to libc++

STILL I get this damn error.

Any ideas?

edit retag flag offensive close merge delete