How to configure opencv on eclipse mars.2 Release(4.5.2).
You have to install opencv3 by issue command "brew install opencv3"
* Elipse->Projects(right click)->Properties->C/C++ General->Paths and Symbols->Includes->GNU C++ -> Add
** /usr/local/Cellar/opencv3/3.1.0_2/include/opencv
** /usr/local/Cellar/opencv3/3.1.0_2/include
* Elipse->Projects(right click)->Properties->C/C++ General->Paths and Symbols->Libraries -> Add
** opencv_core (required)
** opencv_imgproc (required)
** opencv_highgui (required)
** opencv_imgcodecs (required)
** opencv_flann
** opencv_video
** opencv_features2d
** opencv_calib3d
** opencv_ml
* Elipse->Projects(right click)->Properties->C/C++ General->Paths and Symbols->Library Paths->Add
** /usr/local/Cellar/opencv3/3.1.0_2/lib
No comments:
Post a Comment