ROS icon indicating copy to clipboard operation
ROS copied to clipboard

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

Open HuangCongQing opened this issue 5 years ago • 1 comments

image

当我在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

HuangCongQing avatar Oct 30 '20 08:10 HuangCongQing

https://blog.csdn.net/u013294888/article/details/69696956

HuangCongQing avatar Nov 01 '20 02:11 HuangCongQing