Ubuntu 16.04 lts Install Intel RealSense step Librealsense

Source: Internet
Author: User
Tags gtk git clone
Installation steps

1. First download the driver package through the terminal.
$ git clone https://github.com/IntelRealSense/librealsense
2. Go to the folder
$ CD librealsense/
3. Execution under Librealsense
$ sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
$ sudo update-grub && sudo reboot
4. Installing libsub-1.0
$ sudo apt-get install Libusb-1.0-0-dev pkg-config
5. Installing 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


Ps

Compile source code times in Ubuntu wrong: No package ' gtk+-3.0 ' found

Based on experience, it is certainly missing GTK-related library files.

Buntu command: sudo apt-get install Libgtk-3-dev



7. Install Video4linux (kernel driver for video devices in Linux) before installing make sure the camera is unplugged
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 br> 7.4 in ubuntu16.04
./scripts/patch-realsense-ubuntu-xenial.sh
7.5 cd./scripts/'
7.6./patch-arch.sh
7.7 sudo dmesg | Tail-n

So that the driver is loaded and then how to run the demo
  The library will is installed in '/usr/local/lib ', header files in ' /usr/local/include ' <br/>
  The demos, tutorials and tests would located in '/usr/local/bin '.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.