YCM install -win -vim log

-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
-- The C compiler identification is MSVC 19.28.29334.0
-- The CXX compiler identification is MSVC 19.28.29334.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done

使用的python

-- Found PythonLibs: C:/python/Python39/libs/python39.lib (found suitable version "3.9.2", minimum required is "3.6")

下载libclang

-- Downloading libclang 11.0.0 from https://dl.bintray.com/ycm-core/libclang/libclang-11.0.0-win64.tar.bz2
-- [download 0% complete]

-- [download 100% complete]

-- Using libclang to provide semantic completion for C/C++/ObjC
-- Using external libclang: C:/Users/linux/AppData/Local/Temp/ycm_build_ugrtwdbj/lib/libclang.lib

clang-tidy

-- NOT using clang-tidy for static analysis.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/linux/AppData/Local/Temp/ycm_build_ugrtwdbj

用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.8.2+25e4d540b
版权所有(C) Microsoft Corporation。保留所有权利。

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(495,5):
  Checking Build System
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(495,5):
  Building Custom Rule C:/Users/linux/vimfiles/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/CMakeLists.txt
  Candidate.cpp
  CandidateRepository.cpp
  Character.cpp
  CharacterRepository.cpp
  ClangCompleter.cpp
  ClangHelpers.cpp
  ClangUtils.cpp
  CompilationDatabase.cpp
  CompletionData.cpp
  Documentation.cpp
  Range.cpp
  TranslationUnit.cpp
  TranslationUnitStore.cpp
  CodePoint.cpp
  CodePointRepository.cpp
  IdentifierCompleter.cpp
  IdentifierDatabase.cpp
  IdentifierUtils.cpp
  PythonSupport.cpp
  Result.cpp
  Utils.cpp
  Word.cpp
  versioning.cpp
  ycm_core.cpp
     Creating library C:/Users/linux/AppData/Local/Temp/ycm_build_ugrtwdbj/ycm/Release/ycm_core.lib and object C:/Users/linux/AppData/Local/Temp/ycm_build_ugrtwdbj/ycm/Release/ycm_core.exp
  ycm_core.vcxproj -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\ycm_core.pyd
running build
running build_py
creating C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build
creating C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\regex
copying regex_3\__init__.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\regex
copying regex_3\regex.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\regex
copying regex_3\_regex_core.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\regex
copying regex_3\test_regex.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\regex
running build_ext
building 'regex._regex' extension
creating C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\3
creating C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\3\temp.win-amd64-3.9
creating C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\3\temp.win-amd64-3.9\Release
creating C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\3\temp.win-amd64-3.9\Release\regex_3
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\python\Python39\include -IC:\python\Python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt /Tcregex_3\_regex.c /FoC:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\3\temp.win-amd64-3.9\Release\regex_3\_regex.obj
_regex.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\python\Python39\include -IC:\python\Python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt /Tcregex_3\_regex_unicode.c /FoC:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\3\temp.win-amd64-3.9\Release\regex_3\_regex_unicode.obj
_regex_unicode.c
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\python\Python39\libs /LIBPATH:C:\python\Python39\PCbuild\amd64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\ATLMFC\lib\x64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\lib\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64 /EXPORT:PyInit__regex C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\3\temp.win-amd64-3.9\Release\regex_3\_regex.obj C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\3\temp.win-amd64-3.9\Release\regex_3\_regex_unicode.obj /OUT:C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\regex\_regex.cp39-win_amd64.pyd /IMPLIB:C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\3\temp.win-amd64-3.9\Release\regex_3\_regex.cp39-win_amd64.lib
   Creating library C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\3\temp.win-amd64-3.9\Release\regex_3\_regex.cp39-win_amd64.lib and object C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\regex-build\3\temp.win-amd64-3.9\Release\regex_3\_regex.cp39-win_amd64.exp
