Ros installtion getting stuck during build

∥☆過路亽.° 提交于 2019-12-24 17:46:07

问题


I am trying to installed ROS kinetic on raspberry pi 3 according to this official page. Installation require to have 51 packages build. on "Roscpp" package build, whole pi3 gets hang(even with using -j2 option to reduce number of thread's). i tried 2-3 times but always same result, even i left for 1-2 days in same hang state by assuming that it will come out but build never completes. Is this is correct way to do it or there is any other way to do cross compilation and put package in pi3. Am i the only one who is facing this issue? (tried on 2 diff pi3).


回答1:


I had the same problem with my raspberry pi 2 model B but solved it by changing -j4 to -j2 option.

You can also add extra swap space by going to /etc/dphys-swapfile and changing the line:

CONF_SWAPSIZE=100

To something like this:

CONF_SWAPSIZE=1000


来源:https://stackoverflow.com/questions/39998007/ros-installtion-getting-stuck-during-build

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!