QMonkey / monkey-vim

Aims to make a powerful and fast IDE.
https://github.com/QMonkey/monkey-vim
13 stars 2 forks source link

Window 64 位系统上如何安装YouCompleteMe? #2

Open Just4Learning opened 7 years ago

Just4Learning commented 7 years ago

看到您的“monkey-vim”的截图,很漂亮,有些设置和我自己惯用的不一样,就不想完全照搬。

我想请教一下怎么在Window 64 位系统上如何安装YouCompleteMe。 在网上找到的很多教程都是花很多笔墨去介绍YouCompleteMe如何快速、如何模糊搜索、如何……一到关键步骤偏偏就语焉不详,对新手及其不友好。 我现在特来请教的是,手动编译时候的详细步骤,因为自动编译似乎没成功。

我的电脑上已经安装了Visual Studio 2017((只安装了C++组件))、Python(3.5.2)、CMake、LLVM、7-zip、Git、curl等,位数都是64位的,基本是最新的。

另外,请问编译完成后是不是可以把YouCompleteMe目录整个复制到另一台Windows 64位机器上使用,除了要求有Python之外,还需要Visual Studio 2017、CMake、LLVM、7-zip、Git、curl等这些东西吗?

Just4Learning commented 7 years ago

谢谢回复。我就是想编译YCM。我的vim是下载别人编译好的。。。

QMonkey commented 7 years ago

自动编译不成功,提示什么

Just4Learning commented 7 years ago

