1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
.. _installing_homebrew:
Installing on Mac OS X using Homebrew
=====================================
This tutorial explains how to install the Point Cloud Library on Mac OS
X using Homebrew.
.. image:: images/macosx_logo.png
:alt: Mac OS X logo
:align: right
.. _homebrew_preqs:
Prerequisites
=============
You will need to have Homebrew installed. If you do not already have a Homebrew installation, see the
`Homebrew homepage`_ for installation instructions.
.. _`Homebrew homepage`:
http://brew.sh/
.. _homebrew_all:
Using the formula
=================
The PCL formula is in the Homebrew official repositories.
This will automatically install all necessary dependencies and provides options for controlling
which parts of PCL are installed.
.. note::
To prepare it, follow these steps:
#. Install Homebrew. See the Homebrew website for instructions.
#. Execute ``brew update``.
To install the latest version using the formula, execute the following command::
$ brew install pcl
You can specify options to control which parts of PCL are installed. For
example, to build just the libraries without extra dependencies, execute the following command::
$ brew install pcl --without-apps --without-tools --without-vtk --without-qt
For a full list of the available options, see the formula's help::
$ brew options pcl
Once PCL is installed, you may wish to periodically upgrade it. Update
Homebrew and, if a PCL update is available, upgrade::
$ brew update
$ brew upgrade pcl
Using PCL
---------
Now that PCL in installed, you can start using the library in your own
projects by following the :ref:`using_pcl_pcl_config` tutorial.
|