Ubuntu下安装Realsense

UBUNTU : Ubuntu 20.04.3 LTS
Cmake : 3.16.3
Realsense : D415

1.下载realsense

git clone https://github.com/IntelRealSense/librealsense 

2.安装依赖项

cd librealsense
sudo apt-get install libudev-dev pkg-config libgtk-3-dev
sudo apt-get install libusb-1.0-0-dev pkg-config
sudo apt-get install libglfw3-dev
sudo apt-get install libssl-dev
  1. make
sudo cp config/99-realsense-libusb.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules && udevadm trigger 
mkdir build
cd build
cmake ../ -DBUILD_EXAMPLES=true
make
sudo make install

4.测试

realsense-viewer 

Ubuntu下安装Realsense_第1张图片

你可能感兴趣的:(ubuntu,linux,运维)