Symptoms details
I found many tutorials environment deploy third-party libraries, will teach the reader configuration attributes VC ++ directory -> directory containing such OpenCV environment configuration tutorial.
After this configuration will compile :
However , in the IDE, there will be some annoying red wavy line:
solution
In fact, the tutorial does not mention, there is also a local configuration Include directory, this place is the attribute -> C / C ++ -> Additional Include Directories , and code editor in the red wavy line is based on this to be displayed.