Minimal program included in the STASM folder can now be run with OpenCV 3.0.0 in Eclipse using MinGW
- minimal.cpp is the driver program (containing main)
- Source files are all *.cpp files
- Header files are all *.h files
- OpenCV library files need to be configured in Eclipse are:
- highgui
- core
- imgcodecs
- imgproc
- objdetect
###Configuring Eclipse linker for OpenCV
- Go to Properties -> C/C++ Build -> Settings -> MinGW C++ Linker -> Libraries
- Add entries to Libraries(-l). Each entry is each item in the following:
- opencv_highgui300
- opencv_core300
- opencv_imgcodecs300
- opencv_imgproc300
- opencv_objdetect300
- Add a path entry to Library search path (-L) : "OPENCV3.0_DIR/build/lib"
- Go to Properties -> C/C++ Build -> Settings -> GCC C++ Compiler -> Includes
- Add entries to Include paths (-l) according to the location of your files. Possibly might be in "OPENCV3.0_DIR/source/include" or "OPENCV3.0_DIR/source/modules"