setup QT 5.10 and opencv 3.4.1 on windows 10 64-bit with CMAKE

asked 2018-03-26 17:40:17 -0600

Ahmad mun gravatar image

updated 2018-03-27 18:51:06 -0600

Hi in this link https://wiki.qt.io/How_to_setup_Qt_and_openCV_on_Windows i am trying to setup QT 5.10 and opencv 3.4.1 on windows 10 64-bit

I did all the steps but QT_MAKE_EXECUTABLE not found in options to check after that in cmd When I write this command line ((mingw32-make -j 8)) it stop at 20% and i have this

[ 20%] Built target libwebp Makefile:159: recipe for target 'all' failed mingw32-make: * [all] Error 2 !!!!!** after this error i tried to uncheck ((ENABLE_PRECOMPILED_HEADERS)) and retry the last command line ((mingw32-make -j 8)) it continue and stop again

[ 37%] Built target opencv_core Makefile:159: recipe for target 'all' failed mingw32-make: * [all] Error 2 !!!!!** Please I really need a help

edit retag flag offensive close merge delete

Comments

you have to turn off the use of precompiled headers with:

 cmake -D ENABLE_PRECOMPILED_HEADERS=OFF

then, please clean your build folder from previous attempts, and start all over.

berak gravatar imageberak ( 2018-03-26 20:11:36 -0600 )edit

thank you for your answer

I tried this from the beginning and it didn't work :(

it stop at this step [ 61%] Built target opencv_dnn Makefile:159: recipe for target 'all' failed mingw32-make: * [all] Error 2

Ahmad mun gravatar imageAhmad mun ( 2018-03-27 16:45:55 -0600 )edit