Closed metalmac closed 7 years ago
Although, I did note raninstall.py
successfully, it still poped out ycm debuginfos as I open gvim
like images below
From the documentation:
You can specify the Microsoft Visual C++ (MSVC) version using the --msvc option. YCM officially supports MSVC 11 (Visual Studio 2012), 12 (2013), and 14 (2015).
If you still want to use MSVC 10, you'll need to follow the full instructions but there is no guarantee that it will compile without errors. I recommend to install Visual Studio Community as mentioned in the documentation.
Although, I did note raninstall.py successfully, it still poped out ycm debuginfos as I open gvimlike below image
See the error message on your first screenshot (you can see the full message with the :messages
command):
The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library not detected; you need to compile YCM before using it. Follow the instructions in the documentation.
If you still have issues or questions on building YCM, you should ask them on the ycm-users Google group. The issue tracker is not for technical support.
@micbou , Ok Thank you though. I already installed the VisualStudio 2010 Ultimate,I will try to compile ycm again follow your advice.
Microsoft Visual Studio 2010 版本 10.0.30319.1 RTMRel Microsoft .NET Framework 版本 4.5.50709 RTMRel
已安装的版本: Ultimate
Microsoft Office Developer Tools 01019-532-2002102-70605 Microsoft Office Developer Tools
Microsoft Visual C# 2010 01019-532-2002102-70605 Microsoft Visual C# 2010
Microsoft Visual C++ 2010 01019-532-2002102-70605 Microsoft Visual C++ 2010
Microsoft Visual Studio 2010 代码分析拼写检查器 01019-532-2002102-70605 Microsoft Visual Studio 2010 代码分析拼写检查器
International CorrectSpell(TM) spelling correction system(C) 1993 部分版权归 Lernout & Hauspie Speech Products N.V. 所有。保留所有权利。
The American Heritage(R) Dictionary of the English Language, Third Edition。版权所有(C) 1992 Houghton Mifflin Company。电子版由 Lernout & Hauspie Speech Products N.V. 颁发许可。保留所有权利。
Microsoft Visual Studio 2010 体系结构和建模工具 01019-532-2002102-70605 Microsoft Visual Studio 2010 体系结构和建模工具
UML® 和 Unified Modeling Language™ 是 Object Management Group, Inc. 在美国和其他国家/地区的商标或注册商标。
Microsoft Visual Studio 2010 团队资源管理器 01019-532-2002102-70605 Microsoft Visual Studio 2010 团队资源管理器
Microsoft Visual Web Developer 2010 01019-532-2002102-70605 Microsoft Visual Web Developer 2010
.NET Reflector Visual Studio Extension 9.0.1.374 Integrates .NET Reflector into Visual Studio to allow you to seamlessly debug into third-party code and assemblies, even if you don't have the source code for them.
Visit www.reflector.net for more information.
Copyright (c) 2009-2012 Red Gate Software Inc.
Crystal Reports Templates for Microsoft Visual Studio 2010
Crystal Reports Templates for Microsoft Visual Studio 2010ESRI ArcGIS 1.0 Visual Studio 2010 Integration Framework for ESRI ArcGIS Developers
Microsoft Visual Studio 2010 SharePoint 开发人员工具 10.0.30319 Microsoft Visual Studio 2010 SharePoint 开发人员工具
NuGet Package Manager 1.4.20701.9038 NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PowerCommands for Visual Studio 2010 1.0 A set of power commands for Visual Studio 2010
Visual Assist X
For more information about Visual Assist X, see the Whole Tomato Software website at http://www.WholeTomato.com. Copyright (c) 1997-2011 Whole Tomato Software, Inc.VsVim 2.0.1.0 VsVim is a Vim emulator for Visual Studio
What's more, I could not use the Google Group from China because of GFW, if it is possible to discuss it on ycm Gitter channel?
What's more, I could not use the Google Group from China because of GFW, if it is possible to discuss it on ycm Gitter channel?
Yes, of course.
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
inside the brackets) before filing your issue:vim --version
.:YcmDebugInfo
.:YcmToggleLogs stderr
.Thank you for adhering to this process! It ensures your issue is resolved quickly and that neither your nor our time is needlessly wasted.
Issue Details
[If filing a bug report, please include a list of steps that describe how to reproduce the bug you are experiencing. Also include test code if relevant.]
1. Issue Brief
I tried to compile the ycm plugin for my Vim 8.0in Windows, and I followed the Windows Intallation Guide .Following are the step I tried to do.
1) Already downloaded
gvim80.exe
from this link and installed my Vim 8.0 toC:\Vim
; 2) Downloaded the latest YCM respos from here and didgit submodule update --init --recursive
; 3) Copied the ycm toC:\Vim\vimfiles\bundle
and Installed the ycm in Vim with Vundle; 4) Raninstall.py --all
inC:\Vim\vimfiles\bundle\YouCompleteMe
;Unfortunately, it failed at
install.py
, please check the > Section4. to see the details.2. OS Environment
Windows 7 Ultimate X64
3. Relevant Software informations
4. Error Details
Please check the install log below:
After that , I rechecked the Windows Intallation Guide and found this , does it mean that I can not compile ycm with MSVC10 (Visual Studio 2010) due to YCM may not support?
So I tried to specify MSVC 10 mannually to install, like this, it poped out another error below
Anyway, I want to know two things: 1 ) Does YCM supports MSVC 10 ? 2 ) If ycm supports MSVC10 ,how can I use it ? Maybe I used it in the wrong way(like specify the MSVC10)
Thanks for all the advice :) Have a Nice Day!