Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.54 KB

MacOSXInstall.rst

File metadata and controls

58 lines (36 loc) · 1.54 KB

Installation for MacOSX

Prerequisites

If not already installed:

  1. Install Xcode
  2. Install git
  3. Install CMake. The minimal version required is 3.7 if you want to compile with precompiled headers (build twice faster, enabled by default). Otherwise you can use a 3.1 version.
  4. Install Ninja : to use instead of make.

For an easy install, you can use the Hombrew project to install missing packages.

$ brew install git
$ brew install cmake
$ brew install ninja

For Openni dependency, you need libusb

$ brew install libusb-compat

If you plan to build extra dependencies, the VLC application is also needed.

$ brew cask install vlc

Build

Now you can compile the FW4SPL dependencies with make in the console, it will automaticaly download, build and install each dependency.

$ make install
$ make install_tool

The following programs may be helpful for your developments: