ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This is a recent error that comes from the OSRF nightly archives.

Opened an issue at https://github.com/ros2/ros2/issues/903

In the meantime, if you want to use the latest version of the code and working around this issue, you can use the osrf/ros2:nightly-rmw-nonfree docker image and sourcing the RTI setup file before building.

FROM osrf/ros2:nightly-rmw-nonfree

# we want to be able to source
SHELL ["/bin/bash", "-c"]

# Install git
RUN apt-get update && \
    apt-get install -y git && \
    apt-get install -y libssl-dev

# clone the test repos
RUN cd /root && mkdir -p ros2_workspace/src && \
    cd ros2_workspace/src && \
    git clone https://github.com/cmorganBE/ros2_server_example.git && \
    git clone https://github.com/cmorganBE/ros2_idl_example.git && \
    cd ros2_idl_example && git checkout 7091c75045f26d

# build the workspace
RUN cd /root/ros2_workspace && \
    source /opt/rti.com/rti_connext_dds-5.3.1/setenv_ros2rti.bash && \
    source /opt/ros/foxy/setup.bash && \
    colcon build --symlink-install

CMD ["bash"]

Note that the need to install libssl-dev by hand is another issue that is being resolved independently