E563 Stat Error 2
Contents |
| Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ E563 when trying to add cscope database I'm running gvim cscope for windows 7 download 7.2.245 on Windows XP (the "cream" build). I was recently assigned a new
Vim Build Cscope Database
project at work and decided to give cscope a try to more readily find my way around the new code ctags for windows base. I downloaded the latest cscope native Windws build from the google code page that has replaced (and is linked from) http://iamphet.nm.ru/cscope/index.html(mentioned in :help cscope near the bottom). From the cmd.exe prompt,
Cscope Sublime
I can successfully navigate the code using: cscope.exe -f C:/Temp/projname.cscope.out -i C:/Temp/ projname.cscope.files But when I then try to use it within Vim with the following command: cscope add C:/Temp/projname.cscope.out -i C:/Temp/ projname.cscope.files I get: E563: stat(C:/Temp/projname.cscope.out) error: 2 and no cscope connection is made. C:/Temp/projname.cscope.files contains a list, one per line, of absolute paths to every file in the project (generated via script of course). vim cscope plugin I have cscopeprg set to the absolute path to my cscope executable, and cscopeverbose turned on. If I don't try to specify a file list with -i, I am able to connect to and use cscope as long as I call the cscope add command from a directory containing code, but with the project code in several different directories, this will not work very well for me. I could find no mention of this or any other error code in :help cscope, :help E563, or the cscope man page accessed online at http://cscope.sourceforge.net/cscope_man_page.html. What am I doing wrong? Since cscope works OK by itself, my only thought is that I must be using the Vim interface incorrectly, but I cannot see anything wrong with the commands I issued. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php-~----------~----~----~----~------~----~------~--~--- John Beckett-2 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ RE: E563 when trying to add cscope database Ben Fritz wrote: > From the cmd.exe prompt, I can successfully navigate the code using: > cscope.exe -f C:/Temp/projname.cscope.out -i C:/Temp/ >
van GoogleInloggenVerborgen veldenZoeken naar groepen of berichten
gmail ! com [Download message RAW] Sergey Khorev wrote: >>something like.. >> >>E563 stat(g:cscopedb) error:2. >> >>g:cscopedb is the path to the cscope.out file. I couldn't make out what >>this error http://marc.info/?l=vim&m=110940396211808 means. > > > It may mean that you used smth like ":cs add g:cscopedb", which is > wrong. Try to do ":exe ':cs add ' . g:cscopedb" > There is a space in the filepath(value of g:cscopedb) hence it is reporting an error. I have changed the filepath to something without spaces. It is loading :). > >>I also tried to use ":cs add cscope.out", my gvim just hangs for windows and >>crashes. I also noticed that even after the vim's crash cscope.exe is >>still seen in the taskmanager's task list on my XP. > > > Which compiler did you use to compile Vim? There were reports on such > behaviour with old Borland C++. I download the gvim of antoine. The :version says it. "Compiled by antoine.mechelynck@belgacom.net". It is compiled using gcc. The problem could (most probably) be because e563 stat error of that. I downloaded the source with patches using cvs and compiled. cscope is working now with some minor hitches which I am yet to reason why.. When i do ctrl-] (configured using :help cscope) a listing appears at the bottom. when i select and hit enter it says... E429: File "Abcd.h" does not exist E257: cstag: tag not found Do you see any cause for this? I am using find,grep,egrep of UnxUtilities. I am mentioning this because i have changed Grep_Path etc..to use grep.vim of Lakmanan Yegappan. I will check if it works if I undo the above. Thanks a lot for the support. Had it not been for this, I wouldn't have compiled vim on my system. :) Once again...thanks, raja koduru > > > >>I also have another doubt. Some pages on the net mention that cscope can >>be used for C files/tokens and few other pages say this works even for >>C++,java etc. I am kind of lost. Please clarify. > > > If you use cscope Win32 port from iamphet.nm.ru, refer to the cscope > homepage at cscope.sf.net :) > > [prev in list] [next in list] [prev in thread] [next in thread] Configure | About | News | Addalist | SponsoredbyKoreLogic