continuation of the article, after the ctags, need to be done is cscope, is still on the internet to drag a, the specific process is as follows
#1 Download Cscope Latest version
http://cscope.sourceforge.net/#downloads
#2 Decompression
Tar xvf Cscope-15.8b.tar
#3 revise the source file for Cscope
Vim Src/constants.h
Add after 111 rows
#undef TERMINFO
#define TERMINFO 1
#4 Installation
./configure && make all && sudo make install
If the installation encounters the following error, there is no step 3
/usr/include/ncurses.h:539:40:error:macro "Cbreak" passed 1 arguments, but takes just 0 /usr/include/ncurses.h:564:44:error:macro "Erasechar" passed 1 arguments, but takes just 0 /usr/include/ncurses.h:600:43:error:macro "Killchar" passed 1 arguments, but takes just 0 |
#5 Modify Path
Vim ~/.BASHRC
Added: Path= "/usr/local/bin: $PATH"
If you want to take effect immediately, enter "Export path=" under Terminal/usr/local/bin: $PATH ""
MAC OSX installs Cscope