level 3
月夜葬Zzz
楼主
The C compiler identification is MSVC 16.0.30319.1
The CXX compiler identification is MSVC 16.0.30319.1
Check for working C compiler using: Visual Studio 10 2010
Check for working C compiler using: Visual Studio 10 2010 -- broken
CMake Error at D:/cmake/share/cmake-3.1/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "d:/VS2010/VC/bin/cl.exe" is not able to compile a simple
test program.
It fails with the following output:
Change Dir: D:/VTK/bin/CMakeFiles/CMakeTmp
Run Build
Command:"C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe"
"cmTryCompileExec2380543442.vcxproj" "/p:Configuration=Debug"
"/p:VisualStudioVersion=10.0"
Microsoft(R) 生成引擎版本 4.0.30319.18408
[Microsoft .NET Framework 版本 4.0.30319.18444]
版权所有(C) Microsoft Corporation 2007。保留所有权利。
生成启动时间为 2014/12/27 13:46:27。
节点 1
上的项目“D:\VTK\bin\CMakeFiles\CMakeTmp\cmTryCompileExec2380543442.vcxproj”(默认目标)。
PrepareForBuild:
正在创建目录“cmTryCompileExec2380543442.dir\Debug\”。
正在创建目录“D:\VTK\bin\CMakeFiles\CMakeTmp\Debug\”。
InitializeBuildStatus:
正在创建“cmTryCompileExec2380543442.dir\Debug\cmTryCompileExec2380543442.unsuccessfulbuild”,因为已指定“AlwaysCreate”。
ClCompile:
d:\VS2010\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2380543442.dir\Debug\\" /Fd"cmTryCompileExec2380543442.dir\Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c
用于 80x86 的 Microsoft (R) 32 位 C/C++ 优化编译器 16.00.30319.01 版
版权所有(C) Microsoft Corporation。保留所有权利。
cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2380543442.dir\Debug\\" /Fd"cmTryCompileExec2380543442.dir\Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c
testCCompiler.c
ManifestResourceCompile:
C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec2380543442.dir\Debug\cmTryCompileExec2380543442.exe.embed.manifest.res" cmTryCompileExec2380543442.dir\Debug\cmTryCompileExec2380543442_manifest.rc
Link:
d:\VS2010\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"D:\VTK\bin\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec2380543442.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTryCompileExec2380543442.dir\Debug\cmTryCompileExec2380543442.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"D:/VTK/bin/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2380543442.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/VTK/bin/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2380543442.lib" /MACHINE:X86 cmTryCompileExec2380543442.dir\Debug\cmTryCompileExec2380543442.exe.embed.manifest.res
cmTryCompileExec2380543442.dir\Debug\testCCompiler.obj /machine:X86 /debug
LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏
[D:\VTK\bin\CMakeFiles\CMakeTmp\cmTryCompileExec2380543442.vcxproj]
已完成生成项目“D:\VTK\bin\CMakeFiles\CMakeTmp\cmTryCompileExec2380543442.vcxproj”(默认目标)的操作
- 失败。
生成失败。
“D:\VTK\bin\CMakeFiles\CMakeTmp\cmTryCompileExec2380543442.vcxproj”(默认目标)
(1) ->
(Link 目标) ->
LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏 [D:\VTK\bin\CMakeFiles\CMakeTmp\cmTryCompileExec2380543442.vcxproj]
0 个警告
1 个错误
已用时间 00:00:01.16
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:15 (PROJECT)
Configuring incomplete, errors occurred!
See also "D:/VTK/bin/CMakeFiles/CMakeOutput.log".
See also "D:/VTK/bin/CMakeFiles/CMakeError.log"
2014年12月27日 05点12分
1
The CXX compiler identification is MSVC 16.0.30319.1
Check for working C compiler using: Visual Studio 10 2010
Check for working C compiler using: Visual Studio 10 2010 -- broken
CMake Error at D:/cmake/share/cmake-3.1/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "d:/VS2010/VC/bin/cl.exe" is not able to compile a simple
test program.
It fails with the following output:
Change Dir: D:/VTK/bin/CMakeFiles/CMakeTmp
Run Build
Command:"C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe"
"cmTryCompileExec2380543442.vcxproj" "/p:Configuration=Debug"
"/p:VisualStudioVersion=10.0"
Microsoft(R) 生成引擎版本 4.0.30319.18408
[Microsoft .NET Framework 版本 4.0.30319.18444]
版权所有(C) Microsoft Corporation 2007。保留所有权利。
生成启动时间为 2014/12/27 13:46:27。
节点 1
上的项目“D:\VTK\bin\CMakeFiles\CMakeTmp\cmTryCompileExec2380543442.vcxproj”(默认目标)。
PrepareForBuild:
正在创建目录“cmTryCompileExec2380543442.dir\Debug\”。
正在创建目录“D:\VTK\bin\CMakeFiles\CMakeTmp\Debug\”。
InitializeBuildStatus:
正在创建“cmTryCompileExec2380543442.dir\Debug\cmTryCompileExec2380543442.unsuccessfulbuild”,因为已指定“AlwaysCreate”。
ClCompile:
d:\VS2010\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2380543442.dir\Debug\\" /Fd"cmTryCompileExec2380543442.dir\Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c
用于 80x86 的 Microsoft (R) 32 位 C/C++ 优化编译器 16.00.30319.01 版
版权所有(C) Microsoft Corporation。保留所有权利。
cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2380543442.dir\Debug\\" /Fd"cmTryCompileExec2380543442.dir\Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c
testCCompiler.c
ManifestResourceCompile:
C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec2380543442.dir\Debug\cmTryCompileExec2380543442.exe.embed.manifest.res" cmTryCompileExec2380543442.dir\Debug\cmTryCompileExec2380543442_manifest.rc
Link:
d:\VS2010\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"D:\VTK\bin\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec2380543442.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTryCompileExec2380543442.dir\Debug\cmTryCompileExec2380543442.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"D:/VTK/bin/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2380543442.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/VTK/bin/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2380543442.lib" /MACHINE:X86 cmTryCompileExec2380543442.dir\Debug\cmTryCompileExec2380543442.exe.embed.manifest.res
cmTryCompileExec2380543442.dir\Debug\testCCompiler.obj /machine:X86 /debug
LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏
[D:\VTK\bin\CMakeFiles\CMakeTmp\cmTryCompileExec2380543442.vcxproj]
已完成生成项目“D:\VTK\bin\CMakeFiles\CMakeTmp\cmTryCompileExec2380543442.vcxproj”(默认目标)的操作
- 失败。
生成失败。
“D:\VTK\bin\CMakeFiles\CMakeTmp\cmTryCompileExec2380543442.vcxproj”(默认目标)
(1) ->
(Link 目标) ->
LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏 [D:\VTK\bin\CMakeFiles\CMakeTmp\cmTryCompileExec2380543442.vcxproj]
0 个警告
1 个错误
已用时间 00:00:01.16
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:15 (PROJECT)
Configuring incomplete, errors occurred!
See also "D:/VTK/bin/CMakeFiles/CMakeOutput.log".
See also "D:/VTK/bin/CMakeFiles/CMakeError.log"