ROS2 binary installation not working on Windows
EDIT : This question concerns only fastrttps
package.
Tried to install ROS2 from Binary. As soon as I download ROS2, extract it to C:\dev\ROS2
and call the local_setup.bat
, run the demo nodes ros2 run demo_nodes_cpp talker
, the program crashes with a window saying : A problem occured in the execution of the program. Please close it
. The same happens for the python node as well.
Can anyone check it ?
Please mention which version you downloaded as well as post the exact error message you are getting.
I downloaded
ros2-ardent-package-windows-opensplice-AMD64.zip
andros2-ardent-package-windows-fastrtps-opensplice-AMD64.zip
. The exact error is :the system cannot find the specified path
. Even on double clicking the file @Dirk ThomasI don't believe "double clicking" is what you are supposed to do with
local_setup.bat
.@gvdhoorn : yes i know i am not supposed to do that. But after getting the same error multiple times, I was curious to know what happens if i manually try to run it by double clicking...and resulted in the same error message which was a bit strange.
Is the problem the same with
ros2-ardent-package-windows-fastrtps-AMD64.zip
? Do you have OpenSplice installed? Please set the env varCOLCON_TRACE=1
to get more information where it fails. You could also comment out the line@Echo off
in thelocal_setup.bat
file to show every command.OpenSplice is installed, the variable
OSPL_HOME
is set correctly.COLCON_TRACE = 1
set (what is it exactly ?).@Echo off
commented. Error :C:\WINDOWS\system32>if exist "C:\dev\ros2\share\ament_clang_format\local_setup.bat" call "C:\dev\ros2\share\ament_clang_format\local_setup.bat"
After this comes the error :
System cannot find the specified path
@Dirk Thomas : The same problem doesnt repeats if I download only
fastrttps
package but the moment I try to run a demo node, it crashes stating :A problem occured in the execution of the program. Please close it
. Both for py and cpp node.