Robotics StackExchange | Archived questions

Gazebo build for ros2 foxy stuck at 66%

gazebo_plugins:build 66% -2min 32.6s

gets stuck there , pc crashes basically , timers stop moving

http://gazebosim.org/tutorials?tut=ros2_installing&cat=connect_ros

all steps followed from that , problem happens at colcon build part with no prior errors, cant add a screenshot as it just crashes

Ros2-Foxy

Asked by yagizzha on 2021-11-08 05:12:50 UTC

Comments

Answers

colcon (build tool) can be aggressive in its number of parallel workers and parallel compilation threads specially if the machine is not very powerful. Let's try to reduce the number of parallel compilation threads:

MAKE_JOBS=1 colcon build --parallel-workers 1

You can increase the 1's in that command to gain some speed but will increase the amount of memory used.

Asked by Jose Luis Rivero on 2021-11-08 17:22:11 UTC

Comments

Sadly that didnt work either , https://postimg.cc/gxRVW2sb that link is what it looks like , now stuck at 64% instead of 66

Asked by yagizzha on 2021-11-09 02:17:01 UTC

Could you please attach the output of MAKE_JOBS=1 colcon build --event-handlers console_direct+ --parallel-workers 1?

Asked by Jose Luis Rivero on 2021-11-09 05:22:45 UTC

found another fix and trying to reinstall might cause problems again so i wont be able to test this , thanks for the help tho

deleting everything ros/gz related then redownloading did the trick

Asked by yagizzha on 2021-11-10 02:15:55 UTC