ubuntu安装realsense

https://blog.csdn.net/smilestone_322/article/details/78066885 安装步骤 1.首先把驱动包通过终端下载下来。 $ git clone https://github.com/IntelRealSense/librealsense 2.进入该文件夹 $ cd librealsense/ 3.在librealsense下执行 $ sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade $ sudo update-grub && sudo reboot 4.安装libsub-1.0 $ sudo apt-get install libusb-1.0-0-dev pkg-config 5.安装glfw3 $ sudo apt-get install libglfw3-dev 6.Library Build Process *librealsense* employs CMake as a cross-platform build and project management system. 6.1 $mkdir build && cd build` 6.2 $cmake .. 6.3 $cmake ../ -DBUILD_EXAMPLES=true 6.4 $make && sudo make install 7.安装Video4Linux(Linux中关于视频设备的内核驱动) 安装前确保摄像头拔出 7.1 sudo cp config/99-realsense-libusb.rules /etc/udev/rules.d 7.2 sudo udevadm control --reload-rules && udevadm trigger 7.3 sudo apt-get install libssl-dev 7.4在ubuntu16.04 ./scripts/patch-realsense-ubuntu-xenial.sh 7.5 cd ./scripts/` 7.6 ./patch-arch.sh 7.7 sudo dmesg | tail -n 50 这样就驱动装完了 然后是怎么运行demo The library will be installed in `/usr/local/lib`, header files in `/usr/local/include`
The demos, tutorials and tests will located in `/usr/local/bin`.

posted on   lydstory  阅读(321)  评论(0编辑  收藏  举报

编辑推荐:
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示