-
Notifications
You must be signed in to change notification settings - Fork 38
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
The uninstall
target gets exported when FRAMEWORK_COMPILE_RosImplementation
is ON causing configuration failures on WalkingControllers
#606
Comments
uninstall
target gets exported when FRAMEWORK_COMPILE_RosImplementation
is ON causing compilation failures on WalkingControllersuninstall
target gets exported when FRAMEWORK_COMPILE_RosImplementation
is ON causing configuration failures on WalkingControllers
maybe @traversaro has some hints |
In general it is quite common that the Having said that, it is indeed quite strange that |
It seems that Anyhow it seems to me that a |
Thank you @traversaro! |
I opened a bug upstream in ament/ament_cmake#427 . |
I did not understood this affected downstream libraries compilation, sorry for misreading it. |
At least for the walking-controllers case, the issue can also be solved by robotology/walking-controllers#141 . |
Ad discussed in chat with Giulio, a possible workaround for this is to add:
before |
What if another package links blf and |
Yes, this is the good point. For this reason fixing the issue downstream (like in robotology/walking-controllers#141) or upstream (like in ament/ament_cmake#427) is probably the way to go. At this point probably we can close this issue, as it is not anymore blf related. |
We recently noticed that
walking-controllers
was failing to configure. The culprit is theUninstallTarget
added in https://github.com/robotology/walking-controllers/blob/2872a321138d53c5cacc519808cee82fe8e75287/CMakeLists.txt#L89By editing the
CMakeLists
using the following code taken from https://discourse.cmake.org/t/cmake-list-of-all-project-targets/1077/17I managed to find that a target named
uninstall
was added afterChecking with @GiulioRomualdi, we noticed that this does not happen if we force
FRAMEWORK_USE_rclcpp
to OFFThe text was updated successfully, but these errors were encountered: