Skip to content

Commit

Permalink
Update macOS-Development-Setup.rst (#3758) (#3768)
Browse files Browse the repository at this point in the history
- add Xcode App Store link
    - BASH -> ZSH (default)
    - make homebrew paths generic

Co-authored-by: Philipp Dittmann <dittmann@cs.uni-bremen.de>
(cherry picked from commit 15260f5)

Co-authored-by: PhDittmann <dittmann@tzi.de>
  • Loading branch information
mergify[bot] and PhDittmann committed Jun 30, 2023
1 parent 94e9a2c commit c37221c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source/Installation/Alternatives/macOS-Development-Setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ You need the following things installed to build ROS 2:
#.
**Xcode**

* If you don't already have it installed, install Xcode.
* If you don't already have it installed, install [Xcode](https://apps.apple.com/app/xcode/id497799835).
* Note: Versions of Xcode later than 11.3.1 can no longer be installed on macOS Mojave, so you will need to install an older version manually, see: https://stackoverflow.com/a/61046761
* Also, if you don't already have it installed, install the Command Line Tools:

Expand Down Expand Up @@ -71,12 +71,12 @@ You need the following things installed to build ROS 2:
.. code-block:: bash
# Add the openssl dir for DDS-Security
# if you are using ZSH, then replace '.bashrc' with '.zshrc'
echo "export OPENSSL_ROOT_DIR=$(brew --prefix openssl)" >> ~/.bashrc
# if you are using BASH, then replace '.zshrc' with '.bashrc'
echo "export OPENSSL_ROOT_DIR=$(brew --prefix openssl)" >> ~/.zshrc
# Add the Qt directory to the PATH and CMAKE_PREFIX_PATH
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:/usr/local/opt/qt@5
export PATH=$PATH:/usr/local/opt/qt@5/bin
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:$(brew --prefix qt@5)
export PATH=$PATH:$(brew --prefix qt@5)/bin
#.
Use ``python3 -m pip`` (just ``pip`` may install Python3 or Python2) to install more stuff:
Expand All @@ -92,7 +92,7 @@ You need the following things installed to build ROS 2:
nose pep8 psutil pydocstyle pydot pygraphviz pyparsing==2.4.7 \
pytest-mock rosdep rosdistro setuptools==59.6.0 vcstool
Please ensure that the ``$PATH`` environment variable contains the install location of the binaries (default: ``$HOME/Library/Python/<version>/bin``)
Please ensure that the ``$PATH`` environment variable contains the install location of the binaries (``$(brew --prefix)/bin``)

#.
*Optional*: if you want to build the ROS 1<->2 bridge, then you must also install ROS 1:
Expand Down Expand Up @@ -156,7 +156,7 @@ Source the ROS 2 setup file:

.. code-block:: bash
. ~/ros2_{DISTRO}/install/setup.bash
. ~/ros2_{DISTRO}/install/setup.zsh
This will automatically set up the environment for any DDS vendors that support was built for.

Expand Down

0 comments on commit c37221c

Please sign in to comment.