0

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

Paul
  • 26,170
  • 12
  • 85
  • 119
nathan
  • 754
  • 1
  • 10
  • 24

1 Answers1

0

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.

Fara Importanta
  • 161
  • 1
  • 2
  • 10
  • Hi,Thansk very much .I understand "need to start cscope in the same directory where cscope.out is located". I just failed to generate "cscope.out" in subdirectory. That's real problem . I think "cscope -bkqR" is supposed to do that .But it did not . – nathan Jul 15 '16 at 17:55