Building and installing MIVisionX on macOS from source code

Contents

Building and installing MIVisionX on macOS from source code#

Note

macOS supports the MIVisionX CPU backend only.

Prerequisites#

Install Homebrew, then use it to install the required dependencies:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install cmake opencv openssl

Build#

Clone the MIVisionX repository and build with CMake:

git clone https://github.com/ROCm/MIVisionX.git
cd MIVisionX
mkdir build && cd build
cmake -DGPU_SUPPORT=OFF ../
make -j$(nproc)
sudo make install

To run the test suite after building:

make test