ROS工作空间编译问题:nvoking “cmake“ failed

问题描述:

CMake Error at CMakeLists.txt:1:
  Parse error.  Expected a command name, got unquoted argument with text
  "/opt/ros/melodic/share/catkin/cmake/toplevel.cmake".

-- Configuring incomplete, errors occurred!
Invoking "cmake" failed

解决方法:
删除src下的CMakeLists.txt文件,重新catkin_init_workspace

你可能感兴趣的:(经验分享,ubuntu,linux,运维)