The Eclipse CDT installation OpenCV, unlike VS, OpenCV does not provide a MinGW version and requires manual compilation;
1. Install Eclipse CDT with MinGW, install OPENCV 2.7.x version, install cmake;
2. Select the CMake build path, then click Configure (Configuration), then click Generate (Generate);
Note: (1) The build directory is manually specified and set to the MinGW folder within OpenCV (new);
(2) After the configuration (configure), there will be red highlighted, direct click to generate (generate);
3. Enter the building MinGW folder , enter the command "Mingw32-make", it will take a long time;
Note: you need to configure the path to complete MinGW, that is, to add system environment variables ; Input "gcc--version", Output prompts, indicating the success of MinGW configuration;
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/cplus/