micro-ROS / micro-ROS/micro_ros_setup

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

未关闭
#758 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Shell
星标
509
派生
183
平均合并
22 小时 26 分钟
30 天内合并 PR
7

描述

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?

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先在 `~/microros_ws` 中使用 `source /opt/ros/humble/setup.bash`,随后执行 `colcon build`,重现该故障。检查是否已安装 `/opt/ros/humble/lib/libfastrtps.so.2.6.8` 及其对应的 ROS 2 Humble 依赖项,然后验证工作区是否能在没有缺少目标错误的情况下完成构建。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
build-system
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。