安装了个VS 2015和Python 2.7.13之后编译成功而且能用。我用Python 2 运行脚本的,但看起来,应该还是用VS 2017 编译ycm的。 我是在win10 虚拟机里编译的,直接拷贝C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe目录和_vimrc到物理机似乎不可用。 物理机安装了Python3,没有Visual Studio 2017、CMake、LLVM。 YCM对“Microsoft .NET Framework ”或者“Microsoft Visual C++ 2017 Redistributable (x64) ”之类的东西有要求吗?? ` C:\Windows\system32>cd C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe

C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe>python2 install.py --clang-completer Searching Python 2.7 libraries... Found Python library: C:\Program Files\Python27\libs\python27.lib Found Python headers folder: C:\Program Files\Python27\include -- The C compiler identification is MSVC 19.10.25019.0 -- The CXX compiler identification is MSVC 19.10.25019.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/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/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/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:/Program Files/Python27/libs/python27.lib (found suitable version "2.7.13", minimum required is "2.6") Using Clang archive: C:/Program Files (x86)/Vim/vim80/bundle/YouCompleteMe/third_party/ycmd/cpp/../clang_archives/LLVM-4.0.1-win64.exe Using libclang to provide semantic completion for C/C++/ObjC Using external libclang: C:/Users/Hello/AppData/Local/Temp/ycm_build_nbigw6/lib/libclang.lib -- Configuring done -- Generating done -- Build files have been written to: C:/Users/Hello/AppData/Local/Temp/ycm_build_nbigw6 Microsoft (R) 生成引擎版本 15.1.1012.6693 版权所有(C) Microsoft Corporation。保留所有权利。

生成启动时间为 2017/8/2 16:13:28。 节点 1 上的项目“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj”(默认目标)。 项目“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj”(1)正在节点 1 上生成“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ZERO_CHECK.vcxproj”(2) (默认目标)。 PrepareForBuild: 正在创建目录“x64\Release\ZERO_CHECK\”。 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(395,5): warning MSB8029: 中间目录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\Hello\App Data\Local\Temp\ycm_build_nbigw6\ZERO_CHECK.vcxproj] 正在创建目录“x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\”。 InitializeBuildStatus: 正在创建“x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 CustomBuild: Checking Build System CMake does not need to re-run because C:/Users/Hello/AppData/Local/Temp/ycm_build_nbigw6/CMakeFiles/generate.stamp is up-to-date. CMake does not need to re-run because C:/Users/Hello/AppData/Local/Temp/ycm_build_nbigw6/BoostParts/CMakeFiles/generate.stamp is up-to-date. CMake does not need to re-run because C:/Users/Hello/AppData/Local/Temp/ycm_build_nbigw6/ycm/CMakeFiles/generate.stamp is up-to-date. FinalizeBuildStatus: 正在删除文件“x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild”。 正在对“x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate”执行 Touch 任务。 已完成生成项目“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ZERO_CHECK.vcxproj”(默认目标)的操作。

项目“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj”(1)正在节点 1 上生成“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\BoostParts\BoostParts.vcxproj”(3) (默认目标)。 PrepareForBuild: 正在创建目录“BoostParts.dir\Release\”。 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(395,5): warning MSB8029: 中间目录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\Hello\App Data\Local\Temp\ycm_build_nbigw6\BoostParts\BoostParts.vcxproj] 正在创建目录“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\BoostParts\Release\”。 正在创建目录“BoostParts.dir\Release\BoostParts.tlog\”。 InitializeBuildStatus: 正在创建“BoostParts.dir\Release\BoostParts.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 CustomBuild: Building Custom Rule C:/Program Files (x86)/Vim/vim80/bundle/YouCompleteMe/third_party/ycmd/cpp/BoostParts/CMakeLists.txt CMake does not need to re-run because C:/Users/Hello/AppData/Local/Temp/ycm_build_nbigw6/BoostParts/CMakeFiles/generate.stamp is up-to-date. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /I"C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\Bo ostParts" /I"C:\Program Files\Python27\include" /nologo /W0 /WX- /diagnostics:classic /MP /O2 /Ob2 /Oi /GL /D WIN32 /D _WINDOWS /D NDEBUG /D YCMD_CORE_VERSION=28 /D UNICODE /D UNICODE /D BOOST ALL_NO_LIB /D BOOST_PYTHON_SOURCE /D BOOST_THREAD_USE_LIB /D _SCL_SECURE_NO_WARNINGS /D "CMAKE_INTDIR=\"Release\"" /D _UNICODE /D UNICODE /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t- /Zc:forScope /Zc:inline /GR /Fo"BoostParts.dir\Release\" /Fd"BoostParts.dir\Release\BoostParts.pdb" /Gd /TP /errorReport:queue "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\Bo ostParts\libs\filesystem\src\codecvt_error_category.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\filesystem\src\operations.cpp" "C:\Program Fi les (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\filesystem\src\path.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs \filesystem\src\path_traits.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\filesystem\src\portability.cpp" "C:\Program Files (x86)\Vim\vim80\bun dle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\filesystem\src\unique_path.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\filesystem\src\ utf8_codecvt_facet.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\filesystem\src\windows_file_codecvt.cpp" "C:\Program Files (x86)\Vim\vim80\bun dle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\converter\arg_to_python_base.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\py thon\src\converter\builtin_converters.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\converter\from_python.cpp" "C:\Program Files (x8 6)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\converter\registry.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\l ibs\python\src\converter\type_id.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\dict.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\Yo uCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\errors.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\exec.cpp" "C:\Progr am Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\import.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\l ibs\python\src\list.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\long.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\t hird_party\ycmd\cpp\BoostParts\libs\python\src\module.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\numeric.cpp" "C:\Program Files ( x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\object\class.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\ python\src\object\enum.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\object\function.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\Y ouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\object\function_doc_signature.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python \src\object\inheritance.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\object\iterator.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\ YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\object\life_support.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\obje ct\pickle_support.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\object\stl_iterator.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\Yo uCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\object_operators.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\object_pr otocol.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\slice.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\y cmd\cpp\BoostParts\libs\python\src\str.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\tuple.cpp" "C:\Program Files (x86)\Vim\vim80\bu ndle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\python\src\wrapper.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src\c_regex_trai ts.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src\cpp_regex_traits.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_p arty\ycmd\cpp\BoostParts\libs\regex\src\cregex.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src\fileiter.cpp" "C:\Program Files (x86)\Vi m\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src\icu.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src\instanc es.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src\posix_api.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\yc md\cpp\BoostParts\libs\regex\src\regex.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src\regex_debug.cpp" "C:\Program Files (x86)\Vim\vim 80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src\regex_raw_buffer.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src \regex_traits_defaults.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src\static_mutex.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCo mpleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src\usinstances.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src\w32_regex_traits.cp p" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src\wc_regex_traits.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\y cmd\cpp\BoostParts\libs\regex\src\wide_posix_api.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\regex\src\winstances.cpp" "C:\Program Files (x86 )\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\libs\system\src\error_code.cpp" codecvt_error_category.cpp operations.cpp path.cpp path_traits.cpp portability.cpp unique_path.cpp utf8_codecvt_facet.cpp windows_file_codecvt.cpp arg_to_python_base.cpp builtin_converters.cpp from_python.cpp registry.cpp type_id.cpp dict.cpp errors.cpp exec.cpp import.cpp list.cpp long.cpp module.cpp numeric.cpp class.cpp enum.cpp function.cpp function_doc_signature.cpp inheritance.cpp iterator.cpp life_support.cpp pickle_support.cpp stl_iterator.cpp object_operators.cpp object_protocol.cpp slice.cpp str.cpp tuple.cpp wrapper.cpp c_regex_traits.cpp cpp_regex_traits.cpp cregex.cpp fileiter.cpp icu.cpp instances.cpp posix_api.cpp regex.cpp regex_debug.cpp regex_raw_buffer.cpp regex_traits_defaults.cpp static_mutex.cpp usinstances.cpp w32_regex_traits.cpp wc_regex_traits.cpp wide_posix_api.cpp winstances.cpp error_code.cpp Lib: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\Lib.exe /OUT:"C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\BoostParts\Release\BoostP arts.lib" /NOLOGO /MACHINE:X64 /LTCG /machine:x64 BoostParts.dir\Release\codecvt_error_category.obj BoostParts.dir\Release\operations.obj BoostParts.dir\Release\path.obj BoostParts.dir\Release\path_traits.obj BoostParts.dir\Release\portability.obj BoostParts.dir\Release\unique_path.obj BoostParts.dir\Release\utf8_codecvt_facet.obj BoostParts.dir\Release\windows_file_codecvt.obj BoostParts.dir\Release\arg_to_python_base.obj BoostParts.dir\Release\builtin_converters.obj BoostParts.dir\Release\from_python.obj BoostParts.dir\Release\registry.obj BoostParts.dir\Release\type_id.obj BoostParts.dir\Release\dict.obj BoostParts.dir\Release\errors.obj BoostParts.dir\Release\exec.obj BoostParts.dir\Release\import.obj BoostParts.dir\Release\list.obj BoostParts.dir\Release\long.obj BoostParts.dir\Release\module.obj BoostParts.dir\Release\numeric.obj BoostParts.dir\Release\class.obj BoostParts.dir\Release\enum.obj BoostParts.dir\Release\function.obj BoostParts.dir\Release\function_doc_signature.obj BoostParts.dir\Release\inheritance.obj BoostParts.dir\Release\iterator.obj BoostParts.dir\Release\life_support.obj BoostParts.dir\Release\pickle_support.obj BoostParts.dir\Release\stl_iterator.obj BoostParts.dir\Release\object_operators.obj BoostParts.dir\Release\object_protocol.obj BoostParts.dir\Release\slice.obj BoostParts.dir\Release\str.obj BoostParts.dir\Release\tuple.obj BoostParts.dir\Release\wrapper.obj BoostParts.dir\Release\c_regex_traits.obj BoostParts.dir\Release\cpp_regex_traits.obj BoostParts.dir\Release\cregex.obj BoostParts.dir\Release\fileiter.obj BoostParts.dir\Release\icu.obj BoostParts.dir\Release\instances.obj BoostParts.dir\Release\posix_api.obj BoostParts.dir\Release\regex.obj BoostParts.dir\Release\regex_debug.obj BoostParts.dir\Release\regex_raw_buffer.obj BoostParts.dir\Release\regex_traits_defaults.obj BoostParts.dir\Release\static_mutex.obj BoostParts.dir\Release\usinstances.obj BoostParts.dir\Release\w32_regex_traits.obj BoostParts.dir\Release\wc_regex_traits.obj BoostParts.dir\Release\wide_posix_api.obj BoostParts.dir\Release\winstances.obj BoostParts.dir\Release\error_code.obj BoostParts.vcxproj -> C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\BoostParts\Release\BoostParts.lib FinalizeBuildStatus: 正在删除文件“BoostParts.dir\Release\BoostParts.tlog\unsuccessfulbuild”。 正在对“BoostParts.dir\Release\BoostParts.tlog\BoostParts.lastbuildstate”执行 Touch 任务。 已完成生成项目“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\BoostParts\BoostParts.vcxproj”(默认目标)的操作。

PrepareForBuild: 正在创建目录“ycm_core.dir\Release\”。 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(395,5): warning MSB8029: 中间目录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\Hello\App Data\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] 正在创建目录“ycm_core.dir\Release\ycm_core.tlog\”。 InitializeBuildStatus: 正在创建“ycm_core.dir\Release\ycm_core.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 CustomBuild: Building Custom Rule C:/Program Files (x86)/Vim/vim80/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/CMakeLists.txt CMake does not need to re-run because C:/Users/Hello/AppData/Local/Temp/ycm_build_nbigw6/ycm/CMakeFiles/generate.stamp is up-to-date. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /I"C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\yc m" /I"C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter" /I"C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts" /I" C:\Program Files\Python27\include" /IC:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm..\include /nologo /W3 /WX- /diagnostics:classic /MP /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D YCMD_C ORE_VERSION=28 /D UNICODE /D _UNICODE /D BOOST_ALL_NO_LIB /D BOOST_PYTHON_SOURCE /D BOOST_THREAD_USE_LIB /D USE_CLANG_COMPLETER /D "CMAKE_INTDIR=\"Release\"" /D ycm_core_EXPORTS /D _WINDLL /D _U NICODE /D UNICODE /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t- /Zc:forScope /Zc:inline /GR /Fo"ycm_core.dir\Release\" /Fd"ycm_core.dir\Release\vc141.pdb" /Gd /TP /errorReport:queue "C:\Program F iles (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\Candidate.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\CandidateRepository.cpp" "C:\Pro gram Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangCompleter.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangC ompleter\ClangHelpers.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangUtils.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\t hird_party\ycmd\cpp\ycm\ClangCompleter\CompilationDatabase.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\CompletionData.cpp" "C:\Program Fil es (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\Documentation.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ Range.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\TranslationUnit.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ ycmd\cpp\ycm\ClangCompleter\TranslationUnitStore.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\IdentifierCompleter.cpp" "C:\Program Files (x86)\Vim\vim80\b undle\YouCompleteMe\third_party\ycmd\cpp\ycm\IdentifierDatabase.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\IdentifierUtils.cpp" "C:\Program Files (x86)\ Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\LetterNode.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\LetterNodeListMap.cpp" "C:\Program Files ( x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\PythonSupport.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\Result.cpp" "C:\Program Files (x86 )\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\Utils.cpp" "C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\versioning.cpp" "C:\Program Files (x86)\Vim\v im80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp" Candidate.cpp CandidateRepository.cpp ClangCompleter.cpp ClangHelpers.cpp C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\CandidateRepository.cpp(56): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Local\Temp\ycm _build_nbigw6\ycm\ycm_core.vcxproj] ClangUtils.cpp CompilationDatabase.cpp C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/detail/caller.hpp(55): warning C4244: “return”: 从“Py_ssize_t”转换到“unsigned int”,可能丢失数据 (编译源文件 C:\P rogram Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangHelpers.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/detail/caller.hpp(55): warning C4244: “return”: 从“Py_ssize_t”转换到“unsigned int”,可能丢失数据 (编译源文件 C:\P rogram Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangCompleter.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] CompletionData.cpp C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\CompletionData.cpp(111): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppDat a\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\CompletionData.cpp(123): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppDat a\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\CompletionData.cpp(133): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppDat a\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\CompletionData.cpp(212): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppDat a\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] Documentation.cpp Range.cpp C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/detail/caller.hpp(55): warning C4244: “return”: 从“Py_ssize_t”转换到“unsigned int”,可能丢失数据 (编译源文件 C:\P rogram Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\CompilationDatabase.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] TranslationUnit.cpp C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\TranslationUnit.cpp(105): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppDa ta\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\TranslationUnit.cpp(105): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Local\ Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\TranslationUnit.cpp(180): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppDa ta\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\TranslationUnit.cpp(363): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppDa ta\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\TranslationUnit.cpp(385): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppDa ta\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangHelpers.cpp(69): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppData\L ocal\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangHelpers.cpp(115): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppData\ Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangHelpers.cpp(148): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppData\ Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangHelpers.cpp(181): warning C4267: “+=”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppData\ Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] TranslationUnitStore.cpp IdentifierCompleter.cpp IdentifierDatabase.cpp C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\CompilationDatabase.cpp(102): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\A ppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] IdentifierUtils.cpp LetterNode.cpp C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/detail/caller.hpp(55): warning C4244: “return”: 从“Py_ssize_t”转换到“unsigned int”,可能丢失数据 (编译源文件 C:\P rogram Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\IdentifierCompleter.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] LetterNodeListMap.cpp C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\LetterNode.cpp(36): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6 \ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\LetterNode.cpp(37): warning C4267: “参数”: 从“size_t”转换到“short”,可能丢失数据 [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbig w6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\LetterNode.cpp(43): warning C4267: “参数”: 从“size_t”转换到“short”,可能丢失数据 [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbig w6\ycm\ycm_core.vcxproj] PythonSupport.cpp Result.cpp Utils.cpp C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/detail/caller.hpp(55): warning C4244: “return”: 从“Py_ssize_t”转换到“unsigned int”,可能丢失数据 (编译源文件 C:\P rogram Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\PythonSupport.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] versioning.cpp ycm_core.cpp C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\Result.cpp(30): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\yc m\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\Result.cpp(31): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\yc m\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/detail/caller.hpp(55): warning C4244: “return”: 从“Py_ssize_t”转换到“unsigned int”,可能丢失数据 (编译源文件 C:\P rogram Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\PythonSupport.cpp(41): warning C4244: “初始化”: 从“boost::python::ssize_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Local\T emp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\PythonSupport.cpp(74): warning C4244: “初始化”: 从“boost::python::ssize_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Local\T emp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/vector_indexing_suite.hpp(176): warning C4267: “+=”: 从“size_t”转换到“long”,可能丢失数据 (编译 源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/vector_indexing_suite.hpp(170): note: 编译 类 模板 成员函数 "unsigned int64 boost::pyth on::vector_indexing_suite<std::vector<YouCompleteMe::Diagnostic,std::allocator<_Ty>>,false,boost::python::detail::final_vector_derived_policies<Container,false>>::convert_index(Container &,PyObj ect *)" 时 with [ _Ty=YouCompleteMe::Diagnostic, Container=std::vector<YouCompleteMe::Diagnostic,std::allocator> ] (编译源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/indexing_suite.hpp(261): note: 参见对正在编译的函数 模板 实例化“unsigned int64 boost::python: :vector_indexing_suite<std::vector<YouCompleteMe::Diagnostic,std::allocator<_Ty>>,false,boost::python::detail::final_vector_derived_policies<Container,false>>::convert_index(Container &,PyObject )”的引用 with [ _Ty=YouCompleteMe::Diagnostic, Container=std::vector<YouCompleteMe::Diagnostic,std::allocator> ] (编译源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp(191): note: 参见对正在编译的 类 模板 实例化 "boost::python::vector_indexing_suite<std::vector<YouCompleteMe::Diagnos tic,std::allocator<_Ty>>,false,boost::python::detail::final_vector_derived_policies<Container,false>>" 的引用 with [ _Ty=YouCompleteMe::Diagnostic, Container=std::vector<YouCompleteMe::Diagnostic,std::allocator> ] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/bind/placeholders.hpp(54): note: 参见对正在编译的 类 模板 实例化 "boost::arg<9>" 的引用 (编译源文件 C:\Program Files (x86)\V im\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/bind/placeholders.hpp(53): note: 参见对正在编译的 类 模板 实例化 "boost::arg<8>" 的引用 (编译源文件 C:\Program Files (x86)\V im\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/bind/placeholders.hpp(52): note: 参见对正在编译的 类 模板 实例化 "boost::arg<7>" 的引用 (编译源文件 C:\Program Files (x86)\V im\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/bind/placeholders.hpp(51): note: 参见对正在编译的 类 模板 实例化 "boost::arg<6>" 的引用 (编译源文件 C:\Program Files (x86)\V im\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/bind/placeholders.hpp(50): note: 参见对正在编译的 类 模板 实例化 "boost::arg<5>" 的引用 (编译源文件 C:\Program Files (x86)\V im\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/bind/placeholders.hpp(49): note: 参见对正在编译的 类 模板 实例化 "boost::arg<4>" 的引用 (编译源文件 C:\Program Files (x86)\V im\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/bind/placeholders.hpp(48): note: 参见对正在编译的 类 模板 实例化 "boost::arg<3>" 的引用 (编译源文件 C:\Program Files (x86)\V im\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/bind/placeholders.hpp(47): note: 参见对正在编译的 类 模板 实例化 "boost::arg<2>" 的引用 (编译源文件 C:\Program Files (x86)\V im\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/bind/placeholders.hpp(46): note: 参见对正在编译的 类 模板 实例化 "boost::arg<1>" 的引用 (编译源文件 C:\Program Files (x86)\V im\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/detail/indexing_suite_detail.hpp(605): warning C4267: “+=”: 从“size_t”转换到“long”,可能丢 失数据 (编译源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/detail/indexing_suite_detail.hpp(590): note: 编译 类 模板 成员函数 "void boost::python::d etail::slice_helper<Container,DerivedPolicies,boost::python::detail::proxy_helper<Container,DerivedPolicies,boost::python::detail::container_element<Container,Index,DerivedPolicies>,Index>,Data, Index>::base_get_slice_data(Container &,PySliceObject ,Index &,Index &)" 时 with [ Container=std::vector<YouCompleteMe::Diagnostic,std::allocator>, DerivedPolicies=boost::python::detail::final_vector_derived_policies<std::vector<YouCompleteMe::Diagnostic,std::allocator>,false>, Index=unsigned int64, Data=YouCompleteMe::Diagnostic ] (编译源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/detail/indexing_suite_detail.hpp(695): note: 参见对正在编译的函数 模板 实例化“void boost::pytho n::detail::slice_helper<Container,DerivedPolicies,boost::python::detail::proxy_helper<Container,DerivedPolicies,boost::python::detail::container_element<Container,Index,DerivedPolicies>,Index>,D ata,Index>::base_get_slice_data(Container &,PySliceObject *,Index &,Index &)”的引用 with [ Container=std::vector<YouCompleteMe::Diagnostic,std::allocator>, DerivedPolicies=boost::python::detail::final_vector_derived_policies<std::vector<YouCompleteMe::Diagnostic,std::allocator>,false>, Index=unsigned int64, Data=YouCompleteMe::Diagnostic ] (编译源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/indexing_suite.hpp(256): note: 参见对正在编译的 类 模板 实例化 "boost::python::detail::slice_h elper<Container,DerivedPolicies,boost::python::detail::proxy_helper<Container,DerivedPolicies,boost::python::detail::container_element<Container,Index,DerivedPolicies>,Index>,Data,Index>" 的引用 with [ Container=std::vector<YouCompleteMe::Diagnostic,std::allocator>, DerivedPolicies=boost::python::detail::final_vector_derived_policies<std::vector<YouCompleteMe::Diagnostic,std::allocator>,false>, Index=unsigned int64, Data=YouCompleteMe::Diagnostic ] (编译源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/indexing_suite.hpp(253): note: 编译 类 模板 成员函数 "void boost::python::indexing_suite< Container,DerivedPolicies,false,false,YouCompleteMe::Diagnostic,unsigned int64,YouCompleteMe::Diagnostic>::base_delete_item(Container &,PyObject *)" 时 with [ Container=std::vector<YouCompleteMe::Diagnostic,std::allocator>, DerivedPolicies=boost::python::detail::final_vector_derived_policies<std::vector<YouCompleteMe::Diagnostic,std::allocator>,false> ] (编译源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/indexing_suite.hpp(186): note: 参见对正在编译的函数 模板 实例化“void boost::python::indexing_su ite<Container,DerivedPolicies,false,false,YouCompleteMe::Diagnostic,unsigned int64,YouCompleteMe::Diagnostic>::base_delete_item(Container &,PyObject *)”的引用 with [ Container=std::vector<YouCompleteMe::Diagnostic,std::allocator>, DerivedPolicies=boost::python::detail::final_vector_derived_policies<std::vector<YouCompleteMe::Diagnostic,std::allocator>,false> ] (编译源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/vector_indexingsuite.hpp(50): note: 参见对正在编译的 类 模板 实例化 "boost::python::indexing suite<Container,DerivedPolicies,false,false,YouCompleteMe::Diagnostic,unsigned int64,YouCompleteMe::Diagnostic>" 的引用 with [ Container=std::vector<YouCompleteMe::Diagnostic,std::allocator>, DerivedPolicies=boost::python::detail::final_vector_derived_policies<std::vector<YouCompleteMe::Diagnostic,std::allocator>,false> ] (编译源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/detail/indexing_suite_detail.hpp(619): warning C4267: “+=”: 从“size_t”转换到“long”,可能丢 失数据 (编译源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] MakeDirsForLink: 正在创建目录“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\Release\”。 Link: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\th ird_party\ycmd\ycm_core.pyd" /INCREMENTAL:NO /NOLOGO ..\BoostParts\Release\BoostParts.lib "C:\Program Files\Python27\libs\python27.lib" ..\lib\libclang.lib kernel32.lib user32.lib gdi32.lib wins pool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"C:/Program Files (x86)/Vim/vim80/ bundle/YouCompleteMe/third_party/ycmd/ycm_core.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Hello/AppData/Local/Temp/ycm_build_nbigw6/ycm/Release/ycm_core.lib" /MACH INE:X64 /machine:x64 /DLL ycm_core.dir\Release\Candidate.obj ycm_core.dir\Release\CandidateRepository.obj ycm_core.dir\Release\ClangCompleter.obj ycm_core.dir\Release\ClangHelpers.obj ycm_core.dir\Release\ClangUtils.obj ycm_core.dir\Release\CompilationDatabase.obj ycm_core.dir\Release\CompletionData.obj ycm_core.dir\Release\Documentation.obj ycm_core.dir\Release\Range.obj ycm_core.dir\Release\TranslationUnit.obj ycm_core.dir\Release\TranslationUnitStore.obj ycm_core.dir\Release\IdentifierCompleter.obj ycm_core.dir\Release\IdentifierDatabase.obj ycm_core.dir\Release\IdentifierUtils.obj ycm_core.dir\Release\LetterNode.obj ycm_core.dir\Release\LetterNodeListMap.obj ycm_core.dir\Release\PythonSupport.obj ycm_core.dir\Release\Result.obj ycm_core.dir\Release\Utils.obj ycm_core.dir\Release\versioning.obj ycm_core.dir\Release\ycm_core.obj BoostParts.lib(error_code.obj) : 找到 MSIL .netmodule 或使用 /GL 编译的模块;正在使用 /LTCG 重新启动链接;将 /LTCG 添加到链接命令行以改进链接器性能 正在创建库 C:/Users/Hello/AppData/Local/Temp/ycm_build_nbigw6/ycm/Release/ycm_core.lib 和对象 C:/Users/Hello/AppData/Local/Temp/ycm_build_nbigw6/ycm/Release/ycm_core.exp 正在生成代码 已完成代码的生成 ycm_core.vcxproj -> C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\ycm_core.pyd PostBuildEvent: setlocal "C:\Program Files\CMake\bin\cmake.exe" -E copy C:/Users/Hello/AppData/Local/Temp/ycm_build_nbigw6/ycm/../bin/libclang.dll "C:/Program Files (x86)/Vim/vim80/bundle/YouCompleteMe/third_party/ycmd" if %errorlevel% neq 0 goto :cmEnd :cmEnd endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone :cmErrorLevel exit /b %1 :cmDone if %errorlevel% neq 0 goto :VCEnd :VCEnd FinalizeBuildStatus: 正在删除文件“ycm_core.dir\Release\ycm_core.tlog\unsuccessfulbuild”。 正在对“ycm_core.dir\Release\ycm_core.tlog\ycm_core.lastbuildstate”执行 Touch 任务。 已完成生成项目“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj”(默认目标)的操作。

已成功生成。

“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj”(默认目标) (1) -> “C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ZERO_CHECK.vcxproj”(默认目标) (2) -> (PrepareForBuild 目标) -> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(395,5): warning MSB8029: 中间目录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\Hello\A ppData\Local\Temp\ycm_build_nbigw6\ZERO_CHECK.vcxproj]

“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj”(默认目标) (1) -> “C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\BoostParts\BoostParts.vcxproj”(默认目标) (3) -> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(395,5): warning MSB8029: 中间目录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\Hello\A ppData\Local\Temp\ycm_build_nbigw6\BoostParts\BoostParts.vcxproj]

“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj”(默认目标) (1) -> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(395,5): warning MSB8029: 中间目录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\Hello\A ppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj]

“C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj”(默认目标) (1) -> (ClCompile 目标) -> C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\CandidateRepository.cpp(56): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Local\Temp\y cm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/detail/caller.hpp(55): warning C4244: “return”: 从“Py_ssize_t”转换到“unsigned int”,可能丢失数据 (编译源文件 C: \Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangHelpers.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/detail/caller.hpp(55): warning C4244: “return”: 从“Py_ssize_t”转换到“unsigned int”,可能丢失数据 (编译源文件 C: \Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangCompleter.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\CompletionData.cpp(111): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppD ata\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\CompletionData.cpp(123): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppD ata\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\CompletionData.cpp(133): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppD ata\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\CompletionData.cpp(212): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppD ata\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/detail/caller.hpp(55): warning C4244: “return”: 从“Py_ssize_t”转换到“unsigned int”,可能丢失数据 (编译源文件 C: \Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\CompilationDatabase.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\TranslationUnit.cpp(105): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\App Data\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\TranslationUnit.cpp(105): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Loca l\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\TranslationUnit.cpp(180): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\App Data\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\TranslationUnit.cpp(363): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\App Data\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\TranslationUnit.cpp(385): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\App Data\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangHelpers.cpp(69): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppData \Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangHelpers.cpp(115): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppDat a\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangHelpers.cpp(148): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppDat a\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\ClangHelpers.cpp(181): warning C4267: “+=”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello\AppDat a\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ClangCompleter\CompilationDatabase.cpp(102): warning C4267: “参数”: 从“size_t”转换到“unsigned int”,可能丢失数据 [C:\Users\Hello \AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/detail/caller.hpp(55): warning C4244: “return”: 从“Py_ssize_t”转换到“unsigned int”,可能丢失数据 (编译源文件 C: \Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\IdentifierCompleter.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\LetterNode.cpp(36): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbig w6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\LetterNode.cpp(37): warning C4267: “参数”: 从“size_t”转换到“short”,可能丢失数据 [C:\Users\Hello\AppData\Local\Temp\ycm_build_nb igw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\LetterNode.cpp(43): warning C4267: “参数”: 从“size_t”转换到“short”,可能丢失数据 [C:\Users\Hello\AppData\Local\Temp\ycm_build_nb igw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/detail/caller.hpp(55): warning C4244: “return”: 从“Py_ssize_t”转换到“unsigned int”,可能丢失数据 (编译源文件 C: \Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\PythonSupport.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\Result.cpp(30): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\Result.cpp(31): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/detail/caller.hpp(55): warning C4244: “return”: 从“Py_ssize_t”转换到“unsigned int”,可能丢失数据 (编译源文件 C: \Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\PythonSupport.cpp(41): warning C4244: “初始化”: 从“boost::python::ssize_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Local \Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\PythonSupport.cpp(74): warning C4244: “初始化”: 从“boost::python::ssize_t”转换到“int”,可能丢失数据 [C:\Users\Hello\AppData\Local \Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/vector_indexing_suite.hpp(176): warning C4267: “+=”: 从“size_t”转换到“long”,可能丢失数据 ( 编译源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/detail/indexing_suite_detail.hpp(605): warning C4267: “+=”: 从“size_t”转换到 “long”,可 能丢失数据 (编译源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj] C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\BoostParts\boost/python/suite/indexing/detail/indexing_suite_detail.hpp(619): warning C4267: “+=”: 从“size_t”转换到 “long”,可 能丢失数据 (编译源文件 C:\Program Files (x86)\Vim\vim80\bundle\YouCompleteMe\third_party\ycmd\cpp\ycm\ycm_core.cpp) [C:\Users\Hello\AppData\Local\Temp\ycm_build_nbigw6\ycm\ycm_core.vcxproj]

34 个警告
0 个错误

已用时间 00:02:04.46 `

QMonkey commented 7 years ago

YCM对“Microsoft .NET Framework ”或者“Microsoft Visual C++ 2017 Redistributable (x64) ”之类的东西有要求吗

没有,安装了Visual Studio就可以了

从编译结果看是成功的,自动编译成功了。

在Windows下,直接拷贝YouCompleteMe文件夹,一般是不可用的。

Just4Learning commented 7 years ago

谢谢。那使用这个东西还是很麻烦的……我还以为一次编译就可以到处使用了。