在树莓派 3 上安装 realsense D435

Posted

技术标签:

【中文标题】在树莓派 3 上安装 realsense D435【英文标题】:Installing relasense D435 on raspberry 3 【发布时间】:2021-05-05 14:05:22 【问题描述】:

我正在按照本指南在 raspberry 3 上安装 RealSense 摄像头 D435 的 sdk Link

当我输入命令时:

 cmake .. -DBUILD_EXAMPLES=true -DCMAKE_BUILD_TYPE=Release -DFORCE_LIBUVC=true

在“安装 RealSense SDK/librealsense”部分,我有这个错误:

        -- Building libcurl enabled
    CMake Error at /home/pi/cmake-3.11.4/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
      Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
      system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
      OPENSSL_INCLUDE_DIR)
    Call Stack (most recent call first):
      /home/pi/cmake-3.11.4/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
      /home/pi/cmake-3.11.4/share/cmake-3.11/Modules/FindOpenSSL.cmake:390 (find_package_handle_standard_args)
      CMake/external_libcurl.cmake:56 (find_package)
      CMake/global_config.cmake:93 (include)
      CMakeLists.txt:44 (global_set_flags)


-- Configuring incomplete, errors occurred!

我该如何解决?

【问题讨论】:

您是否安装了 OpenSSL?如果某个地方不标准,你try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR ...? 如何通过终端操作? 我解决了:sudo apt-get install libssl-dev 【参考方案1】:

解决方法:

sudo apt-get install libssl-dev 

谢谢大家

【讨论】:

以上是关于在树莓派 3 上安装 realsense D435的主要内容,如果未能解决你的问题,请参考以下文章

TX2在ROS下使用Realsense D435i跑rtabmap和octomap

rtabmap with kinect 1(realsense d435i)

realsense D435安装时出现Invoking "cmake" failed,not found ddynamic_reconfigure etc.

ROS学习-ROS配置D435i

我在 ROS realsense D435 相机上也遇到了这个错误。我写的代码“roslaunch realsense2_camera rs_rgbd.launch”

Realsense D435 在 MATLAB 中更改分辨率