Skip to content

Instantly share code, notes, and snippets.

@mshabunin
Created March 11, 2020 15:37
Show Gist options
  • Save mshabunin/4db712dca7835b9073688c0932afc269 to your computer and use it in GitHub Desktop.
Save mshabunin/4db712dca7835b9073688c0932afc269 to your computer and use it in GitHub Desktop.
Build OpenCV for ARM64 in Visual Studio
#!/bin/bash
set -e
cmake -G"Visual Studio 16 2019" \
-A ARM64 \
-DCMAKE_SYSTEM_NAME=Windows \
-DCMAKE_SYSTEM_VERSION=10.0 \
-DCMAKE_SYSTEM_PROCESSOR=ARM64 \
-DWITH_IPP=OFF \
-DWITH_FFMPEG=OFF \
../opencv
cmake --build . --config Release
@bilalsoomro
Copy link

Thank you for sharing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment