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

ros2 branch is not compiling for ROS 2 Humble #232

Closed
Noel215 opened this issue May 31, 2023 · 4 comments
Closed

ros2 branch is not compiling for ROS 2 Humble #232

Noel215 opened this issue May 31, 2023 · 4 comments

Comments

@Noel215
Copy link

Noel215 commented May 31, 2023

This is the error when compiling in ROS 2 Humble:

Starting >>> sound_play
--- stderr: sound_play                                                                      
CMake Error at /opt/ros/humble/share/ament_cmake_python/cmake/ament_python_install_package.cmake:106 (add_custom_target):
  add_custom_target cannot create target
  "ament_cmake_python_symlink_sound_play" because another target with the
  same name already exists.  The existing target is a custom target created
  in source directory
  "/home/user/exchange/alum/my_ws/src/audio_common/sound_play".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  /opt/ros/humble/share/ament_cmake_python/cmake/ament_python_install_package.cmake:39 (_ament_cmake_python_install_package)
  CMakeLists.txt:36 (ament_python_install_package)


CMake Error at /opt/ros/humble/share/ament_cmake_python/cmake/ament_python_install_package.cmake:141 (add_custom_target):
  add_custom_target cannot create target
  "ament_cmake_python_build_sound_play_egg" because another target with the
  same name already exists.  The existing target is a custom target created
  in source directory
  "/home/user/exchange/alum/my_ws/src/audio_common/sound_play".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  /opt/ros/humble/share/ament_cmake_python/cmake/ament_python_install_package.cmake:39 (_ament_cmake_python_install_package)
  CMakeLists.txt:36 (ament_python_install_package)


---
Failed   <<< sound_play [1.17s, exited with code 1]

@knorth55
Copy link
Member

plase check this pr

ros2/rosidl_python#187

@Noel215
Copy link
Author

Noel215 commented Jun 1, 2023

Good to know!

Then, are you releasing the packages for humble and following distributions after that is merged?

@knorth55
Copy link
Member

knorth55 commented Jun 1, 2023

Then, are you releasing the packages for humble and following distributions after that is merged?

yes.

@Noel215
Copy link
Author

Noel215 commented Jun 1, 2023

Perfect!! Thanks :)

@Noel215 Noel215 closed this as completed Jun 1, 2023
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