Thursday, August 9, 2012

Adding OpenCV to Eclipse

Adding OpenCV to Eclipse:


  1. Download eclipse indigo or the latest C++ IDE version
  2. Create a project
  3. Properties > C/C++ Build > Settings. 
  • Under Libraries add "opencv_core", "opencv_cv" and all OpenCV libraries you will need
  • Under "Library Search Path" add the location of the built libraries, usually: "/usr/local/lib" on Mac
  • Under Includes add the path to the include header files (.h), usually: "usr/local/include/opencv"



No comments: