Skip to content
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

Ensure .dll files in Windows gets installed in %CONDA_PREFIX%/Library/bin and not %CONDA_PREFIX%/Library/lib #457

Open
4 of 9 tasks
traversaro opened this issue Mar 10, 2024 · 6 comments · Fixed by #458
Labels
bug Something isn't working needs-rebuild

Comments

@traversaro
Copy link
Member

traversaro commented Mar 10, 2024

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

See #374 (comment) .

.dll files currently installed in lib:

@traversaro traversaro added the bug Something isn't working label Mar 10, 2024
@traversaro
Copy link
Member Author

A specific case of this was reported in #381 .

@Tobias-Fischer
Copy link
Collaborator

Great investigation as always @traversaro, thanks a lot! I wonder whether we should include a test section in vinca that looks for any dlls installed in the wrong location, to avoid issues in the future? Also, do you think we have similar problems in ros-humble? It might be worth checking.

@traversaro
Copy link
Member Author

I wonder whether we should include a test section in vinca that looks for any dlls installed in the wrong location, to avoid issues in the future?

Unfortunately it seems that some packages install their .dll in the form of plugin that are expected to be found in %CONDA_PREFIX%\Library\lib, as such location is declared in a .xml file to locate the plugin, so those are ok, so we can't just check that there are no .dll in %CONDA_PREFIX%\Library\lib, unless we have a test that we skip for some packages, but that is a bit more complex.

@traversaro
Copy link
Member Author

Also, do you think we have similar problems in ros-humble? It might be worth checking.

Good point, installing ros-humble-desktop ros-humble-moveit there are two problematic files:

 Directory of C:\Users\straversaro\AppData\Local\miniforge3\envs\ros-humble\Library\lib

09/17/2023  06:18 AM            84,992 backward.dll
02/07/2023  08:17 PM            13,312 tf2_eigen_kdl.dll
               2 File(s)         98,304 bytes
               0 Dir(s)  443,462,447,104 bytes free

I will open a ros-humble issue to tackle those.

@traversaro
Copy link
Member Author

For backward_dll, this was already fixed upstream in pal-robotics/backward_ros@1ca04e3 .

@Tobias-Fischer
Copy link
Collaborator

Reopening till packages are rebuilt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-rebuild
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants