I am trying to install ROS 2 on windows 10. I went through the setup guide without any issues and errors until the stage of

"Environment setup

Start a command shell and source the ROS 2 setup file to set up the workspace:

call C:\dev\ros2_humble\local_setup.bat"

It throws me the error:

call : Die Benennung "call" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederholen Sie den Vorgang. In Zeile:1 Zeichen:1

call C:\dev\ros2_humble\local_setup.bat

  •  + CategoryInfo          : ObjectNotFound: (call:String) [], CommandNotFoundException
     + FullyQualifiedErrorId : CommandNotFoundException

and if I run it as cmd it is:

"[rti_connext_dds_cmake_module][warning] RTI Connext DDS environment script not found (\resource\scripts\rtisetenv_x64Win64VS2017.bat). RTI Connext DDS will not be available at runtime, unless you already configured PATH manually."

I don't get what is missing. Do I need to execute "call" in a specific folder or do I lack a package? I am quite blind in this area and this is a rookie question. Thus, if I may, please be detailed in your answer ;)

Thanks a lot and any help is greatly appreciated.


1 Answer 1


I encountered the same problem as you. I am a rookie too so I scoured for solutions and stitched them together:

  1. Go to https://community.rti.com/page/rti-connext-dds-installers-ros-2, download & install rti connext 6.0.1 (or any other compatible version - don't use the newest version like 7.3.1, it will not be compatible with ROS !);

  2. Follow the link on the same page to obtain a license and activate the license in the connext launcher;

  3. Refer to this page: https://docs.ros.org/en/iron/Installation/DDS-Implementations.html and set up the environment for connext depending your system. For me I am using windows 10, so I ran the command below in cmd (as an administrator just in case):call "C:\Program Files\rti_connext_dds-6.0.1\resource\scripts\rtisetenv_x64Win64VS2017.bat". If everything goes well you should see a copyright logo for connext in the output. If you use a different version of connext, just change the version name in the path above;

  4. Now run the command (assuming you have installed your ros at C:\dev\ros2_humble): call C:\dev\ros2_humble\local_setup.bat. You should see an empty line in the output. This is the sign that the workspace setup is successful;

  5. If you are a rookie like me you may also encounter another problem immediately after this. When I ran: ros2 run demo_nodes_cpp talker for the first time, ros2 will complain that python is missing some module (namely "packaging" and "Numpy"). If so refer to this post: https://answers.ros.org/question/387172/modulenotfounderror-no-module-named-packaging/ to path python and install the modules you are missing.

After all this my talker can finally work as intended: ros2 demo talker

Hope this helps !


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.