RTI Connext DDS environment script not found (ROS2 on Windows)
Hi,
I am following the official tutorial to install ROS2 on Windows. At the step of Environment setup, I did "> call C:\dev\ros2galactic\localsetup.bat"
and here comes the error:
"[rticonnextddscmakemodule][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."
Please advice. Thank you.
Janus
Asked by Janus52 on 2021-05-28 13:22:53 UTC
Answers
I encountered the same problem yesterday and have solved it. In my opinion, you might need to install the Eclipse Cyclone DDS manually (see https://docs.ros.org/en/foxy/Installation/DDS-Implementations/Working-with-Eclipse-CycloneDDS.html). After the installation it should be fine (though the error message won't disappear).
Asked by JRD on 2021-06-05 01:55:51 UTC
Comments
Hello, thanks for this tips. Do you know how to install Eclipse Cyclone DD on windows ? The think you put is related to linux. Thanks for any help.
Asked by Hedwin on 2021-10-08 08:39:52 UTC
You should be able to ignore the warning.
In the official installation instructions, it says: "It is normal that [running local_setup.bat], if nothing else went wrong, outputs 'The system cannot find the path specified.' exactly once." I believe that it refers to the same warning, although the exact phrasing of the warning has apparently changed after the instructions were last updated.
See also a ROS tutorial, which says: "If you get an RTI Connext DDS environment script not found warning, you can safely ignore it in the scope of this tutorial."
Asked by okahilak on 2022-01-05 12:07:41 UTC
Comments
I considered this a possibility, however the reason I'm at this page is because I followed the Windows Installation Instructions, the Environment Setup step prints the warning mentioned above, and when I try to run the examples immediately following, it just prints "failed to create process."
Asked by cdgraham on 2022-02-15 13:07:18 UTC
You can install the required RTI files here (follow links at the bottom of the page) https://www.rti.com/free-trial/dds-files-5.3.1
which I found via the ROS doco here https://docs.ros.org/en/galactic/Installation/DDS-Implementations.html
Asked by CGibbons on 2022-04-21 21:36:43 UTC
Comments
I have faced a similar problem. The crux of the problem is that it is trying to use "RTI Connext DDS" even though the documentation says it uses "Fast DDS" by default.
I am trying to install ROS2 for the first time, so I don't know the efficient way to solve this problem.
I wish I could tell it to use "Fast DDS" but I don't know how to do that. (Can someone please tell me how to do this?)
As others have already answered, if you install "RTI Connext DDS" and pass it through correctly, the sample should work.
Asked by gakutasu on 2022-11-01 04:43:25 UTC
Comments
I finally solved this problem completely.
This page helped me a lot.
The core of the problem is that it uses "RTI Connext DDS" by default.
(1) Open cmd with administrator privileges and use "Fast DDS" with the following code
set RMW_IMPLEMENTATION=rmw_fastrtps_cpp
(2) Set up the workspace
call C:\dev\ros2_humble\local_setup.bat
(3) Start talker
ros2 run demo_nodes_cpp talker
(4) Execute (1) and (2) with another cmd (remember to have administrator privileges) and start listener
ros2 run demo_nodes_py listener
I hope this helps anyone viewing this page.
Asked by gakutasu on 2022-11-02 00:41:36 UTC
Comments
Same for me actually. Let's hope that someone has some workaround to it!
Asked by ros2-user on 2021-06-02 06:07:28 UTC
I am facing the same issue as well.
Asked by Deeps on 2021-06-02 15:30:59 UTC
@Deeps and @ros2-user Please do not post answers to questions that are not actually answers. This is a Q&A site not a discussion forum. For each of your answers, I've reposted as a comment.
Asked by jarvisschultz on 2021-06-03 12:01:33 UTC