Giter Club home page Giter Club logo

ros's Issues

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

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

catkin_make命令失效

修改代码,执行catkin_make命令后,结果没任何变化
没有任何报错提示,就是没有编译功能包,心态有点炸啊啊

linux下vi操作Found a swap file by the name

image

Found a swap file by the name "/run/resolvconf/.resolv.conf.swp"

使用ls命令查看该目录下,却发现没有这个文件,后来使用ls -a命令查看才知道Test.java.swp是一个隐藏文件。

注:以.开头的文件就是隐藏文件

当我把该隐藏文件删除后再次打开就没有上面的警告了。

hcq@ubuntu:/run/resolvconf$ ls -a
.  ..  enable-updates  interface  resolv.conf  .resolv.conf.swp
hcq@ubuntu:/run/resolvconf$ rm .resolv.conf.swp 
rm: remove write-protected regular file '.resolv.conf.swp'? Y
rm: cannot remove '.resolv.conf.swp': Permission denied
hcq@ubuntu:/run/resolvconf$ ls -a
.  ..  enable-updates  interface  resolv.conf  .resolv.conf.swp
hcq@ubuntu:/run/resolvconf$ sudo rm .resolv.conf.swp 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.