Skip to content

Commit f2573a6

Browse files
committed
Adds installation instructions for log4cxx.
Windows and Mac require log4cxx to be installed via choco and brew, respectively. This change updates the build and install instructions to include information about installing log4cxx.
1 parent b057151 commit f2573a6

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

source/Installation/OSX-Development-Setup.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ You need the following things installed to build ROS 2:
5959
6060
brew install opencv
6161
62+
# install dependencies for rcl_logging_log4cxx
63+
brew install log4cxx
64+
6265
#.
6366
Install rviz dependencies
6467

source/Installation/OSX-Install-Binary.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ You need the following things installed before installing ROS 2.
6969
# install Qt for RViz
7070
brew install qt freetype assimp
7171
72+
# install dependencies for rcl_logging_log4cxx
73+
brew install log4cxx
74+
7275
*
7376
Install rqt dependencies
7477

source/Installation/Windows-Development-Setup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ Hit the windows key and type ``Edit Group Policy``. Navigate to Local Computer P
302302

303303
Close and open your terminal to reset the environment and try building again.
304304

305-
CMake Packages Unable to Find asio, tinyxml2, tinyxml, or eigen
305+
CMake Packages Unable to Find asio, tinyxml2, tinyxml, eigen, or log4cxx
306306
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
307307

308308
We've seen, but been unable to identify the root cause, that sometimes the chocolatey packages for ``asio``, ``tinyxml2``, etc. do not add important registry entries and that will cause CMake to be unable to find them when building ROS 2.

source/Installation/Windows-Install-Binary.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,13 @@ Please download these packages from `this <https://github.com/ros2/choco-package
171171
* eigen-3.3.4.nupkg
172172
* tinyxml-usestl.2.6.2.nupkg
173173
* tinyxml2.6.0.0.nupkg
174+
* log4cxx.0.10.0.nupkg
174175

175176
Once these packages are downloaded, open an administrative shell and execute the following command:
176177

177178
.. code-block:: bash
178179
179-
> choco install -y -s <PATH\TO\DOWNLOADS\> asio eigen tinyxml-usestl tinyxml2
180+
> choco install -y -s <PATH\TO\DOWNLOADS\> asio eigen tinyxml-usestl tinyxml2 log4cxx
180181
181182
Please replace ``<PATH\TO\DOWNLOADS>`` with the folder you downloaded the packages to.
182183

0 commit comments

Comments
 (0)