Note: macOS support for the full range of functionality offered by the SDK is not yet complete. If you need support for R200 or the SR300, legacy librealsense offers a subset of SDK functionality.
- Install XCode 6.0+ via the AppStore
- Install the Homebrew package manager via terminal - link
- Install the following packages via brew:
brew install libusb pkg-config
brew install homebrew/core/glfw3
brew install cmake
- Generate XCode project:
mkdir build && cd build
cmake .. -DBUILD_EXAMPLES=true -DBUILD_WITH_OPENMP=false -DHWM_OVER_XU=false -G Xcode
- Open and build the XCode project
- SR300, D415 and D435 will stream depth, infrared and color at all supported resolutions
- The Viewer, Depth-Quality Tool and most of the examples should work
- Changing configurations will often result in a crash or the new configuration not being applied (WIP)