Skip to content

Commit

Permalink
Fix ament cmake transitive dependency issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Ding committed Jun 18, 2024
1 parent 57928e9 commit 65a4b33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drake_ament_cmake_installed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ the required packages and configure your environment as follows:
sudo ../scripts/setup/linux/ubuntu/jammy/install_prereqs --ros-humble
source /opt/ros/humble/setup.bash
```
Add drake library path to Linux search path.
```
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/drake/lib" >> ~/.bashrc
```

To build the `drake_ament_cmake_installed` library:
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,7 @@ ament_export_include_directories(include)
ament_export_interfaces(export_${PROJECT_NAME})
ament_export_libraries(${PROJECT_NAME})

# This is required to make the package findable by downstream packages
ament_export_dependencies(drake)

ament_package()

0 comments on commit 65a4b33

Please sign in to comment.