Ask Your Question
0

ROS Windows Installation Failed can't source

asked 2021-02-12 03:19:01 -0500

rmango gravatar image

I'm trying to install Windows following the instructions here: http://wiki.ros.org/Installation/Windows. The chocolatey logs said that installation was successful. However, when I try to source the setup files using source c:/opt/ros/noetic/x64/setup.bat I get a bunch of syntax errors. I haven't touched these files at all since installation. I've also tried uninstalling and reinstalling with the same result. Anyone have any idea what's going on here?

I've tried https://answers.ros.org/question/3486... and https://answers.ros.org/question/3495... but they seem to be addressing different problems and didn't work for me.

Here's what prints out when I run source c:/opt/ros/noetic/x64/setup.bat:

$ source c:/opt/ros/noetic/x64/setup.bat

bash: ::: command not found

bash: @Echo: command not found

bash: ::: command not found

bash: ::: command not found

bash: ::: command not found

bash: ::: command not found

bash: call:_colcon_prefix_chain_bat_call_script: command not found

bash: goto:eof: command not found

bash: ::: command not found

bash: ::: command not found

bash: :_colcon_prefix_chain_bat_call_script: command not found

bash: c:/opt/ros/noetic/x64/setup.bat: line 17: syntax error near unexpected token ``('

bash: c:/opt/ros/noetic/x64/setup.bat: line 17: `` if exist "%~1" (''

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-02-12 03:45:46 -0500

rmango gravatar image

Figured it out! On Windows, you can just run the .bat files without the source command.

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

Stats

Asked: 2021-02-12 03:19:01 -0500

Seen: 80 times

Last updated: Feb 12 '21