apt-get update \
apt-get install git libssl-dev libusb-1.0-0-dev libudev-dev pkg-config libgtk-3-dev \
libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev \
wget nvidia-cuda-dev nvidia-cuda-toolkit
wget https://github.com/Kitware/CMake/releases/download/v3.25.1/cmake-3.25.1-linux-x86_64.tar.gz
tar zxvf cmake-3.25.1-linux-x86_64.tar.gz
cp -R ./cmake-3.25.1-linux-x86_64/* /usr/
git clone https://github.com/IntelRealSense/librealsense.git
cd librealsense && mkdir build && cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=true -DBUILD_WITH_CUDA=true -DCMAKE_CUDA_ARCHITECTURES="60" -DOpenGL_GL_PREFERENCE=GLVND -DBUILD_WITH_CPU_EXTENSIONS=true
- Check for CUDA architecture code here