RealSense Depth Cameras missing folder linux-headers-4.15.0-1060-raspi2 on raspberry pi 3b

I try to follow the guide for intel realsense virtuall usb 3.0 to intel realsens camera.

The problems show up after running

./scripts/patch-realsense-ubuntu-lts.sh

The error message or message is
cp: cannot stat '/usr/src/linux-headers-4.15.0-1060-raspi2/.config': No such file or directory

Do I miss some packages or internal paths?

It is possible to find the guide bellow
https://github.com/IntelRealSense/librealsense/blob/development/doc/installation.md

Solved my own question leav answer if someone else has same question.

You need to installl following package from Ubuntu

https://launchpad.net/ubuntu/+source/linux-raspi2?_ga=2.260724495.349147244.1586354978-1622355410.1586354978

this is done by follwing command in the terminal
sudo apt install linux-raspi2
sudo reboot
this will create the missing folder under /usr/src

1 Like