Fail to build

asked 2018-05-10 21:29:53 -0500

My setup is Windows 10, MingGW-64, cmake 3.11.1 win64, lastest stable opencv and contrib. After following the guide here I get this after pressing configure:

Determining if the CXX compiler works failed with the following CMakeError output: Change Dir: D:/Desenvolvimento/Programas/OpenCV/Source/opencv-master/platforms/android-arm/CMakeFiles/CMakeTmp

Run Build Command:"D:/Desenvolvimento/Programas/CMake/bin/cmake.exe" "cmTC_f9469/fast" CMake Error: The source directory "D:/Desenvolvimento/Programas/OpenCV/Source/opencv-master/platforms/android-arm/CMakeFiles/CMakeTmp/cmTC_f9469/fast" does not exist. Specify --help for usage, or press the help button on the CMake GUI.

I have checked CMakeTmp directory and no cmTC_* is ever created. CMakeTmp is marked as read only and I can`t unset it. Weird, but I can create files there.

edit retag flag offensive close merge delete


your path to the mingw compiler is probably not set. So cmake can not find the compiler.

bennog gravatar imagebennog ( 2018-05-11 00:49:53 -0500 )edit

do you want to develop for android or your win10 desktop ?

berak gravatar imageberak ( 2018-05-11 00:55:49 -0500 )edit

Android and UE4 engine

danielgromero gravatar imagedanielgromero ( 2018-05-11 20:06:15 -0500 )edit