Ask Your Question

I can't install OpenCV on Windows 7, using MinGW and CMake.

asked 2013-09-25 07:58:32 -0600

leonardomito gravatar image

updated 2013-09-25 08:34:38 -0600

Moster gravatar image

Hello, guys.

I'm having some dificulties to install OpenCV using Windows 7 x86. I tried to use CMake, and even though the configuration and generating succeeded, some things got "failed". And then I've opened the windows CMD, used the "mingw32-make" at the binaries folder and OK, it started to compile, but when it starts to build something named "algorithm.cpp.obj", I got an error! Does it have any relation with the things that failed when I used CMake? Do I have to download any library to make it work?

P.S: I've searched for some tutorials online and followed them step by step, but I couldn't install anyway!

P.S(2): I want to use it with QT.

P.S(3): I'm not even an average programmer.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-09-25 09:36:26 -0600

maythe4thbewithu gravatar image

updated 2013-09-25 09:38:07 -0600

1) Yes, if there is any failure in CMake, you will fail while compiling.

Do not ignore any error or even warning in CMake by keep pressing "configure".

Fix the error or warning in CMake configure log.

When you selecting "with XXX", make sure you have XXX on your computer or it will be build by OpenCV.

2) Put more information about the failure in CMake or compiling, so people can give you more specific suggestion.

3) You can install Qt5 before configuring OpenCV 2.4.6 . Then in CMake, selecting "with Qt".

Use "Grouped" and "Advanced" well to check if there is any failure about finding Qt.

edit flag offensive delete link more

answered 2013-09-26 05:59:37 -0600

theodore gravatar image

have you checked that? if not, check the guide that i am pointing to in my answer. The guide is about opencv 2.4.5 but it is the same walkthrough for the newer versions of opencv. Cheers.

edit flag offensive delete link more

Question Tools


Asked: 2013-09-25 07:58:32 -0600

Seen: 4,485 times

Last updated: Sep 26 '13