Ros 安装在构建过程中卡住 [英] Ros installtion getting stuck during build

查看:77
本文介绍了Ros 安装在构建过程中卡住的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试根据此 官方页面.安装需要构建 51 个包.在Roscpp"包构建中,整个 pi3 挂起(即使使用 -j2 选项来减少线程数).我尝试了 2-3 次但总是相同的结果,即使我假设它会出来但构建永远不会完成,即使我在相同的挂起状态下离开了 1-2 天.这是正确的方法还是有任何其他方法可以进行交叉编译并将包放入 pi3.dll 中.我是唯一面临这个问题的人吗?(在 2 个不同的 pi3 上试过).

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).

推荐答案

我的 raspberry pi 2 型号 B 遇到了同样的问题,但通过将 -j4 更改为 -j2 选项.

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

您还可以通过转到/etc/dphys-swapfile 并更改行来添加额外的交换空间:

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

CONF_SWAPSIZE=100

这样的事情:

CONF_SWAPSIZE=1000

这篇关于Ros 安装在构建过程中卡住的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