-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add <prefix>/lib/rtf
to LD_LIBRARY_PATH ?
#95
Comments
This is a workaround. I'd rather fix RTF instead... |
In which sense it is a workaround? How do you instruct RTF on where to find its plugins? A manifest file? A RTF-specific env variable? |
Setting |
I'm interested in this, but I have no idea on how to achieve it without |
I checked a few "
but none of them mention |
Me too! Just came through this "problem" as well while setting up the VM for EPR. I don't really like putting things in |
The idea should be to have some configuration or some manifest file to locate the library, and then open it using the full path. Unfortunately there are quite a lot of issues with this:
This is what YARP does, just to make an example. |
I think we should add it until we found a better solution. |
This is what YARP documentation suggests after all https://github.com/robotology/yarp/blame/v3.0.0/doc/rtf_plugins.md#L14 . |
Waiting a smarter solution, which will take time and brain power, I would add it as well. |
Several projects define their own
It would be nice if there could be a consensus among these kind of projects to support a However, sticking with the robotology-superbuild problem, we have this problem for two projects:
A possible solution would be if these two projects defined their own If instead we want to try to establish a consensus on a shared environmental variable, we could make it easy to use |
I had in mind exactly the approach used in ignition. I found it great also for what concern the tests, where the plugin folder inside the build directory was added in the search path automatically, without the need to manually operate on Despite |
I totally agree. Do you think anyhow the logic for finding the library can be added to the |
In robotology/blockfactory#32 I edited the
|
For reference, apparently in ROS's world this "finding the plugin path" is handled by pluginlib ( https://github.com/ros/pluginlib ) while most of the logic that we have in |
Using |
I think it really depends on how the project is installed. If the plugin is installed by the |
Yes, I meant installed from sources. If the project is installed from a packaged archive, the plugin might go in something like |
Great, I did not realized this was already supported by https://github.com/robotology/blockfactory/pull/32/files#diff-ca9447c1aff58642a23f971df7d32a95R138 . |
Can we try to synchronize the versions of
|
@drdanz You can strikeout |
I think the changes in robotology/blockfactory#32 are good to be submitted to https://github.com/robotology-playground/sharedlibpp . |
Regardless of the possibility to make cc @S-Dafarra is interested in this merge too |
Sorry, I didn't have time yet... Maybe you could open a PR on shlibpp and we can discuss the changes there? |
cc @Nicogene as he may be interested in all the shlibpp-related discussion. |
A fix for this issue is provided in #393 . A "proper" fix for RTF will be tracked in robotology/robot-testing-framework#109 . |
Otherwise, I don't think RTF plugins for YARP are working, see robotology/yarp#1375 .
The text was updated successfully, but these errors were encountered: