Prerequisites missing from "Installing ROS 2 on Windows" page?
I had a bit of an adventure getting my Windows 10 install of galactic working, and I think its possible this might have been due to some missing instructions on the Installing ROS 2 on Windows page.
I followed the instructions for installing galactic on Windows 10 and everything went well (other than a warning about a missing Connext DDS file under Environment Setup, which is fine because I didn't install Connext). However, when I got to the examples provided to test the installation, the program exited with an error (unfortunately, I was shortsighted and didn't save the stack trace).
I jumped to the Building ROS 2 on Windows instructions, and noticed that there were a few prerequisites under Additional prerequisites that are not listed on the Installing ROS 2 on Windows instructions. I installed these additional prerequisites (actually, only the Chocolatey and Python prerequisites, separated by a reboot as prompted after the Chocolatey installations), after which the ROS 2 talker/listener examples began working.
Is there any possibility that these prerequisites belong in the installation instructions? I did try something else (I tried -- unsuccessfully, I had issues when building from source with rosdep -- to perform a manual installation of Eclipse Cyclone DDS, as suggested on a ROS forum here) but this proved to be fruitless. I mention this to address the chance that the 'fix' described above might be a false positive, and something else might have happened that I failed to account for. If it seems possible that those two "Additional prerequisites" from the "Building ROS 2 on Windows" instructions may actually be necessary for the regular installation instructions, I would be happy to try to reproduce my initial issue more systematically.
Apologies if this was a bit long-winded, and thanks for your help!
I jumped to the Building ROS 2 on Windows instructions, and noticed that there were a few prerequisites under Additional prerequisites that are not listed on the Installing ROS 2 on Windows instructions. I installed these additional prerequisites (actually, only the Chocolatey and Python prerequisites, separated by a reboot as prompted after the Chocolatey installations), after which the ROS 2 talker/listener examples began working.
Theoretically, none of the prerequisites in Additional prerequisites are necessary in order to run, only to build from source and/or run tests. That said, it is certainly possible that something is missing from the Installing ROS 2 on Windows page. It's just not clear to me what is missing without a stack trace.
But pinging @cottsay , who dealt with Windows installation most recently. He may have some additional feedback here.
I have installed ROS2 Humble binary following these instructions. I have had no problem at all. Chocolaty and Python are there as prerequisites.
@eren-rudy Have you tried to install a newer version since then?
@clalancette Maybe this issue can be closed and issues counter be decreased 😄
Yes, given the age of this issue, I'm going to close it out. If you are still having a problem, please open a new one.