Ask Your Question
2

Open CV support for WinRT and Windows Phone8

asked 2013-03-21 09:24:22 -0600

rak gravatar image

updated 2020-10-05 06:46:41 -0600

What is the current status of OpenCV support for WinRT and Windows Phone 8. Is it ready for release. I have been hearing for 6 months about the support but no news from your side. It is so sad to hear that their is no stable release is available yet. At least give us an idea about time we need to wait for.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
3

answered 2013-03-21 10:57:20 -0600

See my comments to the same question.

edit flag offensive delete link more
0

answered 2014-01-18 12:25:37 -0600

Ettore gravatar image

updated 2014-01-19 06:26:01 -0600

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.

edit flag offensive delete link more

Comments

1

The script uses Ninja tool for building. Try to install Ninja build tool or change build tool. You need to edit cmake_winrt.cmd and change project generator from -GNinja to -G "NMake Makefiles"

Alexander Smorkalov gravatar imageAlexander Smorkalov ( 2014-01-19 06:29:51 -0600 )edit

Thanks, but the problem isn't in Ninja installation. I found a solution in this topic:

http://answers.opencv.org/question/19350/building-opencv4android-cmake_cxx_compiler_env_var/

The script have to be run in <opencv_source_dir>/platforms and not in <opencv_source_dir>/platforms/winrt/

There is an error on the page http://code.opencv.org/projects/opencv/wiki/WindowsRT How could I notify this to the author to fix the istruction?

Ettore gravatar imageEttore ( 2014-01-19 08:41:26 -0600 )edit

Question Tools

Stats

Asked: 2013-03-21 09:24:22 -0600

Seen: 3,004 times

Last updated: Jan 19 '14