On 25/05/12 05:59, hilal Adam wrote:
Sorry I bring this up again.
My difficulty is with installing cscope and getting it to run.

Per the documentation, I have added this line into cscope_maps.vim:
  if filereadable("cscope.out")
         cs add cscope.out
...

and to _vimrc, I added:

if has('cscope')
" set cscopetag cscopeverbose
...

then, every time I attempt to open a file in Vim, I get following error
message:

"Error detected while processing C:\Program
Files\Vim\vim73\plugin\cscope_maps.vim:
line   42:
E262: error reading cscope connection 0"

I looked for a solution with no luck.

Anyone knows how to fix this and better yet how to get cscope in Vim
running?

Thanks for any help.


1. You need to know what directory was current when creating cscope.out. If different from the current directory, it must be given as an additional argument to :cscope add

2. cscope.out may have become out of date (referencing source files or include files which don't exist anymore) and in that case you would need to generate it again.

3. The :cscope command is only available in Vim executables compiled with + cscope; I recommend to wrap your cscope commands in :if has('cscope')


Best regards,
Tony.
--
"If dolphins are so smart, why did Flipper work for television?"

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to