创建catkin_ws工作空间出现catkin_make错误解决方法
生活随笔
收集整理的這篇文章主要介紹了
创建catkin_ws工作空间出现catkin_make错误解决方法
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
ros catkin_maked的時候報錯誤代碼:?
The specified base path “/home/ubuntu/catkin_ws” contains a CMakeLists.txt but “catkin_make” must be invoked in the root of workspace…..
出現(xiàn)這種情況的原因是catkin_init_workspacce的時候,出現(xiàn)下面這句:?
Creating symlink “/home/ubuntu/catkin_ws/CMakeLists.txt” pointing to “/opt/ros/indigo/share/catkin/cmake/toplevel.cmake”
將當(dāng)前工作空間下的CMakeLists.txt與/ros/下的cmake做了鏈接
解決方法:?
unlink /home/youpath/catkin_ws/CMakeLists.txt?
參考:?
http://answers.ros.org/question/252980/catkin_make-fail-must-be-invoked-in-the-root-of-workspace/
總結(jié)
以上是生活随笔為你收集整理的创建catkin_ws工作空间出现catkin_make错误解决方法的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: html文字竖排垂直居中显示,CSS文字
- 下一篇: 度量空间,赋范空间