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

Offen
#758 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Shell
Sterne
509
Forks
183
Ø Merge
22 Std. 26 Min.
Gemergte PRs (30 T.)
7

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, den Fehler mit `source /opt/ros/humble/setup.bash` gefolgt von `colcon build` in `~/microros_ws` zu reproduzieren. Prüfe, ob `/opt/ros/humble/lib/libfastrtps.so.2.6.8` und die entsprechende ROS 2 Humble-Abhängigkeit installiert sind, und verifiziere anschließend, dass der Workspace ohne den Fehler wegen des fehlenden Ziels gebaut wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.