OS: ubuntu 16.04.
build with python3.
Please see CONTIBUTING.md
For what it's worth, since this is the top result for that error on web searches, this is what I usually need to do (with YCM installed via git/pathogen):
{bash}
cd ~/.vim/bundle/YouCompleteMe
git clean -f
git pull
git submodule update --recursive --init
./install.py --clang-completer
git submodule foreach git pull origin master
Wouldn't that mean that you're updating the submodule to the latest commit available on master even if we pinned to a specific version? I think that git submodule update --recursive --init should be used.
Yep, that's a better way. I'll change my comment.
@naught101 Your answer is awesome, perfectly solve my problem,thank you!
Please see CONTIBUTING.md
Can you explain why you think this is not an obvious bug in your build process?
Most helpful comment
For what it's worth, since this is the top result for that error on web searches, this is what I usually need to do (with YCM installed via git/pathogen):
{bash} cd ~/.vim/bundle/YouCompleteMe git clean -f git pull git submodule update --recursive --init ./install.py --clang-completer