{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2756","repository_url":"https://api.github.com/repos/Valloric/YouCompleteMe","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2756/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2756/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2756/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/2756","id":252515213,"number":2756,"title":"CMake Error,no libclang found","user":{"login":"zllfdd","id":5934423,"avatar_url":"https://avatars0.githubusercontent.com/u/5934423?v=4","gravatar_id":"","url":"https://api.github.com/users/zllfdd","html_url":"https://github.com/zllfdd","followers_url":"https://api.github.com/users/zllfdd/followers","following_url":"https://api.github.com/users/zllfdd/following{/other_user}","gists_url":"https://api.github.com/users/zllfdd/gists{/gist_id}","starred_url":"https://api.github.com/users/zllfdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zllfdd/subscriptions","organizations_url":"https://api.github.com/users/zllfdd/orgs","repos_url":"https://api.github.com/users/zllfdd/repos","events_url":"https://api.github.com/users/zllfdd/events{/privacy}","received_events_url":"https://api.github.com/users/zllfdd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-24T07:45:30Z","updated_at":"2017-08-24T08:12:38Z","closed_at":null,"body":"# Issue Prelude\r\n\r\n**Please complete these steps and check these boxes (by putting an `x` inside\r\nthe brackets) _before_ filing your issue:**\r\n\r\n- [x] I have read and understood YCM's [CONTRIBUTING][cont] document.\r\n- [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document.\r\n- [x] I have read and understood YCM's [README][readme], **especially the\r\n  [Frequently Asked Questions][faq] section.**\r\n- [x] I have searched YCM's issue tracker to find issues similar to the one I'm\r\n  about to report and couldn't find an answer to my problem. ([Example Google\r\n  search.][search])\r\n- [x] If filing a bug report, I have included the output of `vim --version`.\r\n- [x ] If filing a bug report, I have included the output of `:YcmDebugInfo`.\r\n- [x ] If filing a bug report, I have attached the contents of the logfiles using\r\n  the `:YcmToggleLogs` command.\r\n- [x] If filing a bug report, I have included which OS (including specific OS\r\n  version) I am using.\r\n- [x] If filing a bug report, I have included a minimal test case that reproduces\r\n  my issue, including what I expected to happen and what actually happened.\r\n- [x] If filing a installation failure report, I have included the entire output\r\n  of `install.py` (or `cmake`/`make`/`ninja`) including its invocation\r\n- [x] **I understand this is an open-source project staffed by volunteers and\r\n  that any help I receive is a selfless, heartfelt _gift_ of their free time. I\r\n  know I am not entitled to anything and will be polite and courteous.**\r\n- [x] **I understand my issue may be closed if it becomes obvious I didn't\r\n  actually perform all of these steps.**\r\n\r\nThank you for adhering to this process! It ensures your issue is resolved\r\nquickly and that neither your nor our time is needlessly wasted.\r\n\r\n# Issue Details\r\n\r\n> Provide a clear description of the problem, including the following key\r\n> questions:\r\n\r\n* What did you do?\r\n>python install.py --clang-completer\r\n\r\n>CMake Error at ycm/CMakeLists.txt:336 (message):\r\n>  Using Clang completer, but no libclang found.  Try setting\r\n>  EXTERNAL_LIBCLANG_PATH or revise your configuration\r\n\r\n* What did you expect to happen?\r\n\r\n* What actually happened?\r\n![ycm-llvm-7zip](https://user-images.githubusercontent.com/5934423/29655212-d12e8dd2-88e2-11e7-917a-d190ab0b3ee6.png)\r\n\r\n# Diagnostic data\r\n\r\n## Output of `vim --version`\r\n> VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 12 2016 18:25:27)\r\n> MS-Windows 32 位图形界面版本 带 OLE 支持\r\n> 包含补丁: 1-2\r\n> 编译者 mool@tororo\r\n> 巨型版本 带图形界面。  可使用(+)与不可使用(-)的功能:\r\n> +acl                +eval               +mouse              +syntax\r\n> +arabic             +ex_extra           +mouseshape         +tag_binary\r\n> +autocmd            +extra_search       +multi_byte_ime/dyn +tag_old_static\r\n> +balloon_eval       +farsi              +multi_lang         -tag_any_white\r\n> +browse             +file_in_path       -mzscheme           +tcl/dyn\r\n> ++builtin_terms     +find_in_path       +netbeans_intg      -termguicolors\r\n> +byte_offset        +float              +num64              -tgetent\r\n> +channel            +folding            +ole                -termresponse\r\n> +cindent            -footer             +packages           +textobjects\r\n> +clientserver       +gettext/dyn        +path_extra         +timers\r\n> +clipboard          -hangul_input       +perl/dyn           +title\r\n> +cmdline_compl      +iconv/dyn          +persistent_undo    +toolbar\r\n> +cmdline_hist       +insert_expand      -postscript         +user_commands\r\n> +cmdline_info       +job                +printer            +vertsplit\r\n> +comments           +jumplist           +profile            +virtualedit\r\n> +conceal            +keymap             +python/dyn         +visual\r\n> +cryptv             +lambda             +python3/dyn        +visualextra\r\n> +cscope             +langmap            +quickfix           +viminfo\r\n> +cursorbind         +libcall            +reltime            +vreplace\r\n> +cursorshape        +linebreak          +rightleft          +wildignore\r\n> +dialog_con_gui     +lispindent         +ruby/dyn           +wildmenu\r\n> +diff               +listcmds           +scrollbind         +windows\r\n> +digraphs           +localmap           +signs              +writebackup\r\n> +directx            -lua                +smartindent        -xfontset\r\n> -dnd                +menu               +startuptime        -xim\r\n> -ebcdic             +mksession          +statusline         +xpm_w32\r\n> +emacs_tags         +modify_fname       -sun_workshop       -xterm_save\r\n>      系统 vimrc 文件: \"$VIM\\vimrc\"\r\n>      用户 vimrc 文件: \"$HOME\\_vimrc\"\r\n>  第二用户 vimrc 文件: \"$HOME\\vimfiles\\vimrc\"\r\n>  第三用户 vimrc 文件: \"$VIM\\_vimrc\"\r\n>       用户 exrc 文件: \"$HOME\\_exrc\"\r\n>   第二用户 exrc 文件: \"$VIM\\_exrc\"\r\n>     系统 gvimrc 文件: \"$VIM\\gvimrc\"\r\n>     用户 gvimrc 文件: \"$HOME\\_gvimrc\"\r\n> 第二用户 gvimrc 文件: \"$HOME\\vimfiles\\gvimrc\"\r\n> 第三用户 gvimrc 文件: \"$VIM\\_gvimrc\"\r\n>        defaults file: \"$VIMRUNTIME\\defaults.vim\"\r\n>         系统菜单文件: \"$VIMRUNTIME\\menu.vim\"\r\n> 编译方式: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32  -DFEAT_CSCOPE \r\n> -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL   -DFEAT_XPM_W32   -DWINVER=0x0501 \r\n> -D_WIN32_WINNT=0x0501  /Fo.\\ObjGXOLYHTRi386/ /Ox /GL -DNDEBUG  /Zl /MT -DFEAT_OLE \r\n> -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_W32 -DFEAT_DIRECTX -DDYNAMIC_DIRECTX \r\n> -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\\\"tcl86\r\n> .dll\\\" -DDYNAMIC_TCL_VER=\\\"8.6\\\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL\r\n> =\\\"python27.dll\\\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\\\"python35.dl\r\n> l\\\" -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DDYNAMIC_PERL \r\n> -DDYNAMIC_PERL_DLL=\\\"perl524.dll\\\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=22 \r\n> -DDYNAMIC_RUBY_DLL=\\\"msvcrt-ruby220.dll\\\" -DFEAT_HUGE /Fd.\\ObjGXOLYHTRi386/ /Zi\r\n> 链接方式: link /RELEASE /nologo /subsystem:windows /LTCG:STATUS oldnames.lib kernel32.lib \r\n> advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib uuid.lib /machine:i386 gdi32.lib version.lib   \r\n> winspool.lib comctl32.lib advapi32.lib shell32.lib  /machine:i386 /nodefaultlib libcmt.lib oleaut32.lib \r\n> user32.lib     /nodefaultlib:python27.lib /nodefaultlib:python35.lib   \"E:\\tcl\\lib\\tclstub86.lib\" WSock32.lib \r\n> xpm\\x86\\lib\\libXpm.lib /PDB:gvim.pdb -debug\r\n\r\n\r\n\r\n## Output of `YcmDebugInfo`\r\n\r\n## Contents of YCM, ycmd and completion engine logfiles\r\n\r\n## OS version, distribution, etc.\r\nWindows: Win10 1073 (Microsoft Windows [版本 10.0.15063])\r\n7zip: 16.02\r\n## Output of build/install commands\r\n\r\n> Searching Python 3.5 libraries...\r\n> Found Python library: C:\\Users\\lks\\AppData\\Local\\Programs\\Python\\Python35-32\\libs\\python35.lib\r\n> Found Python headers folder: C:\\Users\\lks\\AppData\\Local\\Programs\\Python\\Python35-32\\include\r\n> -- The C compiler identification is MSVC 19.10.25017.0\r\n> -- The CXX compiler identification is MSVC 19.10.25017.0\r\n> -- 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\r\n> -- 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\r\n> -- Detecting C compiler ABI info\r\n> -- Detecting C compiler ABI info - done\r\n> -- 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\r\n> -- 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\r\n> -- Detecting CXX compiler ABI info\r\n> -- Detecting CXX compiler ABI info - done\r\n> -- Detecting CXX compile features\r\n> -- Detecting CXX compile features - done\r\n> -- 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\")\r\n> Using Clang archive: C:/Users/lks/vimfiles/bundle/YouCompleteMe/third_party/ycmd/cpp/../clang_archives/LLVM-4.0.1-win32.exe\r\n> Using libclang to provide semantic completion for C/C++/ObjC\r\n> CMake Error at ycm/CMakeLists.txt:336 (message):\r\n>   Using Clang completer, but no libclang found.  Try setting\r\n>   EXTERNAL_LIBCLANG_PATH or revise your configuration\r\n\r\n\r\n> -- Configuring incomplete, errors occurred!\r\n> See also \"C:/Users/lks/AppData/Local/Temp/ycm_build_e3bejygq/CMakeFiles/CMakeOutput.log\".\r\n> ERROR: the build failed.\r\n\r\n> NOTE: it is *highly* unlikely that this is a bug but rather\r\n> that this is a problem with the configuration of your system\r\n> or a missing dependency. Please carefully read CONTRIBUTING.md\r\n> and if you're sure that it is a bug, please raise an issue on the\r\n> issue tracker, including the entire output of this script\r\n> and the invocation line used to run it.\r\n"},"comment":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/comments/324565656","html_url":"https://github.com/Valloric/YouCompleteMe/issues/2756#issuecomment-324565656","issue_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2756","id":324565656,"user":{"login":"micbou","id":10026824,"avatar_url":"https://avatars2.githubusercontent.com/u/10026824?v=4","gravatar_id":"","url":"https://api.github.com/users/micbou","html_url":"https://github.com/micbou","followers_url":"https://api.github.com/users/micbou/followers","following_url":"https://api.github.com/users/micbou/following{/other_user}","gists_url":"https://api.github.com/users/micbou/gists{/gist_id}","starred_url":"https://api.github.com/users/micbou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micbou/subscriptions","organizations_url":"https://api.github.com/users/micbou/orgs","repos_url":"https://api.github.com/users/micbou/repos","events_url":"https://api.github.com/users/micbou/events{/privacy}","received_events_url":"https://api.github.com/users/micbou/received_events","type":"User","site_admin":false},"created_at":"2017-08-24T08:12:38Z","updated_at":"2017-08-24T08:12:38Z","body":"Thanks for the report. When manually extracting the `LLVM-4.0.1-win32.exe` installer with 7-Zip 16.02:\r\n```sh\r\n7z.exe x LLVM-4.0.1-win32.exe\r\n```\r\nI obtain the following folders in the current directory:\r\n```sh\r\n'$PLUGINSDIR'\r\nbin\r\ninclude\r\nlib\r\nlibexec\r\nmsbuild-bin\r\nshare\r\ntools\r\n```\r\nwith `libclang.lib` in the `lib` folder. Could you tell us which folders you are obtaining in your case?\r\n"}}
{"actor":{"display_login":"micbou"}}