命令安装依赖的时候出现了,如下错误: 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