Learning Start from 2017/1/10
Official tutorial from OpenCV windows_visual_studio_Opencv
Set path enviroment in Window system, Include library and OpenCV header path in VS C++. Change depend on Debug/ Release Or X86/64
Create properties file at properties manager tab will help you save time
Next go to the Linker ‣ General and under the “Additional Library Directories” add the libs directory:
Use for example the OpenCV_Debug name. Then by selecting the sheet Right Click ‣ Properties. In the following I will show to set the OpenCV rules locally, as I find unnecessary to pollute projects with custom rules that I do not use it. Go the C++ groups General entry and under the “Additional Include Directories” add the path to your OpenCV include. If you don’t have “C/C++” group, you should add any .c/.cpp file to the project.