1 | initial version |
Hello
I had the same problem some weeks ago. I almost got mad. But fortunately I managed to solve it. It's a fault with your current MinGW setup. To solve this, you can either go directly to step 2 or, to ensure you'll success, rebuild OpenCV from the scratch:
Uninstall your current deployment of OpenCV + MinGW + other stuff you have installed.
Install MingGW, but now ensure that you select Use pre-packaged repository catalogues when prompted with Repository catalogues on installer (look at the picture below).
Rebuild OpenCV + other stuff you have selected.
.
Now you should be able to compile successfully. If you choose Download latest repository catalogues instead of Use pre-packaged repository catalogues you will get the same error again. I can't understand why this botched job, but fortunately it can be circumvented.
2 | No.2 Revision |
Hello
I had the same problem some weeks ago. I almost got mad. But fortunately I managed to solve it. It's a fault with your current MinGW setup. To solve this, you can either go directly to step 2 or, to ensure you'll success, rebuild OpenCV from the scratch:
Uninstall your current deployment of OpenCV + MinGW + other stuff you have installed.installed. Ensure that all the folders are cleaned.
Install MingGW, but now ensure that you select Use pre-packaged repository catalogues when prompted with Repository catalogues on installer (look at the picture below).
Rebuild OpenCV + other stuff you have selected.
.
Now you should be able to compile successfully. If you choose Download latest repository catalogues instead of Use pre-packaged repository catalogues you will get the same error again. I can't understand why this botched job, but fortunately it can be circumvented.