My YouCompleteMe Vim plugin doesn't support STL
plugins, ubuntu, vim
Solution
The readme on the github repo for the plugin now addresses the issue.
This is caused by an issue with libclang. Compiling from clang the binary uses the correct default header search paths but compiling from libclang.so does not. The issue seems to impact some OS's more than others. It appears that OS X Mavericks in particular has problems with this.
The current workaround is to call echo | clang -v -E -x c++ - and look at the paths under the #include <...> search starts here: heading. You should take those paths, prepend -isystem to each individual path and append them all to the list of flags you return from your FlagsForFile function in your .ycm_extra_conf.py file.
You might also want to take a look at the corresponding issue
Problem
I just compiled and installed Vim, Vundle and YouCompleteMe plugin according to the introduction on Github. But the YouCompleteMe plugin doesn't work well in my Vim. It can auto complete the variable's name but it doesn't auto complete the operation of STL objects (vector, map). It can't even auto complete the "this->" in a class. It always tells me "(^U^N^P) Pattern not found." Have you guys seen this before? I use Ubuntu 12.04. What should I do?