ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org

Ros2 is not recognized as internal command Windows 8.1

ros2

#1

Hi all,
I am trying to run ros2 and I have followed all the steps from https://github.com/ros2/ros2/wiki/Windows-Install-Binary except VS2017 which I had installed on my Windows 8.1 beforehand.
But when I try to execute ros2 run demo_nodes_cpp talker , I get the following error:

’ros2’ is not recognized as an internal or external command,
operable program or batch file.

Any help is appreciated .

Thanks in advance.


#2

Your post doesn’t contain enough information to help you at the moment. The referenced wiki page mentions that only Beta 1 and older support Windows 8. It also states that Visual Studio 2015 is being used. Either of these two could be the source of the problem. Additionally it could be that you didn’t call the local_setup.bat file as mentioned in the instructions.

Please provide more detailed information about your environment, the exact steps you performed, what the output was in order to allow other to provide more suggestions to help you.