命令安裝依賴的時候出現了,如下錯誤: ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: rbx1_speech: Cannot locate rosdep definition for [pocketsphinx]


原來步驟和命令:
克隆或下載你想要的教學包到工作空間的/src目錄下,例如 ~/catkin_ws/src

cd ~/catkin_ws/src
git clone https://github.com/xxxxxx.git
安裝教學包所需的依賴

cd ~/catkin_ws
rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y
在使用rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y
命令安裝依賴的時候出現了,如下錯誤:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
rbx1_speech: Cannot locate rosdep definition for [pocketsphinx]

解決:
把:rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y
改成:rosdep install --from-paths ~/catkin_ws/src/xxxxxxxx --ignore-src -r

最后你發現#All required rosdeps installed successfully的提示,成功解決


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM