Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

micro_ros_agent installation issue on ROS 2 Humble Ubuntu 22.04 #764

Open
TannerGilbert opened this issue Jan 13, 2025 · 1 comment
Open

Comments

@TannerGilbert
Copy link

Issue template

  • Hardware description: PC, Ubuntu 22.04
  • RTOS: Ardupilot SITL
  • Installation type: micro_ros_setup
  • Version or commit hash: humble

Steps to reproduce the issue

Follow First micro-ROS Application on Linux. When creating and building the micro-ROS agent

ros2 run micro_ros_setup create_agent_ws.sh
ros2 run micro_ros_setup build_agent.sh

I run into the following error:

stderr: micro_ros_agent
CMake Error at /opt/ros/humble/share/fastrtps/cmake/fastrtps-dynamic-targets.cmake:37 (message):
Some (but not all) targets in this export set were already defined.

Targets Defined: eProsima_atomic

Targets not yet defined: fastrtps

Call Stack (most recent call first):
/opt/ros/humble/share/fastrtps/cmake/fastrtps-config.cmake:60 (include)
CMakeLists.txt:37 (find_package)

Expected behavior

micro-ROS agent installation works as expected and I can use it for working with Ardupilot.

Actual behavior

stderr: micro_ros_agent
CMake Error at /opt/ros/humble/share/fastrtps/cmake/fastrtps-dynamic-targets.cmake:37 (message):
Some (but not all) targets in this export set were already defined.

Targets Defined: eProsima_atomic

Targets not yet defined: fastrtps

Call Stack (most recent call first):
/opt/ros/humble/share/fastrtps/cmake/fastrtps-config.cmake:60 (include)
CMakeLists.txt:37 (find_package)

Additional information

Installing Fast-DDS from source didn't fix the issue for me either

@seifseghiri
Copy link

Hi Tanner,
Any solution yet for fixing this?
Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants