Skip to content

Commit

Permalink
Merge pull request robotology#71 from robotology/traversaro-patch-2
Browse files Browse the repository at this point in the history
Document setting of YARP_DATA_DIRS to ensure that devices can be found
  • Loading branch information
randaz81 authored Aug 27, 2024
2 parents 2ed956d + 6920827 commit 509a1d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ cmake -S. -Bbuild -DCMAKE_INSTALL_PREFIX=<install_prefix>
cmake --build build
cmake --build build --target install
# Make YARP devices available
export YARP_DATA_DIRS=$YARP_DATA_DIRS:<install_prefix>/share/yarp
# Make ROS msgs available in [ament index](https://github.com/ament/ament_index)
export AMENT_PREFIX_PATH=$AMENT_PREFIX_PATH:<install_prefix>
~~~
Expand All @@ -43,6 +46,9 @@ export AMENT_PREFIX_PATH=$AMENT_PREFIX_PATH:<install_prefix>
cmake -S. -Bbuild -DYARP_ROS2_USE_SYSTEM_map2d_nws_ros2_msgs:BOOL=ON -DYARP_ROS2_USE_SYSTEM_yarp_control_msgs:BOOL=ON -DCMAKE_INSTALL_PREFIX=<install_prefix>
cmake --build build
cmake --build build --target install

# Make YARP devices available
export YARP_DATA_DIRS=$YARP_DATA_DIRS:<install_prefix>/share/yarp
~~~

CI Status
Expand Down

0 comments on commit 509a1d6

Please sign in to comment.