linorobot2 icon indicating copy to clipboard operation
linorobot2 copied to clipboard

Gazebo install fails on Host

Open JHPHELAN opened this issue 2 years ago • 1 comments

Dell laptop / Windows 10 / Windows Subsystem for Linux (WSL) - Ubuntu 22.04. I get this error:

ubuntu@HankRearden:~/linorobot2_ws$ colcon build --symlink-install

Starting >>> linorobot2 Starting >>> linorobot2_base Starting >>> linorobot2_bringup Starting >>> linorobot2_description Starting >>> linorobot2_gazebo Starting >>> linorobot2_navigation --- stderr: linorobot2_gazebo failed to create symbolic link '/home/ubuntu/linorobot2_ws/build/linorobot2_gazebo/ament_cmake_python/scripts/scripts' because existing path cannot be removed: Is a directory gmake[2]: *** [CMakeFiles/ament_cmake_python_symlink_scripts.dir/build.make:70: CMakeFiles/ament_cmake_python_symlink_scripts] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:138: CMakeFiles/ament_cmake_python_symlink_scripts.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2

Failed <<< linorobot2_gazebo [0.43s, exited with code 2] Aborted <<< linorobot2 [0.46s] Aborted <<< linorobot2_base [0.47s] Aborted <<< linorobot2_bringup [0.50s] Aborted <<< linorobot2_navigation [0.49s] Aborted <<< linorobot2_description [0.58s]

Summary: 0 packages finished [0.73s] 1 package failed: linorobot2_gazebo 5 packages aborted: linorobot2 linorobot2_base linorobot2_bringup linorobot2_description linorobot2_navigation 1 package had stderr output: linorobot2_gazebo`

Is this a failure of Gazebo build or that I included "--symlink-install"? I get the same error if I do "colcon build" without it.

JHPHELAN avatar Feb 20 '23 23:02 JHPHELAN

following +1

mahesh11T avatar Dec 19 '23 07:12 mahesh11T