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
Exporting LD_LIBRARY_PATH for interfaces #132
Comments
If a package only exports dependencies but doesn't have any libraries why would it need to set the |
I think there was a slight typo in @stonier initial comment. We were interested in whether |
Yes, indeed. Thanks @clalancette. Intended |
@stonier I updated the patch in the referenced PR. You will have to change your code to actually pass the export name instead of the target as well as pass the new option added in the referenced PR. Please let me know if that works for your use case. |
Hitherto would cause a problem on builds with isolated installs, so you are supposed to explicitly state the target name, refer to ament/ament_cmake#132 Colcon/bouncy don't face any issues though. How to reproduce the error?
As brought in, in PR 73 #73 Reported in ament/ament_cmake#132 And fixed in https://github.com/ament/ament_cmake/pull/135/files
As brought in, in PR 73 stonier/ecl_core#73 Reported in ament/ament_cmake#132 And fixed in https://github.com/ament/ament_cmake/pull/135/files
* [infra] rever the workaround (PR #73) for interface library exports Hitherto would cause a problem on builds with isolated installs, so you are supposed to explicitly state the target name, refer to - ament/ament_cmake#132 - https://github.com/ament/ament_cmake/pull/135/files Colcon/bouncy doesn't reproduce our earlier problems since it exports all of the appropriate paths regardless. This however, should be the right fix.
* [infra] rever the workaround (PR #73) for interface library exports Hitherto would cause a problem on builds with isolated installs, so you are supposed to explicitly state the target name, refer to - ament/ament_cmake#132 - https://github.com/ament/ament_cmake/pull/135/files Colcon/bouncy doesn't reproduce our earlier problems since it exports all of the appropriate paths regardless. This however, should be the right fix.
@clalancette noticed that if building in isolated mode, the
LD_LIBRARY_PATH
does not get set when only usingament_export_interfaces(...)
and notament_export_libraries(...)
.See stonier/ecl_core#73 for context and discussion.
Seems redundant to have to additionally set the
export_libraries
, is this intended?The text was updated successfully, but these errors were encountered: