系统Ubuntu 16.4 :
新建BebopS/catkin_ws/src/后,使用catkin_init_workspace报错:
Could neither find file "toplevel.cmake" in any workspace nor relative, checked the following paths:
/home/user/BebopS/catkin_ws/src/catkin/cmake/toplevel.cmake
/opt/ros/kinetic/catkin/cmake/toplevel.cmake
/usr/local/lib/python2.7/dist-packages/cmake/toplevel.cmake
/usr/local/lib/share/catkin/cmake/toplevel.cmake
/usr/local/lib/python2.7/share/catkin/cmake/toplevel.cmake
解决办法:
cd ~/usr/local
sudo mv share /usr/local/lib/
ok~