Skip to content
Kiriti Gowda edited this page Dec 10, 2021 · 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 3
brew install opencv@3
  • Export OpenCV in your PATH - OpenCV Extension & RunVX Display
brew info opencv@3
  • Export OpenSSL in your PATH - RunVX
brew info openssl

Verify Installation

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

Tested Configurations

  • macOS
    • Monterey V-12.0.1
  • Homebrew V-3.3.7
  • CMake V-3.22.1
  • OpenCV V-3.4.16
Clone this wiki locally