File: installing_homebrew.rst

package info (click to toggle)
pcl 1.7.2-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 138,052 kB
  • ctags: 39,618
  • sloc: cpp: 446,687; xml: 28,552; ansic: 13,753; python: 539; makefile: 72; sh: 25
file content (68 lines) | stat: -rw-r--r-- 1,987 bytes parent folder | download
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
65
66
67
68
.. _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 not in Homebrew official repositories yet, but it will be after 1.7.2.
For now it resides at `Fran6co's repository <https://github.com/fran6co/homebrew-cv>`_ and can be tapped from there.
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``.
   #. Execute ``brew tap homebrew/versions``.
   #. Execute ``brew tap homebrew/science``.
   #. Execute ``brew tap fran6co/cv``.

To install the latest version using the formula, execute the following command::

  $ brew install pcl --HEAD

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 --HEAD --without-apps --without-tools --without-vtk --without-qvtk --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.