ubuntu 16.04 lts 安裝intel realsense 步驟

smilestone322發表於2017-09-22
安裝步驟

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`<br />
  The demos, tutorials and tests will located in `/usr/local/bin`.

相關文章