VS C ++ code that can compile correctly but still display a red wavy line prompt "Can not open source file"

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.

Problems have solutions

Guess you like

Origin www.cnblogs.com/DragonStart/p/10934907.html