OpenCV build failed.
Hi, I'm using cmake to configure and generate make files for MinGW. And I'm using Qt Creator to develop my app. After generating make files you suggest to use Visual Studio to build library. Is there a way to build it using Qt Creator?
What i have done I was using cmd . CD to Build folder and entered: "mingw32-make" . The building proccess started, however on 36% I got an error: C:\MinGW\bin\windres.exe: invalid option -- W
Usage: C:\MinGW\bin\windres.exe [option(s)] [input-file] [output-file]
List of possible options [ ]
How to solve this? I'm new in programming, so explain as much detailed as possible in this case, please. What is the easiest way to solve this and install OpenCV for newbies.
unfortunately, there's no real support for mingw from the opencv devs.
which mingw version is it ? (it might just be too old)
also, which opencv version are you trying to build ?
OpenCV 3.3.0-vc14 MinGW release on 2013-10-04(the latest one from the official website)
please try to disable precompiled headers in cmake (and clean build folder)
(the windres error is because it (wrongly) gets passed gcc flags like -Wall if PCHs are used)