把别人配置好的包拉到自己的home 中去编译的时候报的错 ``` t obstacle_detector/CMakeLists.txt:48 (add_executable): Cannot find source file:
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
然后我就找到这个CMakeLists.txt文件去看的add_executable部分
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210715205458319.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2x2eXVhbmh1aQ==,size_16,color_FFFFFF,t_70)
发现问题了 src里面确实没有它
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210715205536108.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2x2eXVhbmh1aQ==,size_16,color_FFFFFF,t_70)
毕竟是拿别人的包 先把这个包含 注销掉 在编译就没问题了
|