You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ROS Melodic the FindUUID module causes addition of an obviously invalid -lUUID::UUID flag to linker options when cmake_modules is added as a <build_depend> (even if libuuid itself is not used at all in the code).
Compilation/linking error looks like this:
/usr/bin/ld: cannot find -lUUID::UUID
In our case simple removal of the file (/opt/ros/melodic/share/cmake_modules/cmake/Modules/FindUUID.cmake) solved the problem, but I'm not sure if it's a solution or a workaround.
The text was updated successfully, but these errors were encountered:
Can you provide a minimal reproducible case for this? There are definitely packages in Melodic that use cmake_modules and do not have this issue that build on the buildfarm. I think it's likely to do with something on your particular system.
It looks like it's trying to use the cmake style exported targets and not handling it correctly, based on the UUID::UUID.
In ROS Melodic the
FindUUID
module causes addition of an obviously invalid-lUUID::UUID
flag to linker options whencmake_modules
is added as a<build_depend>
(even iflibuuid
itself is not used at all in the code).Compilation/linking error looks like this:
In our case simple removal of the file (
/opt/ros/melodic/share/cmake_modules/cmake/Modules/FindUUID.cmake
) solved the problem, but I'm not sure if it's a solution or a workaround.The text was updated successfully, but these errors were encountered: