ROS
ROS copied to clipboard
ROS中的编译问题 "catkin_make" must be invoked in the root of workspace

当我在catkin_ws目录下用catkin_make 编译的时候出现一下错误:
The specified base path "/home/username/catkin_ws" contains a package but "catkin_make" must be invoked in the root of workspace 我的错误原因是之前在编译某个包的时候,把生成的CMakeLists.txt和package.xml文件放到这catkin_ws目录下了,应该删除这两个文件
,catkin_ws目录下只需要三个文件夹就可以了build, devel, src
https://blog.csdn.net/qingdu007/article/details/53453478
https://blog.csdn.net/u013294888/article/details/69696956