Building and installing MIVisionX on macOS from source code#
Note
macOS only supports the MIVisionX CPU backend
MIVisionX on macOS is built from the source code. The MIVisionX source code is available from ROCm/MIVisionX.
Building MIVisionX on macOS requires Homebrew, OpenCV, and OpenSSL:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install cmake opencv openssl
Create the build
directory under the MIVisionX
root directory. Change directory to build
:
Use cmake
to generate a makefile:
cmake ../
Run make
and make install
:
make
make install
To make and run tests, use make test
.