-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix ign server -s on Windows (take two) #52
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do. This message was generated by GitHub actions workflow run https://github.com/conda-forge/libignition-gazebo-feedstock/actions/runs/3284461027. |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2022.10.19.21.07.44
In 7d53cfd I enabled the upload of artifacts by the CI jobs, so that I can test locally if |
As there are a few doubts in gazebosim/gz-sim#1764 (comment) about some stranges CI failures on Ubuntu, let's apply the patch just on Windows. |
I tried this locally, but for some reason it is failing with:
For some reason, the files installed by the https://github.com/gazebosim/gz-sim/blob/ign-gazebo6/src/systems/CMakeLists.txt#L85 are not copied correctly in the conda packaage. |
Actually, this is not the problem. The problem is probably related to the fact that binary relocation does not work correctly on Windows. Anyhow, setting the path to find plugins manually, i.e.:
The test described in gazebosim/gz-sim#1574 is working fine. |
Probably the variables that we need to make sure to override with env variables are all the one contained in
In this table I try to map each C preprocssor macro with the corresponding env variable:
See gazebosim/gz-sim#626 for a related issue. |
Investigating Gazebo Sim docs I found two more env variables, i.e. |
Actually it turns out that the rendering and physics library on their own do not provide any mechanism to override the default directory specified by the code, so we need to set this variables here, as the variables are consumed just by ign-gazebo. |
Actually, this is not completly true: for gz-rendering, there is the |
In bafc5db and 3647c71 I added all the env variables I was able to add to solve the problem that is caused by ign-gazebo not being relocatable (gazebosim/gz-sim#626) and of the binary relocation not properly working on Windows. |
That was almost correct. The only wrong one was the |
Hi! This is the friendly conda-forge automerge bot! I considered the following status checks when analyzing this PR:
Thus the PR was passing and merged! Have a great day! |
Re-do of #49 after cherry-picking gazebosim/gz-sim#1574 on the 6.12.0 release (branch for reference: https://github.com/traversaro/ign-gazebo/tree/backportwindowsfixgz6120).
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)