Ask Your Question

Error after calling local_setup.bat

asked 2020-01-20 05:21:41 -0500

Kasper H gravatar image

updated 2020-01-20 05:37:23 -0500

gvdhoorn gravatar image

I've been trying to install ROS 2 Dashing Diademata - Patch Release 5 ( using the binary package on Windows 10. I am following the guide provided in: When running

call C:\dev\ros2_dashing\local_setup.bat

to setup my environment I get the following output:

[connext_cmake_module] Warning: The location at which Connext was found when the workspace was built [[C:\Program Files\rti_connext_dds-5.3.1]] does not point to a valid directory, and the NDDSHOME environment variable has not been set. Support for Connext will not be available.

" set CMAKE_PREFIX_PATH=C:\dev\ros_dashing was unexpected at this time.

" set AMENT_PREFIX_PATH=C:\dev\ros_dashing was unexpected at this time.

" set PKG_CONFIG_PATH=C:\dev\ros_dashing\lib\pkgconfig was unexpected at this time.

Issuing any command starting with ros2 (such as ros2 run demo_nodes_cpp talker) afterwards results in the following error:

failed to create process.

Could anyone give me some ideas on what might be going wrong here?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2020-01-24 13:06:58 -0500

tfoote gravatar image

This is not an error but a warning. The ROS packages that you installed include bindings for RTI Connext However this is a warning that if they do not find RTI Connext installed that the implementation will not be available because the underlying library is not available.

There are instructions for installing additional DDS implementations here:

There's more documentation on how to use Multiple RMW implmentations (that usually build on top of the DDS implementations) here:

But in general most users will usually use the default RMW implementation and can ignore the above message.

Related Questions

edit flag offensive delete link more


I disagree. Am currently experiencing the error atm. This solution doesn't work.

Dickson gravatar image Dickson  ( 2021-08-11 05:39:39 -0500 )edit

As with the other poster, there's likely also an additional error in your system in addition to the quoted warning. Please ask a new question of your own with all the information necessary to reproduce your environemnt, the full commands that you're running as well as the full console output produced.

tfoote gravatar image tfoote  ( 2021-08-11 12:56:11 -0500 )edit

answered 2020-01-24 11:25:32 -0500

CarSim gravatar image

I had this same exact problem. It turned out I was using the installation instructions for "Eloquent Elusor", but I had downloaded the ROS2 package for "Dashing Diademata". Duh.

I have two things to say about this: 1) The download page ( is confusing (the latest version is not at the top) and difficult to navigate (the "Eloquent Elusor" download links aren't here... you have to follow another link to find them). 2) Version names are annoying. How is "ROS 2 Dashing Diademata" clearer or easier for developers than "ROS 2.1"... its just unnecessary complexity/obfuscation that adds no value.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-01-20 05:01:43 -0500

Seen: 2,477 times

Last updated: Jan 24 '20