*OpenCV/Build steps for OpenCV(Windows RT) [#j17858ec] #multilang(ja){{ **前提とする環境 - IDE:Visual Studio 2012 Pro - OpenCV:OpenCV-2.4.8 - CMake:CMake2.8.12.2 - Ninja:Ninja1.4.0([[https://github.com/martine/ninja/releases:https://github.com/martine/ninja/releases]]) **変更箇所 OpenCV同梱の<opencv_source_dir>\platforms\scripts\cmake_winrt.cmdを私の環境に合わせるために以下のように変更しました. [before] set msvc_path=C:\Program Files\Microsoft Visual Studio 11.0 [after] set msvc_path=C:\Program Files (x86)\Microsoft Visual Studio 11.0 **ビルド手順 +Visual Studio開発者コマンドプロンプトを開く +VC\bin\x86_arm\vcvarsx86_arm.batを実行する +cd <opencv_source_dir>\platforms\winrt +scripts\cmake_winrt.cmdを実行する +ninjaを実行する +<opencv_source_dir>\platforms\build_winrt_armにOpenCVライブラリが生成される **参考URL [[OpenCV - WindowsRT - OpenCV DevZone:http://code.opencv.org/projects/opencv/wiki/WindowsRT]] }} #multilang(en){{ **Prerequisites [#eae6c7f7] - IDE:Visual Studio 2012 Pro - OpenCV:OpenCV-2.4.8 - CMake:CMake2.8.12.2 - Ninja:Ninja1.4.0(https://github.com/martine/ninja/releases) - Ninja:Ninja1.4.0([[https://github.com/martine/ninja/releases:https://github.com/martine/ninja/releases]]) **My customize [#q003e09e] I changed <opencv_source_dir>\platforms\scripts\cmake_winrt.cmd [before] set msvc_path=C:\Program Files\Microsoft Visual Studio 11.0 [after] set msvc_path=C:\Program Files (x86)\Microsoft Visual Studio 11.0 ** Build steps [#l161a470] +Open Visual Studio development console. +run VC\bin\x86_arm\vcvarsx86_arm.bat +cd <opencv_source_dir>\platforms\winrt +run scripts\cmake_winrt.cmd +run ninja + opencv libraries are generated in <opencv_source_dir>\platforms\build_winrt_arm **Reference [#wf211124] [[OpenCV - WindowsRT - OpenCV DevZone:http://code.opencv.org/projects/opencv/wiki/WindowsRT]] }}