D:\MaskRay\llvm>cmake -H. -BRelease -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl
-- The C compiler identification is MSVC 19.12.25835.0
-- The CXX compiler identification is MSVC 19.12.25835.0
-- The ASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64/cl.exe -- broken
CMake Error at C:/Program Files/CMake/share/cmake-3.14/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64/cl.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/MaskRay/llvm/Release/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Neovim/bin/ninja.exe cmTC_c9eaf
[1/2] Building C object CMakeFiles\cmTC_c9eaf.dir\testCCompiler.c.obj
[2/2] Linking C executable cmTC_c9eaf.exe
FAILED: cmTC_c9eaf.exe
cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_c9eaf.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100162~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100162~1.0\x64\mt.exe --manifests -- D:\Program\mingw64\bin\ld.exe /nologo CMakeFiles\cmTC_c9eaf.dir\testCCompiler.c.obj /out:cmTC_c9eaf.exe /implib:cmTC_c9eaf.lib /pdb:cmTC_c9eaf.pdb /version:0.0 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK Pass 1: command "D:\Program\mingw64\bin\ld.exe /nologo CMakeFiles\cmTC_c9eaf.dir\testCCompiler.c.obj /out:cmTC_c9eaf.exe /implib:cmTC_c9eaf.lib /pdb:cmTC_c9eaf.pdb /version:0.0 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_c9eaf.dir/intermediate.manifest CMakeFiles\cmTC_c9eaf.dir/manifest.res" failed (exit code 0) with the following output:
系统找不到指定的文件。
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:43 (project)
-- Configuring incomplete, errors occurred!
See also "D:/MaskRay/llvm/Release/CMakeFiles/CMakeOutput.log".
See also "D:/MaskRay/llvm/Release/CMakeFiles/CMakeError.log".
D:\MaskRay\llvm>cmake -H. -BRelease -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl
-- The C compiler identification is MSVC 19.12.25835.0
-- The CXX compiler identification is MSVC 19.12.25835.0
-- The ASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64/cl.exe -- broken
CMake Error at C:/Program Files/CMake/share/cmake-3.14/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64/cl.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/MaskRay/llvm/Release/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Neovim/bin/ninja.exe cmTC_8d0f2
[1/2] Building C object CMakeFiles\cmTC_8d0f2.dir\testCCompiler.c.obj
[2/2] Linking C executable cmTC_8d0f2.exe
FAILED: cmTC_8d0f2.exe
cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_8d0f2.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100162~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100162~1.0\x64\mt.exe --manifests -- D:\Program\mingw64\bin\ld.exe /nologo CMakeFiles\cmTC_8d0f2.dir\testCCompiler.c.obj /out:cmTC_8d0f2.exe /implib:cmTC_8d0f2.lib /pdb:cmTC_8d0f2.pdb /version:0.0 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK Pass 1: command "D:\Program\mingw64\bin\ld.exe /nologo CMakeFiles\cmTC_8d0f2.dir\testCCompiler.c.obj /out:cmTC_8d0f2.exe /implib:cmTC_8d0f2.lib /pdb:cmTC_8d0f2.pdb /version:0.0 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_8d0f2.dir/intermediate.manifest CMakeFiles\cmTC_8d0f2.dir/manifest.res" failed (exit code 1) with the following output:
D:\Program\mingw64\bin\ld.exe: cannot find /nologo: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find /out:cmTC_8d0f2.exe: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find /implib:cmTC_8d0f2.lib: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find /pdb:cmTC_8d0f2.pdb: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find /version:0.0: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find /debug: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find /INCREMENTAL: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find /subsystem:console: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find kernel32.lib: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find user32.lib: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find gdi32.lib: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find winspool.lib: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find shell32.lib: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find ole32.lib: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find oleaut32.lib: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find uuid.lib: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find comdlg32.lib: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find advapi32.lib: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find /MANIFEST: No such file or directory
D:\Program\mingw64\bin\ld.exe: cannot find /MANIFESTFILE:CMakeFiles\cmTC_8d0f2.dir/intermediate.manifest: Invalid argument
CMakeFiles\cmTC_8d0f2.dir/manifest.res: file not recognized: File format not recognized
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:43 (project)
-- Configuring incomplete, errors occurred!
See also "D:/MaskRay/llvm/Release/CMakeFiles/CMakeOutput.log".
See also "D:/MaskRay/llvm/Release/CMakeFiles/CMakeError.log".