Create OpenCV applications on Windows on Arm
Introduction
OpenCV and Compilers for Windows on Arm
Setup
Build OpenCV Applications with Clang
Build OpenCV Applications with MSVC
Next Steps
Create OpenCV applications on Windows on Arm
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Add the directory containing the OpenCV DLLs to your
PATH, or place the DLLs beside the executable. This lets the test application find the required libraries at runtime.Use tag
4.10.0. You might be able to use a later version, but if you run into issues, switch back to 4.10.0.Use CMake
3.28.1 and run the commands from Windows PowerShell using the CMake command-line interface.A successful run shows CMake configuration and compilation completing without errors. The build produces OpenCV libraries and a test application in the build directory that you created. Building the test program against OpenCV confirms the environment is set up correctly.
Yes. Use Visual Studio 2022 or later for the MSVC flow. The instructions were tested with Visual Studio 2022. If you choose Clang, follow the Clang section and its tool setup.