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
It works for me. I think you might pay attention to the dictionary. You might already in the YouCompleteMe, so it will have this error.