Updates Windows installation from source #865
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A few corrections of the documentation for compiling ROS 2 Foxy from source on Windows.
I’ve just used these instructions to do my very first install of ROS on Windows (wow it worked, mostly. Shocking), in default mode first and then Debug mode. There are a few places that can be improved so that I can remove the “mostly” in the previous sentence and save someone a few hours, especially in Debug mode :) This PR does that.
Explanations for the changes I made:
The most important thing is this flag to
colcon
in Debug mode:Without this,
python_d colcon
behaves as if I am runningpython.exe
as opposed topython_d.exe
and cannot find the numpy that is specifically reinstalled for the debug mode. If I runpython_d
manually, it runs the erroring line importing numpy just fine. If I runpython
, then I can reproduce the error colcon gives me.Removed RQt instructions in the source install page. It's a redundancy of the dependency page in the binary installation, which the source installation points to.
Removed instructions for setting environment variable
PATH
in RQt section in binary dependencies page. It's redundant (and has several typos anyway). It's already detailed in the OpenSSL section earlier, and then simply omitted in theInstall dependencies
section assuming you've read the OpenSSL section, and then in the RQt section, it for some reason goes over a longer way to do it from the Control Panel, which is odd and reads disconnected from the previous instructions.The rest are just typos. I also felt using
>>>
to differentiate between the Python prompt and the Windows prompt>
was helpful for the reader to see they're supposed to be in a Python shell after runningpython_d
.Cookbook?
Kind of related, should we mention the new Windows Chef Cookbook anywhere in the Windows tutorials? I think it might save someone even more hours https://discourse.ros.org/t/introducing-the-ros-2-windows-chef-cookbook-and-ci-integration/15815
I haven't tried it to know how well it works. I mostly mention it because I’ve heard people in the community who felt discouraged from developing with ROS 2 on Windows, because there are… I count 21 dependencies (not including 3 more in Debug mode) that I had to install manually, and that does not include ROS 2 itself.
Signed-off-by: Mabel Zhang [email protected]