Ubuntu16.04安装librealsense1.12.1
其他
2018-06-18 09:57:56
阅读次数: 2
Ubuntu16.04安装librealsense1.12.1
- 重装ubuntu16.04后安装librealsense1.12.1版本,具体步骤参考官方说明。
- -第一步可能要使用
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
更新内核到4.4.0-127-generic
- 在
./scripts/patch-uvcvideo-16.04.simple.sh
这一步一直报错,错误代码为/bin/bash: ./scripts/ubuntu-retpoline-extract-one: No such file or directory
,提示找不到文件。
- 解决方案参考这里(可能需要翻墙),需要在下载的文件夹
ubuntu-xenial
下执行cp debian/scripts/retpoline-extract-one scripts/ubuntu-retpoline-extract-one
,复制文件到相应目录。
- 重新运行
./scripts/patch-uvcvideo-16.04.simple.sh
命令覆盖安装(一直填写y
)才可以,安装完成后会在根目录出现4.4.0-127-generic-uvcvideo.ko
,其余步骤正常进行,如果深度图还是不能正常运行,重启电脑试试。
转载自blog.csdn.net/qq_27838307/article/details/80635397