Ask Your Question

Revision history [back]

Fail to build

My setup is Windows 10, MingGW-64, cmake 3.11.1 win64, lastest stable opencv and contrib. After following the guide here https://zami0xzami.wordpress.com/2016/03/17/building-opencv-for-android-from-source/ 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.