ubuntu eclipse opencv环境配置

项目——Properties——C/C++ Build——Settings

配置包含目录:

GCC C++ Compiler   ——Includes

/usr/include

/usr/local/include/opencv

/usr/local/include/opencv2

/usr/include/c++/5

配置库链接目录:

GCC C++ Linker ——Libraries

在Library search path(-L)窗口中添加一行

/usr/local/lib

在Libraries(-l)窗口中添加

opencv_features2d
opencv_highgui
opencv_superres
opencv_flann
opencv_shape
opencv_videostab
opencv_features2d
opencv_highgui
opencv_imgcodecs
opencv_shape
opencv_videostab
opencv_videoio
opencv_videoio
opencv_highgui
opencv_core
opencv_stitching
opencv_imgcodecs
opencv_core
opencv_objdetect
opencv_objdetect
opencv_flann
opencv_photo
opencv_flann
opencv_shape
opencv_features2d
opencv_imgproc
opencv_photo
opencv_ml
opencv_superres
opencv_imgproc
opencv_stitching
opencv_superres
opencv_dnn
opencv_dnn
opencv_ca3d
opencv_videostab
opencv_imgcodecs
opencv_video
opencv_photo
opencv_imgproc
opencv_dnn
opencv_video
opencv_stitching
opencv_video
opencv_ca3d
opencv_ml
opencv_objdetect
opencv_ca3d
opencv_core
opencv_videoio
opencv_ml

 

 

 

posted @ 2019-03-25 14:11  西北逍遥  阅读(367)  评论(0编辑  收藏  举报