Below are the instructions for installing YouCompleteMe on Mac OS X
brew install cmake
cd ~/.vim/bundle
git clone https://github.com/Valloric/YouCompleteMe.git
mkdir YouCompleteMe/ycmbuild
cd YouCompleteMe/ycmbuild
cmake -G "Unix Makefiles" . ~/.vim/bundle/YouCompleteMe/cpp/
make ycm_core
- Restart Vim
- Enjoy
I had to use
6.
cmake -G "Unix Makefiles" . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/
but otherwise this worked for me.