OpenCV2.3.0在VS2010中的配置

  1. 下载OpenCV2.3.0 superpack
  2. 安装好后在path环境变量下添加安装目录中的build/x64/vc10/bin
  3. 在工程文件属性的VC++Directories中添加
    1. Executable路径:C:\Program Files\opencv\build\x64\vc10\bin
    2. include路径:
      1. C:\Program Files\opencv\build\include\opencv2;
      2. C:\Program Files\opencv\build\include\opencv;
      3. C:\Program Files\opencv\build\include;
    3. lib路径:C:\Program Files\opencv\build\x64\vc10\lib;
  4. 在Linker属性的input中添加:
    1. opencv_core231d.lib
    2. opencv_highgui231d.lib
    3. opencv_video231d.lib
    4. opencv_ml231d.lib
    5. opencv_legacy231d.lib
    6. opencv_imgproc231d.lib
posted @ 2012-05-26 10:38  dataminer  阅读(213)  评论(0编辑  收藏  举报