- 下载OpenCV2.3.0 superpack
- 安装好后在path环境变量下添加安装目录中的build/x64/vc10/bin
- 在工程文件属性的VC++Directories中添加
- Executable路径:C:\Program Files\opencv\build\x64\vc10\bin
- include路径:
- C:\Program Files\opencv\build\include\opencv2;
- C:\Program Files\opencv\build\include\opencv;
- C:\Program Files\opencv\build\include;
- lib路径:C:\Program Files\opencv\build\x64\vc10\lib;
- 在Linker属性的input中添加:
- opencv_core231d.lib
- opencv_highgui231d.lib
- opencv_video231d.lib
- opencv_ml231d.lib
- opencv_legacy231d.lib
- opencv_imgproc231d.lib
转载于:https://www.cnblogs.com/dataminer/archive/2012/05/26/2519042.html