Title: Jazzy Interface generation · Issue #250 · ros2-java/ros2_java · GitHub
Open Graph Title: Jazzy Interface generation · Issue #250 · ros2-java/ros2_java
X Title: Jazzy Interface generation · Issue #250 · ros2-java/ros2_java
Description: I have been maintaining a (desktop) version of this repo for humble (https://github.com/EGAlberts/ros2_java) particularly the version I use most is . I recently attempted to update to Jazzy to access newer versions of libraries related t...
Open Graph Description: I have been maintaining a (desktop) version of this repo for humble (https://github.com/EGAlberts/ros2_java) particularly the version I use most is . I recently attempted to update to Jazzy to acce...
X Description: I have been maintaining a (desktop) version of this repo for humble (https://github.com/EGAlberts/ros2_java) particularly the version I use most is . I recently attempted to update to Jazzy to acce...
Opengraph URL: https://github.com/ros2-java/ros2_java/issues/250
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Jazzy Interface generation","articleBody":"I have been maintaining a (desktop) version of this repo for humble (https://github.com/EGAlberts/ros2_java) particularly the version I use most is .\n\nI recently attempted to update to Jazzy to access newer versions of libraries related to my work, however I discovered there is an issue with CMake builds when it comes to Jazzy. I tried to isolate it to very simple builds such as just generating the java versions of builtin_interfaces.\n\nI get errors along these lines:\nCMake Error at /opt/ros/jazzy/share/rosidl_generator_c/cmake/rosidl_generator_c_generate_interfaces.cmake:145 (add_library):\n add_library cannot create ALIAS target\n \"builtin_interfaces::builtin_interfaces__rosidl_generator_c\" because\n another target with the same name already exists.\nCall Stack (most recent call first):\n /opt/ros/jazzy/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:48 (include)\n /opt/ros/jazzy/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)\n CMakeLists.txt:19 (rosidl_generate_interface)\n\nI think the actual line/file given is a red herring though, as repeating this process without any ros2-java involved does not lead to an error from the file listed. However the issue it points out seems to be real, as I did have success building ros2 from source i.e. having ros2-java always be involved in the generation of header files for interfaces. So it seems the existence of builtin_interfaces a binary in the ros2 jazzy install causes a conflict when rebuilding it in an overlaying workspace with ros2-java, specifically I suppose in rosidl_generator_java. ","author":{"url":"https://github.com/EGAlberts","@type":"Person","name":"EGAlberts"},"datePublished":"2026-01-13T13:54:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/250/ros2_java/issues/250"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d33facf6-5bb6-6c71-b4a2-b923265c3fde |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAEC:3C3C61:1642770:1C30845:697F26AB |
| html-safe-nonce | 34aafd6f39a4f9102b504634638a3d48225fa9f552b59931c1dfdfd728821a8d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUVDOjNDM0M2MToxNjQyNzcwOjFDMzA4NDU6Njk3RjI2QUIiLCJ2aXNpdG9yX2lkIjoiNzY2NDExNzgzNDM1NTUxNzA5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 56aa677bf68114cb8c92bd039fa5d415e4ae0783c6759523546acfa076434de9 |
| hovercard-subject-tag | issue:3808957905 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ros2-java/ros2_java/250/issue_layout |
| twitter:image | https://opengraph.githubassets.com/782e91d76c1c29a084af6e9792d1ee59acc3aa0021414081fe64d0f59983353e/ros2-java/ros2_java/issues/250 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/782e91d76c1c29a084af6e9792d1ee59acc3aa0021414081fe64d0f59983353e/ros2-java/ros2_java/issues/250 |
| og:image:alt | I have been maintaining a (desktop) version of this repo for humble (https://github.com/EGAlberts/ros2_java) particularly the version I use most is . I recently attempted to update to Jazzy to acce... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EGAlberts |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/ros2-java/ros2_java git https://github.com/ros2-java/ros2_java.git |
| octolytics-dimension-user_id | 23436176 |
| octolytics-dimension-user_login | ros2-java |
| octolytics-dimension-repository_id | 52850323 |
| octolytics-dimension-repository_nwo | ros2-java/ros2_java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 52850323 |
| octolytics-dimension-repository_network_root_nwo | ros2-java/ros2_java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width