Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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 >>> osrf_testing_tools_cpp Finished <<< fastcdr [0.28s]
Finished <<< osrf_testing_tools_cpp [0.34s]
Starting >>> fastrtps --- stderr: fastrtps
In file included from /home/zhouchengming/ros2_arm/ros2_ws/src/eProsima/Fast-RTPS/thirdparty/asio/asio/include/asio/ssl/context_base.hpp:19:0, from /home/zhouchengming/ros2_arm/ros2_ws/src/eProsima/Fast-RTPS/thirdparty/asio/asio/include/asio/ssl/context.hpp:23, from /home/zhouchengming/ros2_arm/ros2_ws/src/eProsima/Fast-RTPS/thirdparty/asio/asio/include/asio/ssl.hpp:18, from /home/zhouchengming/ros2_arm/ros2_ws/src/eProsima/Fast-RTPS/include/fastrtps/transport/TCPChannelResourceSecure.h:19, from /home/zhouchengming/ros2_arm/ros2_ws/src/eProsima/Fast-RTPS/include/fastrtps/transport/TCPAcceptorSecure.h:19, from /home/zhouchengming/ros2_arm/ros2_ws/src/eProsima/Fast-RTPS/include/fastrtps/transport/TCPTransportInterface.h:25, from /home/zhouchengming/ros2_arm/ros2_ws/src/eProsima/Fast-RTPS/src/cpp/transport/TCPChannelResourceBasic.cpp:1: /home/zhouchengming/ros2_arm/ros2_ws/src/eProsima/Fast-RTPS/thirdparty/asio/asio/include/asio/ssl/detail/openssl_types.hpp:20:26:fatal error: openssl/conf.h: No such file or directory #include <openssl conf.h="">