您的当前位置:首页拷贝别人的文件删除devel和build后重新编译仍然报错解决办法

拷贝别人的文件删除devel和build后重新编译仍然报错解决办法

来源:锐游网

操作及问题:

~$ cd ~/dev/catkin_ws
~/dev/catkin_ws$ catkin_make
Base path: /home/yu/dev/catkin_ws
Source space: /home/yu/dev/catkin_ws/src
Build space: /home/yu/dev/catkin_ws/build
Devel space: /home/yu/dev/catkin_ws/devel
Install space: /home/yu/dev/catkin_ws/install
####
#### Running command: "cmake /home/yu/dev/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/yu/dev/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/yu/dev/catkin_ws/install -G Unix Makefiles" in "/home/yu/dev/catkin_ws/build"
####
CMake Error at CMakeLists.txt:1:
  Parse error.  Expected a command name, got unquoted argument with text
  "/opt/ros/noetic/share/catkin/cmake/toplevel.cmake".


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

参考:

因篇幅问题不能全部显示,请点此查看更多更全内容

Top