Skip to content
Kiriti Gowda edited this page Feb 17, 2022 · 13 revisions

macOS Build Instructions

Identify macOS components

  • macOS version
system_profiler SPSoftwareDataType && sw_vers && uname -a
  • macOS CPU & GPU info
system_profiler SPDisplaysDataType && system_profiler SPHardwareDataType

MIVisionX for macOS

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install cmake
git clone https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX.git
  • Step-4: Create a build directory
mkdir build && cd build
  • Step-5: CMake & Build MIVisionX
cmake ../MIVisionX
make

Prerequisites for MIVisionX with display

  • Install OpenCV
brew install opencv
  • Export OpenCV in your PATH - OpenCV Extension & RunVX Display
brew info opencv
  • Export OpenSSL in your PATH - RunVX
brew info openssl

Verify Installation

./bin/runvx ../MIVisionX/samples/gdf/canny.gdf

Tested Configurations

  • macOS
    • Monterey V-macOS-12.2.1
  • Homebrew V-3.3.15
  • CMake V-3.22.2
  • OpenCV V-4.5.4
  • OpenSSL V-3.0.1
Clone this wiki locally