osrf / gazebo_tutorials

Tutorials for gazebo
http://gazebosim.org/tutorials
150 stars 72 forks source link

Updated gazebo9 build tutorial on Windows #97

Closed peci1 closed 3 years ago

peci1 commented 4 years ago

This is a port of https://bitbucket.org/osrf/gazebo_tutorials/pull-requests/555/updated-gazebo9-build-tutorial-on-windows to github. The PR doesn't merge now, but @azeey was assigned to look at it on bitbucket and distill the valuable changes to the updated tutorial.

These are the things I needed to do to build gazebo9 on windows 10 from scratch. The old instructions were fairly outdated (even though saying they were tested).

The process tries to replicate instructions in https://bitbucket.org/osrf/release-tools/src/default/jenkins-scripts/lib/generic-default-devel-windows.bat where possible.

I completely deleted the section on building OGRE samples, as it was outdated… and, why should it be here anyways?

Louise Poubel 13 Apr 2020:

@j-rivero and @azeey will look into this in conjunction with pull request #566 and pull request #567.

peci1 commented 4 years ago

I think I got rid of the configure scripts mainly because I'd need to issue much more PRs to get it fixed :-D And, more importantly, they do not prepare a user build environment in case you want to build more packages in the same console. The configure scripts rather directly set cmake arguments instead of setting reusable environment variables.

How do the proposed changes prevent you from PATH modifications? I think changing a command from a tutorial is much more user-friendly than rewriting a git-tracked file...

j-rivero commented 3 years ago

After revisiting the problem recently, our plan is not to fix the current instructions since they are pretty hard for users and maintainers. The plan is to look into new approaches for Gazebo on Windows, @peci1 it would be great if you have time to comment on the options available at https://github.com/osrf/gazebo/issues/2901. Thanks, sorry for the inconvenience.