VS2010
1. 安装opencv
2. 配置include
C/C++
%OPENCV_DIR%\include;
3. 配置lib路径
Linker
%OPENCV_DIR%\lib;
Linker-Input
opencv_core220.lib;opencv_imgproc220.lib;opencv_highgui220.lib;opencv_features2d220.lib;opencv_calib3d220.lib;
注意事项:
1. C/C++ -- Code Generation -- Runtime Library -- Multi-threaded (/MT) (注意一致)