Skip to content

Instantly share code, notes, and snippets.

@yoggy
Created March 9, 2019 12:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoggy/c61b043bb1d38cc12fd5f73c46959278 to your computer and use it in GitHub Desktop.
Save yoggy/c61b043bb1d38cc12fd5f73c46959278 to your computer and use it in GitHub Desktop.
librealsenseをRaspberry Pi上でコンパイルする試み.md

memo-librealsense-raspberrypi.md

url

how to

$ sudo apt install libusb-dev libusb-1.0-0-dev xorg-dev mesa-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libglu1-mesa libgtk-3-dev

$ cd ~
$ mkdir work
$ cd work
$ git clone https://github.com/IntelRealSense/librealsense.git
$ cd librealsense
$ mkdir build
$ cd build
$ cmake ..
$ time make      ※ここでmake -j4とか並列コンパイルをすると、メモリが足りなくなってコンパイルに失敗するので注意。。。
   .
   .
   .
[100%] Linking CXX executable libtm_util
[100%] Built target libtm_util

real    67m27.819s
user    63m37.753s
sys     1m54.929s

$ sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment