Eclipse CDT设置OpenCV项目
当前位置:以往代写 > C/C++ 教程 >Eclipse CDT设置OpenCV项目
2019-06-13

Eclipse CDT设置OpenCV项目

Eclipse CDT设置OpenCV项目

副标题#e#

Eclipse CDT设置OpenCV的步调, 有以下三步:

1. 添加C++2011支持:

修改编译器参数;

Eclipse CDT配置OpenCV项目

添加检测标记:

Eclipse CDT配置OpenCV项目

2. 添加OpenCV静态库(lib):

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


#p#副标题#e#

Eclipse CDT配置OpenCV项目

3. 修改头文件查找位置:

头文件:

D:\OpenCV2.4.7\opencv\build\include

D:\OpenCV2.4.7\opencv\build\include\opencv

D:\OpenCV2.4.7\opencv\build\include\opencv2

Eclipse CDT配置OpenCV项目

作者:csdn博客 Mystra

    关键字:

在线提交作业