Robotics StackExchange | Archived questions

ros2 fastrtps compile failed

Hello, I compile ros2 source on my ubuntu 16.04 machine, when I compile the fastrtps cmake package, report error:

Starting >>> fastcdr Starting >>> osrftestingtoolscpp Finished <<< fastcdr [0.28s]
Finished <<< osrf
testingtoolscpp [0.34s]
Starting >>> fastrtps --- stderr: fastrtps
In file included from /home/zhouchengming/ros2arm/ros2ws/src/eProsima/Fast-RTPS/thirdparty/asio/asio/include/asio/ssl/contextbase.hpp:19:0, from /home/zhouchengming/ros2arm/ros2ws/src/eProsima/Fast-RTPS/thirdparty/asio/asio/include/asio/ssl/context.hpp:23, from /home/zhouchengming/ros2arm/ros2ws/src/eProsima/Fast-RTPS/thirdparty/asio/asio/include/asio/ssl.hpp:18, from /home/zhouchengming/ros2arm/ros2ws/src/eProsima/Fast-RTPS/include/fastrtps/transport/TCPChannelResourceSecure.h:19, from /home/zhouchengming/ros2arm/ros2ws/src/eProsima/Fast-RTPS/include/fastrtps/transport/TCPAcceptorSecure.h:19, from /home/zhouchengming/ros2arm/ros2ws/src/eProsima/Fast-RTPS/include/fastrtps/transport/TCPTransportInterface.h:25, from /home/zhouchengming/ros2arm/ros2ws/src/eProsima/Fast-RTPS/src/cpp/transport/TCPChannelResourceBasic.cpp:1: /home/zhouchengming/ros2arm/ros2ws/src/eProsima/Fast-RTPS/thirdparty/asio/asio/include/asio/ssl/detail/openssltypes.hpp:20:26:fatal error: openssl/conf.h: No such file or directory #include

Asked by zcm on 2019-08-08 22:30:45 UTC

Comments

Answers