Please indicate the source: https://mp.csdn.net/postedit/82117742
Recent vs2015 configuration opencv, we found that all the projects with opencv package together. If placed in a different disk inside, when import header file will report various errors, in order to facilitate future viewing, sharing in this way I add path.
opencv installation path: D: \ Program Files \ opencv342;
Project storage path: E: \ VS2015 \ opencvApplication \ opencvTest;
Specific methods add the path:
1. Select the menu bar View-- Other Windows-- Property Manager;
2. Click the items below Debug | x64 - Microsoft.Cpp.x64.user-- right click and select Properties;
3. Select General in the Additional include in C / C ++ Directories add opencv | include folder path.