[ROS2] "no such command" for using "colcon build --merge-install" on Windows 10
Hi guys, I am learning about ROS2 on Windows 10 today. I tried using the command "colcon build --merge-install", as the tutorial said:
From the root of your workspace (~/dev_ws), you can now build your packages using the command:
Windows:
colcon build --merge-install
Windows doesn’t allow long paths, so merge-install will combine all the paths into the install directory.
But the terminal showed "no such command" for colcon
.
Any answer or idea will be appreciated!
Did you install
colcon
? e.g.pip install -U colcon-common-extensions
from here: https://index.ros.org/doc/ros2/Instal...Hi @christophebedard, I didn't intstall colcon, because I followed Installing ROS 2 on Windows, which never mentioned about installing the colcon.
Well don't let that stop you from installing
colcon
. This section does say "If you would like to build your own packages, refer to the tutorial 'Using Colcon to build packages'." And the first step there is to installcolcon
! https://index.ros.org/doc/ros2/Tutori...Thanks sincerely for your kind guide, and I have installed
colcon
, and this issue might be solved.