Hi!
I looked at your post, and I am also trying to port the opencv.
However, I am having issues even on earlier stage, when CMake is trying to test the compiler.
I have problems when CMake seem to create a temporary random name directory with extension .dir but then it does not recognize that directory name itself,
Have you had something similar in your attempts?
Compilation failed:
source file: 'C:/job/projects/bio/prize/gita/opencv_mcu/cmake/checks/cxx11.cpp'
check option: '-std=c++11'
===== BUILD LOG =====
Change Dir: C:/job/projects/bio/prize/gita/opencv_mcu/build/CMakeFiles/CMakeTmp
Run Build Command:"C:/job/projects/bio/nobel/MinGW/msys/1.0/bin/make.exe" "cmTC_6d5dc/fast"
/usr/bin/make -f CMakeFiles\cmTC_6d5dc.dir\build.make CMakeFiles/cmTC_6d5dc.dir/build
'mTC_6d5dc.dir' is not recognized as an internal or external command,