I am using cscope on a project which locates in author/trunk/ . Under "author" directory cscope -R worked well and generated cscope.out. However when using same commmand on a subdirectory like author/trunk/../dhcp, no cscope .out was generated ,and had "no cscope connection" when I wanted to search in one file So what should I do now ,THanks
First, I recommend using cscope -bkqR
instead of the simpler cscope -R
.
Second, I think you need to start cscope
in the same directory where cscope.out
is located or you'll get the error you mentioned. At least, this is true for vim
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.