Ros installtion getting stuck during build

2019-07-26 22:37发布

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条回答
The star\"
2楼-- · 2019-07-26 23:17

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
查看更多
登录 后发表回答