Skip to content

Commit

Permalink
Instructions on how to resolve /issues/953 (#816)
Browse files Browse the repository at this point in the history
* Instructions on how to resolve /issues/953

On Mac you might encounter issues with qt5 while running rosdep. 
I Added instructions on how to resolve this.

* Update source/Troubleshooting/Installation-Troubleshooting.rst

Co-authored-by: Marya Belanger <[email protected]>

Co-authored-by: Marya Belanger <[email protected]>
  • Loading branch information
SebastianGrans and maryaB-osr authored Jul 13, 2020
1 parent 730114c commit 5148138
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions source/Troubleshooting/Installation-Troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,34 @@ When building qt_gui_cpp there may be errors look like the following:
To fix this issue, follow `these steps <../../Tutorials/RQt-Source-Install-MacOS>` to install dependencies for RQt.

rosdep install error ``homebrew: Failed to detect successful installation of [qt5]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
While following the `Creating a workspace <https://index.ros.org/doc/ros2/Tutorials/Workspace/Creating-A-Workspace/#creating-a-workspace>`__ tutorial, you might encounter the following error stating that ``rosdep`` failes to install Qt5.

.. code-block:: bash
$ rosdep install -i --from-path src --rosdistro foxy -y
executing command [brew install qt5]
Warning: qt 5.15.0 is already installed and up-to-date
To reinstall 5.15.0, run `brew reinstall qt`
ERROR: the following rosdeps failed to install
homebrew: Failed to detect successful installation of [qt5]
This error seems to stem from a `linking issue <https://github.com/ros-infrastructure/rosdep/issues/490#issuecomment-334959426>`__ and can be resolved by running the following command.

.. code-block:: bash
$ cd /usr/local/Cellar
$ sudo ln -s qt qt5
Running the ``rosdep`` command should now execute normally:

.. code-block:: bash
$ rosdep install -i --from-path src --rosdistro foxy -y
#All required rosdeps installed successfully
.. _windows-troubleshooting:

Windows
Expand Down

0 comments on commit 5148138

Please sign in to comment.