Eclipse CDT配置OpenCV的步驟, 有以下三步:
1. 添加C++2011支持:
修改編譯器參數;
添加檢測符號:
1. 添加路徑: D:\OpenCV2.4.7\opencv\mingw\lib
2. 添加庫:
opencv_calib3d247
opencv_contrib247
opencv_core247
opencv_features2d247
opencv_flann247
opencv_gpu247
opencv_haartraining_engine
opencv_highgui247
opencv_imgproc247
opencv_legacy247
opencv_ml247
opencv_nonfree247
opencv_objdetect247
opencv_ocl247
opencv_video247
opencv_videostab247
頭文件:
D:\OpenCV2.4.7\opencv\build\include
D:\OpenCV2.4.7\opencv\build\include\opencv
D:\OpenCV2.4.7\opencv\build\include\opencv2
作者:csdn博客 Mystra