GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Error building micro_ros_agent due to missing target /opt/ros/humble/lib/libfastrtps.so.2.6.8 · Issue #758 · micro-ROS/micro_ros_setup

Error building micro_ros_agent due to missing target /opt/ros/humble/lib/libfastrtps.so.2.6.8 #758

New issue
Copy link
New issue
Copy link
Open
Open
Error building micro_ros_agent due to missing target /opt/ros/humble/lib/libfastrtps.so.2.6.8#758
Copy link

Description

@seiya333
seiya333
opened on Dec 27, 2024
Issue body actions

Hello,
I am encountering an issue while building the micro_ros_agent package in my workspace. The error indicates a missing target for /opt/ros/humble/lib/libfastrtps.so.2.6.8. Here are the details:
Build Command:

colcon build

Error Output:

[0.411s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces:
... (output omitted for brevity) ...
--- stderr: micro_ros_agent
gmake[2]: *** 'micro_ros_agent' に必要なターゲット '/opt/ros/humble/lib/libfastrtps.so.2.6.8' を make するルールがありません. 中止.
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/micro_ros_agent.dir/all] エラー 2
gmake: *** [Makefile:146: all] エラー 2

Environment:

ROS 2 Distribution: Humble
OS: [Your OS, e.g., Ubuntu 22.04]
micro-ROS workspace: /home/takasei/microros_ws
colcon version: [Run colcon version to get this information]

Steps to Reproduce:

Source the ROS 2 Humble workspace:

source /opt/ros/humble/setup.bash

Set up the micro-ROS workspace:

cd ~/microros_ws
colcon build

Encounter the error above.

Questions:

How can I resolve the missing target for /opt/ros/humble/lib/libfastrtps.so.2.6.8?
Is this a compatibility issue between micro-ROS and ROS 2 Humble?
Are there any specific dependencies or setup steps I might have missed?

Activity

  1. seiya333 commented on Dec 27, 2024

    @seiya333
    seiya333
    on Dec 27, 2024
    Author
    More actions

    [0.411s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces:
    'nav_msgs' is in: /home/takasei/microros_ws/install/nav_msgs, /opt/ros/humble
    'test_msgs' is in: /home/takasei/microros_ws/install/test_msgs, /opt/ros/humble
    'composition_interfaces' is in: /home/takasei/microros_ws/install/composition_interfaces, /opt/ros/humble
    'geometry_msgs' is in: /home/takasei/microros_ws/install/geometry_msgs, /opt/ros/humble
    'rosgraph_msgs' is in: /home/takasei/microros_ws/install/rosgraph_msgs, /opt/ros/humble
    'common_interfaces' is in: /home/takasei/microros_ws/install/common_interfaces, /opt/ros/humble
    'example_interfaces' is in: /home/takasei/microros_ws/install/example_interfaces, /opt/ros/humble
    'unique_identifier_msgs' is in: /home/takasei/microros_ws/install/unique_identifier_msgs, /opt/ros/humble
    'sensor_msgs' is in: /home/takasei/microros_ws/install/sensor_msgs, /opt/ros/humble
    'std_srvs' is in: /home/takasei/microros_ws/install/std_srvs, /opt/ros/humble
    'sensor_msgs_py' is in: /home/takasei/microros_ws/install/sensor_msgs_py, /opt/ros/humble
    'trajectory_msgs' is in: /home/takasei/microros_ws/install/trajectory_msgs, /opt/ros/humble
    'statistics_msgs' is in: /home/takasei/microros_ws/install/statistics_msgs, /opt/ros/humble
    'diagnostic_msgs' is in: /home/takasei/microros_ws/install/diagnostic_msgs, /opt/ros/humble
    'lifecycle_msgs' is in: /home/takasei/microros_ws/install/lifecycle_msgs, /opt/ros/humble
    'std_msgs' is in: /home/takasei/microros_ws/install/std_msgs, /opt/ros/humble
    'builtin_interfaces' is in: /home/takasei/microros_ws/install/builtin_interfaces, /opt/ros/humble
    'visualization_msgs' is in: /home/takasei/microros_ws/install/visualization_msgs, /opt/ros/humble
    'rcl_interfaces' is in: /home/takasei/microros_ws/install/rcl_interfaces, /opt/ros/humble
    'action_msgs' is in: /home/takasei/microros_ws/install/action_msgs, /opt/ros/humble
    If a package in a merged underlay workspace is overridden and it installs headers, then all packages in the overlay must sort their include directories by workspace order. Failure to do so may result in build failures or undefined behavior at run time.
    If the overridden package is used by another package in any underlay, then the overriding package in the overlay must be API and ABI compatible or undefined behavior at run time may occur.

    If you understand the risks and want to override a package anyways, add the following to the command line:
    --allow-overriding action_msgs builtin_interfaces common_interfaces composition_interfaces diagnostic_msgs example_interfaces geometry_msgs lifecycle_msgs nav_msgs rcl_interfaces rosgraph_msgs sensor_msgs sensor_msgs_py statistics_msgs std_msgs std_srvs test_msgs trajectory_msgs unique_identifier_msgs visualization_msgs

    This may be promoted to an error in a future release of colcon-override-check.
    Starting >>> builtin_interfaces
    Starting >>> microcdr
    Starting >>> micro_ros_msgs
    Starting >>> unique_identifier_msgs
    Starting >>> micro_ros_utilities
    Starting >>> std_srvs
    Starting >>> lifecycle_msgs
    Starting >>> micro_ros_setup
    Finished <<< microcdr [0.32s]
    Starting >>> microxrcedds_client
    Starting >>> rosidl_typesupport_microxrcedds_c
    Finished <<< micro_ros_setup [0.33s]
    Finished <<< micro_ros_utilities [0.37s]
    Finished <<< microxrcedds_client [0.31s]
    Finished <<< std_srvs [0.86s]
    Finished <<< micro_ros_msgs [0.89s]
    Finished <<< unique_identifier_msgs [0.90s]
    Finished <<< lifecycle_msgs [0.90s]
    Finished <<< builtin_interfaces [0.94s]
    Starting >>> std_msgs
    Starting >>> action_msgs
    Starting >>> rcl_interfaces
    Starting >>> complex_msgs
    Starting >>> micro_ros_agent
    Starting >>> rosgraph_msgs
    Starting >>> statistics_msgs
    Finished <<< rosidl_typesupport_microxrcedds_c [0.76s]
    Starting >>> rosidl_typesupport_microxrcedds_cpp
    --- stderr: micro_ros_agent
    gmake[2]: *** 'micro_ros_agent' に必要なターゲット '/opt/ros/humble/lib/libfastrtps.so.2.6.8' を make するルールがありません. 中止.
    gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/micro_ros_agent.dir/all] エラー 2
    gmake: *** [Makefile:146: all] エラー 2

    Failed <<< micro_ros_agent [0.26s, exited with code 2]
    Aborted <<< complex_msgs [0.85s]
    Aborted <<< action_msgs [0.87s]
    Aborted <<< rcl_interfaces [0.86s]
    Aborted <<< rosgraph_msgs [0.87s]
    Aborted <<< std_msgs [0.90s]
    Aborted <<< statistics_msgs [0.88s]
    Aborted <<< rosidl_typesupport_microxrcedds_cpp [0.79s]

    Summary: 10 packages finished [2.25s]
    1 package failed: micro_ros_agent
    7 packages aborted: action_msgs complex_msgs rcl_interfaces rosgraph_msgs rosidl_typesupport_microxrcedds_cpp statistics_msgs std_msgs
    1 package had stderr output: micro_ros_agent
    22 packages not processed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.