Ask Your Question

Have an errror Could neither find file "toplevel.cmake" on Ubuntu 20.04

asked 2020-10-20 09:10:55 -0500

jhonyle gravatar image

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:





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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-10-21 00:35:53 -0500

gvdhoorn gravatar image

It's very likely you haven't actually installed ROS Noetic, but a version of ROS packaged in so called UpstreamPackages.

This is not the current release of ROS Noetic, but a snapshot of ROS taken at some point in the past. I'd recommend you read the linked wiki page for more information.

Did you install ros-desktop or ros-desktop-full by any chance? Or did you install catkin directly?

To resolve your problem, I'd recommend following the installation instructions given on wiki/noetic/Installation.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2020-10-20 09:10:55 -0500

Seen: 245 times

Last updated: Oct 21 '20