1、進入工程屬性頁,開啟【配置屬性】頁
2、在【vc++目錄】頁面下,【包含目錄】中新增opencv安裝目錄的以下目錄:
d:\opencv\build\include
d:\opencv\build\include\opencv
d:\opencv\build\include\opencv2
3、在【vc++目錄】頁面下,【庫目錄】中新增如下:
d:\opencv
\build
\x86
\vc12
\lib
4、在【鏈結器】頁面下,【輸入】目錄的【附加依賴項】中新增如下:
opencv_ml249d.lib
opencv_calib3d249d.lib
opencv_contrib249d.lib
opencv_core249d.lib
opencv_features2d249d.lib
opencv_flann249d.lib
opencv_gpu249d.lib
opencv_highgui249d.lib
opencv_imgproc249d.lib
opencv_legacy249d.lib
opencv_objdetect249d.lib
opencv_ts249d.lib
opencv_video249d.lib
opencv_nonfree249d.lib
opencv_ocl249d.lib
opencv_photo249d.lib
opencv_stitching249d.lib
opencv_superres249d.lib
opencv_videostab249d.lib
opencv_ml249.lib
opencv_calib3d249.lib
opencv_contrib249.lib
opencv_core249.lib
opencv_features2d249.lib
opencv_flann249.lib
opencv_gpu249.lib
opencv_highgui249.lib
opencv_imgproc249.lib
opencv_legacy249.lib
opencv_objdetect249.lib
opencv_ts249.lib
opencv_video249.lib
opencv_nonfree249.lib
opencv_ocl249.lib
opencv_photo249.lib
opencv_stitching249.lib
opencv_superres249.lib
opencv_videostab249.lib
6、配置環境變數
計算計->屬性->高階系統設定->環境變數->path
新增新增 d:\program files\opencv249\opencv\build\x64\vc12\bin
關於vs2013配置Opencv開發環境
作為乙個才開始學習的opencv的人,自然配置opencv的開發環境很重要。設定好解壓的目錄,我的解壓目錄如下e opencv 然後就是設定環境變數 方法如下1.計算機 屬性 高階系統設定 環境變數 系統變數 add opencv e opencv build x86 vc12 bin e open...
OPencv在VS2013中的配置
3 提取完成後,即完成了opencv的安裝 二 設定opencv環境變數 1 開啟計算機的屬性頁,高階系統設定 環境變數 計算機名 的使用者變數 新建 1 變數名 opencv 變數值 opencv的資料夾路徑 opencv build 2 變數名 path 一般已經存在 變數值 opencv的資料...
opencv在vs2013下配置無效問題
重灌了系統,重新配置opencv,由於一些原因,這次用opencv2.4需要配置的包含目錄 e tools opencv opencv2.4 build include e tools opencv opencv2.4 build include opencv e tools opencv open...