Have an errror Could neither find file "toplevel.cmake" on Ubuntu 20.04
Try to catkin_init_workspace
in directory ~/catkin_ws/src
, but have an error:
Could neither find file "toplevel.cmake" in any workspace nor relative, checked the following paths:
/home/mvshalamov/catkin_ws/src/catkin/cmake/toplevel.cmake
/usr/local/lib/python3.8/cmake/toplevel.cmake
/usr/local/share/catkin/cmake/toplevel.cmake
/usr/local/lib/share/catkin/cmake/toplevel.cmake
I checked there is no toplevel.cmake
in any of these directories. I also tried sudo mv share /usr/local/lib
but there is not catkin in it.