Ask Your Question

Revision history [back]

I find this page opencv/wiki/WindowsRT but I can't build anything. The path to VS 11 is wrong and when I have correct that and other little errors I got this:

C:\opcv\opencv\platforms\winrt\build_winrt_arm>cmake.exe -GNinja -DCMAKE_BUILD_TYPE=Release -DENABLE_WINRT_MODE=ON -DWITH_FFMPEG=OFF -DWITH_MSMF=OFF -DWITH_DSHOW=OFF -DWITH_VFW=OFF -DWITH_OPENEXR=OFF -DWITH_CUDA=OFF -DBUILD_opencv_gpu=OFF -DBUILD_opencv_python=OFF -DBUILD_opencv_java=OFF -DCMAKE_TOOLCHAIN_FILE=..\winrt\arm.winrt.toolchain.cmake ...... CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER CMake Error: Could not find cmake module file: C:/opcv/opencv/platforms/winrt/build_winrt_arm/CMakeFiles/2.8.12.1/CMakeCXXCompiler.cmake CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER CMake Error: Could not find cmake module file: C:/opcv/opencv/platforms/winrt/build_winrt_arm/CMakeFiles/2.8.12.1/CMakeCCompiler.cmake -- Configuring incomplete, errors occurred!

I don't know enought how to use CMake so I'm be halted by this. So I can't tell you how well this thing go.

I find this page opencv/wiki/WindowsRT but I can't build anything. The path to VS 11 is wrong and when I have correct that and other little errors I got this:

C:\opcv\opencv\platforms\winrt\build_winrt_arm>cmake.exe -GNinja -DCMAKE_BUILD_TYPE=Release -DENABLE_WINRT_MODE=ON -DWITH_FFMPEG=OFF -DWITH_MSMF=OFF -DWITH_DSHOW=OFF -DWITH_VFW=OFF -DWITH_OPENEXR=OFF -DWITH_CUDA=OFF -DBUILD_opencv_gpu=OFF -DBUILD_opencv_python=OFF -DBUILD_opencv_java=OFF -DCMAKE_TOOLCHAIN_FILE=..\winrt\arm.winrt.toolchain.cmake   ......
..\..\..
CMake Error: CMake was unable to find a build program corresponding to "Ninja".
 CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file: C:/opcv/opencv/platforms/winrt/build_winrt_arm/CMakeFiles/2.8.12.1/CMakeCXXCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file: C:/opcv/opencv/platforms/winrt/build_winrt_arm/CMakeFiles/2.8.12.1/CMakeCCompiler.cmake
-- Configuring incomplete, errors occurred!

occurred!

I don't know enought how to use CMake so I'm be halted by this. So I can't tell you how well this thing go.