Generating code
Finished generating code
running build
running build_py
creating C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build
creating C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3
creating C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog
copying src\watchdog\events.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog
copying src\watchdog\version.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog
copying src\watchdog\watchmedo.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog
copying src\watchdog\__init__.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog
creating C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\observers
copying src\watchdog\observers\api.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\observers
copying src\watchdog\observers\fsevents.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\observers
copying src\watchdog\observers\fsevents2.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\observers
copying src\watchdog\observers\inotify.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\observers
copying src\watchdog\observers\inotify_buffer.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\observers
copying src\watchdog\observers\inotify_c.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\observers
copying src\watchdog\observers\kqueue.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\observers
copying src\watchdog\observers\polling.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\observers
copying src\watchdog\observers\read_directory_changes.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\observers
copying src\watchdog\observers\winapi.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\observers
copying src\watchdog\observers\__init__.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\observers
creating C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\tricks
copying src\watchdog\tricks\__init__.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\tricks
creating C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\utils
copying src\watchdog\utils\bricks.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\utils
copying src\watchdog\utils\compat.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\utils
copying src\watchdog\utils\delayed_queue.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\utils
copying src\watchdog\utils\dirsnapshot.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\utils
copying src\watchdog\utils\echo.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\utils
copying src\watchdog\utils\platform.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\utils
copying src\watchdog\utils\unicode_paths.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\utils
copying src\watchdog\utils\win32stat.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\utils
copying src\watchdog\utils\__init__.py -> C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\utils
running egg_info
creating src\watchdog.egg-info
writing src\watchdog.egg-info\PKG-INFO
writing dependency_links to src\watchdog.egg-info\dependency_links.txt
writing entry points to src\watchdog.egg-info\entry_points.txt
writing requirements to src\watchdog.egg-info\requires.txt
writing top-level names to src\watchdog.egg-info\top_level.txt
writing manifest file 'src\watchdog.egg-info\SOURCES.txt'
reading manifest file 'src\watchdog.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'src\watchdog.egg-info\SOURCES.txt'

added 1 package, and audited 1 package in 8s

使用的python库

found 0 vulnerabilities
Searching Python 3.9 libraries...
Found Python library: C:\python\Python39\libs\python39.lib
Found Python headers folder: C:\python\Python39\Include

下载java相关的

Downloading jdt.ls from http://download.eclipse.org/jdtls/snapshots/jdt-language-server-0.63.0-202010141717.tar.gz...
Extracting jdt.ls to C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\eclipse.jdt.ls\target\repository...
Done installing jdt.ls

查看log

:YcmToggleLogs ycmd_49710_stderr_ffjql9r4.log
File "C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\ycmd\completers\language_server\language_server_completer.py", line 30, in <module>
from watchdog.events import PatternMatchingEventHandler
File "C:\Users\linux\vimfiles\plugged\YouCompleteMe\third_party\ycmd\third_party\watchdog_deps\watchdog\build\lib3\watchdog\events.py", line 91, in <module>
from pathtools.patterns import match_any_paths

缺少module

ModuleNotFoundError: No module named 'pathtools'
C:\Users\linux\vimfiles\plugged\YouCompleteMe>pip install pathtools
Collecting pathtools
  Downloading pathtools-0.1.2.tar.gz (11 kB)
Using legacy 'setup.py install' for pathtools, since package 'wheel' is not installed.
Installing collected packages: pathtools
    Running setup.py install for pathtools ... done
Successfully installed pathtools-0.1.2
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'c:\python\python39\python.exe -m pip install --upgrade pip' command.

debug info

:YcmDebugInfo
Printing YouCompleteMe debug information...
-- Resolve completions: Up front
-- Client logfile: C:\Users\linux\AppData\Local\Temp\ycm_gi503cqd.log
-- Server Python interpreter: C:\python\Python39\python.exe
-- Server Python version: 3.9.2
-- Server has Clang support compiled in: True
-- Clang version: clang version 11.0.0
-- No extra configuration file found
-- Server running at: http://127.0.0.1:49757
-- Server process ID: 8112
-- Server logfiles:
--   C:\Users\linux\AppData\Local\Temp\ycmd_49757_stdout_0jhice30.log
--   C:\Users\linux\AppData\Local\Temp\ycmd_49757_stderr_igz1qbsc.log
posted @ 2021-03-13 20:46  fndefbwefsowpvqfx  阅读(175)  评论(0编辑  收藏  举报