Setting up ROS 2 Humble Hawksbill on Windows 10

Environment

Windows 10

Install Chocolatey

Run PowerShell as admin

Ensure Get-ExecutionPolicy is not Restricted

To change this, run

Set the installation directory:

Install Python and VCredist140

Install OpenSSL

Download the Win64 OpenSSL v1.1.1n OpenSSL installer from this page. Scroll to the bottom of the page and download Win64 OpenSSL v1.1.1n. Don’t download the Win32 or Light versions, or the v3.X.Y installers.

Add openssl to PATH

D:\Documents\OpenSSL-Win64\bin

Install Visual Studio

An easy way to make sure they’re installed is to select the Desktop development with C++ workflow during the install.

Install OpenCV

Download a precompiled version of OpenCV 3.4.6 from https://github.com/ros2/ros2/releases/download/opencv-archives/opencv-3.4.6-vc16.VS2019.zip .

Add D:\Documents\ros2-humble\tools\opencv\x64\vc16\bin to path.

Install other dependencies

Add C:\Program Files\CMake\bin to path

Install Qt5

Install Graphviz

To run rqt_graph you need to download and install Graphviz.

Select add to PATH in the installer options

D:\Documents\ros2-windows\tools\Graphviz

Install ROS2

https://www.reddit.com/r/ROS/comments/b7jsgx/trouble_installing_ros_2_on_windows/

https://answers.ros.org/question/379164/rti-connext-dds-environment-script-not-found-ros2-on-windows/

https://answers.ros.org/question/294209/ros2-command-not-found-in-windows/

Note: need to use cmd.exe, powershell will not work.

Install Fast DDS

Download the latest windows release from here:

https://www.eprosima.com/index.php/component/ars/repository/eprosima-fast-dds

Install RTI Connext DDS

Last updated