Have you compiled opencv by yourself?
I believe that there is no pre-compiled opencv library release for mingw, but precompiled opencv library with visual c++ 10, 11, 12 are available.
If you have not compiled opencv, you need to follow the instructions:
- Go to this link. This link is useful. Specifically, in your
case, you need to visit the link titled Installation in Windows
- Carefully watched both videos in the mentioned page above,
specifically 1st video and the beginning part of the 2nd video. I
know the steps is for visual studio compilation, but it is useful to
gain some feelings of the compilation steps.
- Follow this video to do the compilation of opencv on MINGW
Note: Lots of information is out of date in the above videos. You need to modify/adapt
the steps mentioned in the videos.
Note: I know the video in the 3rd step is not in English. However, it is the video for the latest version of opencv I can find, for MINGW.
Tips: make sure you clean up all CMake erorrs before you really generate makefile to compile opencv.
Note: The compile procedure for opencv on mingw does NOT depend on Qt (I know you are using Eclipse).
Please prepare to spend lots of time for this compilation, as it does require you to download many tools for this compilation, such as CMake.
Many steps described in the video can be skipped, if you don't want to use those components. For example, if you don't want to use python, you don't need to download python.
Good luck, and enjoy.