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
- Ngôn ngữ chính
- Shell
- Star
- 509
- Fork
- 183
- Merge trung bình
- 22 giờ 26 phút
- Pull request đã merge (30 ngày)
- 7
Mô tả
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?
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lỗi với `source /opt/ros/humble/setup.bash`, sau đó là `colcon build` trong `~/microros_ws`. Kiểm tra xem `/opt/ros/humble/lib/libfastrtps.so.2.6.8` và dependency ROS 2 Humble tương ứng đã được cài đặt hay chưa, sau đó xác minh rằng workspace được build mà không có lỗi thiếu target.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- shell
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100