CMake Error while installing ROS2 packages with colcon
I am following the colcon tutorial: https://index.ros.org/doc/ros2/Colcon... .
wget https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos
vcs import ~/ros2_ws/src < ros2.repos
colcon build --symlink-install
I got an error message below. How would I fix it? Thanks.
Starting >>> fastrtps
--- stderr: fastrtps
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/home/zhfu/ros2_ws/src/eProsima/Fast-RTPS/src/cpp/ASIO_INCLUDE_DIR
used as include directory in directory /home/zhfu/ros2_ws/src/eProsima/Fast-RTPS/src/cpp
---
Failed <<< fastrtps [ Exited with code 1 ]
Aborted <<< ament_copyright
Summary: 17 packages finished [4.84s]
1 package failed: fastrtps
1 package aborted: ament_copyright
1 package had stderr output: fastrtps
209 packages not processed