-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Issue Prelude
Please complete these steps and check these boxes (by putting an x
inside
the brackets) before filing your issue:
- I have read and understood YCM's [CONTRIBUTING][cont] document.
- I have read and understood YCM's [CODE_OF_CONDUCT][code] document.
- I have read and understood YCM's [README][readme], especially the
[Frequently Asked Questions][faq] section. - I have searched YCM's issue tracker to find issues similar to the one I'm
about to report and couldn't find an answer to my problem. ([Example Google
search.][search]) - If filing a bug report, I have included the output of
vim --version
. - [x ] If filing a bug report, I have included the output of
:YcmDebugInfo
. - [x ] If filing a bug report, I have attached the contents of the logfiles using
the:YcmToggleLogs
command. - If filing a bug report, I have included which OS (including specific OS
version) I am using. - If filing a bug report, I have included a minimal test case that reproduces
my issue, including what I expected to happen and what actually happened. - If filing a installation failure report, I have included the entire output
ofinstall.py
(orcmake
/make
/ninja
) including its invocation - I understand this is an open-source project staffed by volunteers and
that any help I receive is a selfless, heartfelt gift of their free time. I
know I am not entitled to anything and will be polite and courteous. - I understand my issue may be closed if it becomes obvious I didn't
actually perform all of these steps.
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
Provide a clear description of the problem, including the following key
questions:
- What did you do?
python install.py --clang-completer
CMake Error at ycm/CMakeLists.txt:336 (message):
Using Clang completer, but no libclang found. Try setting
EXTERNAL_LIBCLANG_PATH or revise your configuration
Diagnostic data
Output of vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 12 2016 18:25:27)
MS-Windows 32 位图形界面版本 带 OLE 支持
包含补丁: 1-2
编译者 mool@tororo
巨型版本 带图形界面。 可使用(+)与不可使用(-)的功能:
+acl +eval +mouse +syntax
+arabic +ex_extra +mouseshape +tag_binary
+autocmd +extra_search +multi_byte_ime/dyn +tag_old_static
+balloon_eval +farsi +multi_lang -tag_any_white
+browse +file_in_path -mzscheme +tcl/dyn
++builtin_terms +find_in_path +netbeans_intg -termguicolors
+byte_offset +float +num64 -tgetent
+channel +folding +ole -termresponse
+cindent -footer +packages +textobjects
+clientserver +gettext/dyn +path_extra +timers
+clipboard -hangul_input +perl/dyn +title
+cmdline_compl +iconv/dyn +persistent_undo +toolbar
+cmdline_hist +insert_expand -postscript +user_commands
+cmdline_info +job +printer +vertsplit
+comments +jumplist +profile +virtualedit
+conceal +keymap +python/dyn +visual
+cryptv +lambda +python3/dyn +visualextra
+cscope +langmap +quickfix +viminfo
+cursorbind +libcall +reltime +vreplace
+cursorshape +linebreak +rightleft +wildignore
+dialog_con_gui +lispindent +ruby/dyn +wildmenu
+diff +listcmds +scrollbind +windows
+digraphs +localmap +signs +writebackup
+directx -lua +smartindent -xfontset
-dnd +menu +startuptime -xim
-ebcdic +mksession +statusline +xpm_w32
+emacs_tags +modify_fname -sun_workshop -xterm_save
系统 vimrc 文件: "$VIM\vimrc"
用户 vimrc 文件: "$HOME_vimrc"
第二用户 vimrc 文件: "$HOME\vimfiles\vimrc"
第三用户 vimrc 文件: "$VIM_vimrc"
用户 exrc 文件: "$HOME_exrc"
第二用户 exrc 文件: "$VIM_exrc"
系统 gvimrc 文件: "$VIM\gvimrc"
用户 gvimrc 文件: "$HOME_gvimrc"
第二用户 gvimrc 文件: "$HOME\vimfiles\gvimrc"
第三用户 gvimrc 文件: "$VIM_gvimrc"
defaults file: "$VIMRUNTIME\defaults.vim"
系统菜单文件: "$VIMRUNTIME\menu.vim"
编译方式: cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DFEAT_CSCOPE
-DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_XPM_W32 -DWINVER=0x0501
-D_WIN32_WINNT=0x0501 /Fo.\ObjGXOLYHTRi386/ /Ox /GL -DNDEBUG /Zl /MT -DFEAT_OLE
-DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_W32 -DFEAT_DIRECTX -DDYNAMIC_DIRECTX
-DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL="tcl86
.dll" -DDYNAMIC_TCL_VER="8.6" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL
="python27.dll" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python35.dl
l" -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DDYNAMIC_PERL
-DDYNAMIC_PERL_DLL="perl524.dll" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=22
-DDYNAMIC_RUBY_DLL="msvcrt-ruby220.dll" -DFEAT_HUGE /Fd.\ObjGXOLYHTRi386/ /Zi
链接方式: link /RELEASE /nologo /subsystem:windows /LTCG:STATUS oldnames.lib kernel32.lib
advapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib uuid.lib /machine:i386 gdi32.lib version.lib
winspool.lib comctl32.lib advapi32.lib shell32.lib /machine:i386 /nodefaultlib libcmt.lib oleaut32.lib
user32.lib /nodefaultlib:python27.lib /nodefaultlib:python35.lib "E:\tcl\lib\tclstub86.lib" WSock32.lib
xpm\x86\lib\libXpm.lib /PDB:gvim.pdb -debug
Output of YcmDebugInfo
Contents of YCM, ycmd and completion engine logfiles
OS version, distribution, etc.
Windows: Win10 1073 (Microsoft Windows [版本 10.0.15063])
7zip: 16.02
Output of build/install commands
Searching Python 3.5 libraries...
Found Python library: C:\Users\lks\AppData\Local\Programs\Python\Python35-32\libs\python35.lib
Found Python headers folder: C:\Users\lks\AppData\Local\Programs\Python\Python35-32\include
-- The C compiler identification is MSVC 19.10.25017.0
-- The CXX compiler identification is MSVC 19.10.25017.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonLibs: C:/Users/lks/AppData/Local/Programs/Python/Python35-32/libs/python35.lib (found suitable version "3.5.2", minimum required is "3.3")
Using Clang archive: C:/Users/lks/vimfiles/bundle/YouCompleteMe/third_party/ycmd/cpp/../clang_archives/LLVM-4.0.1-win32.exe
Using libclang to provide semantic completion for C/C++/ObjC
CMake Error at ycm/CMakeLists.txt:336 (message):
Using Clang completer, but no libclang found. Try setting
EXTERNAL_LIBCLANG_PATH or revise your configuration
-- Configuring incomplete, errors occurred!
See also "C:/Users/lks/AppData/Local/Temp/ycm_build_e3bejygq/CMakeFiles/CMakeOutput.log".
ERROR: the build failed.
NOTE: it is highly unlikely that this is a bug but rather
that this is a problem with the configuration of your system
or a missing dependency. Please carefully read CONTRIBUTING.md
and if you're sure that it is a bug, please raise an issue on the
issue tracker, including the entire output of this script
and the invocation line used to run it.