Seeing as you've tagged this eloquent
: if you've installed ROS 2 using the deb
repositories on Ubuntu, you could check you have the required packages installed.
For Eloquent, that would be packages like fastrtps
and rmw_fastrtps_cpp
(see repo.ros2.org/status_page/ros_eloquent_default.html?q=fast for all packages).
To check you have those installed, you could use a command like this:
dpkg -l | grep fastrt
Note btw: this will not show you "whether you have DDS installed", it will show you whether you have the FastRTPS packages installed. Pedantic, but those contain only a single implementation of DDS. There are quite a few more, but those are not distributed by default with ROS 2.
Edit: from your screenshot it appears you have built ROS 2 from source. In that case the dpkg
command I included earlier will not help you.
For source installs, you'll want to check you:
- have the Fast RTPS sources in your workspace
- they have been built during the overall ROS 2 build (with Colcon)
- the
install
space has the Fast RTPS libraries in the lib
sub folder.