Skip to content

Instantly share code, notes, and snippets.

@shigengtian
Last active December 10, 2019 01:56
Show Gist options
  • Save shigengtian/563fb9acdf399f9e2214cac2ec3e59f6 to your computer and use it in GitHub Desktop.
Save shigengtian/563fb9acdf399f9e2214cac2ec3e59f6 to your computer and use it in GitHub Desktop.

Intel Realsense SDK setup

1. add pulic key

sudo apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C8B3A55A6F3EFCDE

2. add repo server

1. Ubuntu 18

sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u

2. Ubuntu 16

sudo add-apt-repository "deb htt。p://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u

3. Install lib

1.install lib

sudo apt-get install librealsense2-dkms    
sudo apt-get install librealsense2-utils

2.install for dev

sudo apt-get install librealsense2-dev
sudo apt-get install librealsense2-dbg

How to use

realsense-viwer

For Mac OS

brew install libusb pkg-config
brew install glfw3
brew install cmake
git clone https://github.com/IntelRealSense/librealsense
cd librealsense
mkdir build && cd build
cmake .. -DBUILD_EXAMPLES=true -DBUILD_WITH_OPENMP=false -DHWM_OVER_XU=false -G Xcode
open librealsense2.xcodeproj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment