Skip to content

踩坑GitHub unitreerobotics/unitree_sdk2_python7 个月前

Jetson安装unitree_sdk2_python报错Could not locate cycl。 ​

本文由 AI 根据公开内容整理,可能有误,请以原文为准:Problems with cyclonedds while using NVIDIA Jetson(GitHub unitreerobotics/unitree_sdk2_python #53)

状态:已解决

问题 ​

在NVIDIA Jetson平台安装unitree_sdk2_python时,CMake报错“Could not locate cyclonedds. Try to set CYCLONEDDS_HOME or CMAKE_PREFIX_PATH”。即使遵循README指引或尝试常规安装方法仍失败,怀疑与aarch64架构兼容性有关。

环境 ​

NVIDIA Jetson (aarch64), unitree_sdk2_python, CycloneDDS 0.10.2/0.10.x, Python 3.8, CMake

解决办法 ​

  1. 克隆CycloneDDS源码并切换至0.10.x分支:git clone https://github.com/eclipse-cyclonedds/cyclonedds -b releases/0.10.x。
  2. 创建构建目录并编译安装至本地路径:mkdir build install && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=../install && cmake --build . --target install。
  3. 进入unitree_sdk2_python目录,使用绝对路径(避免~)设置环境变量:export CYCLONEDDS_HOME="$HOME/cyclonedds/install"及export CMAKE_PREFIX_PATH="$CYCLONEDDS_HOME:${CMAKE_PREFIX_PATH}"。
  4. 执行SDK安装命令:pip3 install -e .。 5…

讨论原作者:@Orile14 等,版权归原作者所有。

来源

本页事实对应的公开页面,以原文为准。

  1. GitHub unitreerobotics/unitree_sdk2_python #53:Problems with cyclonedds while using NVIDIA Jetson访问 2026-10-23