YCM is known as the best use of vim in the plug-ins, can't help but want to try, follow the installation steps, go to this step of the time
Always appears
Your C + + compiler does not support c++11
The error
Go to GitHub ycm issue, found someone met with me the same problem, the way to deal with the following
I looked at the GCC version of my computer, found that incredibly is 4.4.7, the old can not support c++11, so first to update the GCC to 4.8, online there are methods.
and then use
Rpm-qa | grep C + +
command, find a C + + package, RPM-QL + package name, find the specific location of C + +, follow the method of GitHub to re-execute
CXX = "/usr/bin/c++"./install.py
Still error.
Bothered me for a day or two, today inadvertently on the Internet to see the method
which GCC
and find the path to GCC.
/usr/local/bin/gcc
Use this to replace the path above, which is used when executing
CXX = "/USR/LOCAL/BIN/GCC"./install.py's command
Success!!
ha haha haha ha ha ha ha haha
Hereby commemorate
Linux VIM installation ycm plugin appears Your C + + compiler does not support c++11