linorobot / linorobot2

Autonomous mobile robots (2WD, 4WD, Mecanum Drive)
Apache License 2.0
436 stars 148 forks source link

Gazebo install fails on Host #61

Open JHPHELAN opened 1 year ago

JHPHELAN commented 1 year ago

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.

mahesh11T commented 6 months ago

following +1