Closed mdrwiega closed 2 years ago
Hi Michal,
Thanks for reaching out. One way out of that would either to not make use of --recursive (as that's the root cause of the problem), but that seems to be not possible in your case, if I understood. So placing COLCON_IGNORE to one of the spdlog folders would help as an immediate solution.
To support this kind of usage in general, we have to remove the ad_rss_lib/dependencies/spdlog but then have to note the '--recursive' usage on submodule update in the readme.
Hi,
Thanks a lot for your help.
Yes, because of other dependencies I have to use --recursive option.
Also, the COLCON_IGNORE is not an option because I'm using the ros-tooling/action-ros-ci
that doesn't support intermediate steps (to add file) between dependencies importing (vcs
) and building with colcon.
But, I'll try to get rid of the spdlog
dependency from ad_rss_lib
and to use the one from map
.
Best regards, Michal
Hi,
I have noticed an issue with multiple packages
spdlog
during the building ofad_rss_lib
withcolcon
.The
ad_rss_lib
is added as a dependency to another ROS2 package (custom_package
).Then dependencies of
custom_package
are pulled withvcs import --recursive < dependency.repos
. During the building, I'm receiving the below error.That's because the
spdlog
is pulled twice: first as thead_rss_lib
dependency and then again as the dependency ofcarla_simulator/map
.The same happens during building the
ad_rss_lib
separately but with the--recursive
option ingit submodule update
.Thank you for developing the RSS related project. Best regards, Michal