Make error with opencv-master and opencv_contrib on windows 10

asked 2018-06-14 10:29:41 -0600

Korel gravatar image

System information (version)

OpenCV => 3.4
Operating System / Platform => Win10 64bit
Compiler => Qt - mingw32

Detailed description

Hello,

I am relatively a new user of opencv and for SIFT function I tried to recompile with opencv_contrib. I used cmake gui for generating. I unmarked WITH_CUDA since it gave a warning. Below is the error I get from the compiler. I am posting the cmd output using pastebin. I hope someone can help with the error. Thank you everybody.

https://pastebin.com/wpPhFFES

Steps to reproduce

C:\opencv-build>mingw32-make -j

edit retag flag offensive close merge delete

Comments

your mingw is too old for this (and also only 32bit)

please update to a newer mingw64

berak gravatar imageberak ( 2018-06-14 11:06:00 -0600 )edit

Well I was following the Qt installation guide but i guess it was also for an older version

Korel gravatar imageKorel ( 2018-06-14 11:08:41 -0600 )edit

^^ indeed.

please make also sure to use these cmake flags:

-DENABLE_PRECOMPILED_HEADERS=OFF
-DWITH_IPP=OFF
-DWITH_TBB=OFF
-DWITH_MSMF=OFF
-DWITH_CUDA=OFF
berak gravatar imageberak ( 2018-06-14 11:31:25 -0600 )edit