vim每次都弹出错误警告
vim吧
全部回复
仅看楼主
level 12
貌似也不影响后续使用,就是每次点开都弹,好烦人。有大神知道怎么解决吗?
2015年10月15日 01点10分 1
level 3
早上装了别人编译好的ycm也出现这个提示
然后
If you didn't get the horrible message about the C runtime being incorrect, hurray! You've successfully compiled YCM, happy Viming! If you did get the message, it's time to fix it. Open a command prompt and type in:
set > pathout.txt
We want to look at what's in the path. By typing out set, the command prompt spits out all the environment variables. Since I don't like text manipulation inside cmd, the above command spits it out into a .txt file for easier viewing. There should be a variable Path= inside the txt file. This is all the directories included in your system PATH variable. You will have to look in each of those directories and find two offending files:
msvcr90.dll, msvcp90.dll
So, essentially, these dlls are old versions of Microsoft's runtime. One offending app that has these is CMake. What I've done is copy the newer dlls into the folder, renaming them as the old ones. I don't know if this is something you shouldn't do, but CMake still works for me and I can run Vim with YCM on Windows. Another solution that has worked for a peer is renaming the file such as msvcr90x.dll so that it doesn't load it but you keep the file in case it's a bad idea to delete.
搜了下cmake确实有msvcr90x.dll这个文件,我把cmake卸了就没这提示了
2015年10月16日 03点10分 3
1