-
Notifications
You must be signed in to change notification settings - Fork 1
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
docs: install_windows_src #1701
docs: install_windows_src #1701
Comments
I can try out this one 😄 |
Alright, I'm hitting 2 issues currently following the instructions: 1, Visual studio install C++ Cmake tools is now called 'c++ Cmake tools for windows' and MFC and ATL are seperated in 'C++ ATL for latest ... build tools...' and 'C++ MFC for latest ... build tools...'. Also the sentence of '... can be left unchecked' almost made me remove all the other checkboxes. I have print screen here of what I selected according to my interpretation of those instructions: But not sure if it is correct since that makes me go to the following: 2. Build issues. gz-math doesn't build with colcon:
Still in the process of figuring out what is necessary. Perhaps I have missed something with the visual studio install or I have to check if I can install 2019. The debugging will continue... |
Alright I've got more data here. The stdout_error of colcon for gz_math is indicating an issue with ruby:
This looks like similarly to what openstudio is dealing with here: NREL/OpenStudio#5223. I've downgraded the ruby package to 3.2.2 from 3.3.3 with |
So the issue is with building swig wrappers? You can disable them with a CMake argument |
Yes disabling that did work. I was hoping to find the right ruby version but couldn't manage to do that within an amount of time, or looking for the exact right MSC version. Now I've hit gz-rendering issues when I build with:
I get this error:
I've added the |
I've the same error as well. Did you manage to solve this?
Starting >>> gz-cmake4
|
I think this is a bug. I will work on a fix. |
Fix in gazebosim/gz-rendering#1049 |
thanks @azeey! I've applied the fix and now it builds all. I wish that was the end of it, but I got a backtrace when I sourced the terminal and ran Seems like it is going wrong with the gz-msgs but the build didn't show any particular issues.
|
Thanks @knmcguire. The gz-msgs issue is different and is somewhat harmless. It also exists in Harmonic. The backtrace looks like it came from |
@knmcguire Fix in gazebosim/gz-sim#2589 |
Success! ✅ Thanks a lot! Other than the warning of the descriptor when opening up a VS studio command prompt with the conda environment activated, I managed to run the server in one terminal with Other than the two fixes that you have already made a PR for @azeey, we should change the instructions to add the - |
Sorry, I had missed this. conda-forge pins ruby to 2.* (see https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/dbebf7dbbd2d7720d5b83419b88293ccbc2a438d/recipe/conda_build_config.yaml#L824-L826), and the 3.1 migration quite stalled (see conda-forge/conda-forge-pinning-feedstock#4805). So just to play safe we could pin ruby to 2.* in the installation procedure (if it is easier then just disabling ruby bindings). |
Ah yes perhaps. I'll try downgrading ruby first and see if it still builds. It does seem that many of the conda forge packages will be downgraded as well so just as a sanity check I'll try to clear the installs and build again. I'll let you know if there are any issues. |
@traversaro I'm afraid that ruby 2.7 (so locking the conda package install to 2.*) still gave an error but now with a different MSC version
seems like ruby is just a bit too picky, which is what I've seen on other forums of other projects... so I'm afraid that we really need to turn off the swig build here. I've made a tiny PR to change the doc to include this: gazebosim/docs#497 |
Ah! I reviewed a bit how we used ruby in conda-forge binaries, and indeed we never built ruby bindings, we just used ruby in the sdformat scripts. Indeed if no one ever used them it make sense to just skip ruby bindings on Windows, thanks for fixing the docs! |
Those changes are available now? I would like to contribute on Windows |
Yes the changes that @azeey made have been merged already so if you follow the install instructions those will work. My doc change PR hasn't been merged yet so when you come to the colcon build step use this:
|
Isn't this because the windows server doesn't have any gpu access? It might be difficult to do the tutorials then actually |
Can you open a new issue in gz-sim following the template and tag me there? Thanks! |
Issue available here gazebosim/gz-sim#2620 |
Maybe this will save some time to others who have decided to put their conda env dir to the same directory level as |
Some more Windows tips in gazebosim/docs#515 . |
Configuration
Links
Process
Step 1 - Instructions work
Step 2 - Images (if there are any) match the result
The text was updated successfully, but these errors were encountered: