Piccolo icon indicating copy to clipboard operation
Piccolo copied to clipboard

windows编译失败2

Open foocker opened this issue 3 years ago • 1 comments

错误日志:

The system is: Windows - 10.0.19042 - AMD64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler:
Build flags: Id flags:

The output was: 0 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642 版权所有(C) Microsoft Corporation。保留所有权利。

生成启动时间为 2022/4/15 星期五 上午 10:20:50。 节点 1 上的项目“D:\code\Graphic\Pilot\build\CMakeFiles\3.22.1\CompilerIdC\CompilerIdC.vcxproj”(默认目标)。 PrepareForBuild: 正在创建目录“Debug\”。 正在创建目录“Debug\CompilerIdC.tlog\”。 InitializeBuildStatus: 正在创建“Debug\CompilerIdC.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /external:W0 /Gd /TC /FC /errorReport:queue CMakeCCompilerId.c CMakeCCompilerId.c Link: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj CompilerIdC.vcxproj -> D:\code\Graphic\Pilot\build\CMakeFiles\3.22.1\CompilerIdC\CompilerIdC.exe PostBuildEvent: for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i :VCEnd CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe FinalizeBuildStatus: 正在删除文件“Debug\CompilerIdC.tlog\unsuccessfulbuild”。 正在对“Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate”执行 Touch 任务。 已完成生成项目“D:\code\Graphic\Pilot\build\CMakeFiles\3.22.1\CompilerIdC\CompilerIdC.vcxproj”(默认目标)的操作。

已成功生成。 0 个警告 0 个错误

已用时间 00:00:00.55

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"

The C compiler identification is MSVC, found in "D:/code/Graphic/Pilot/build/CMakeFiles/3.22.1/CompilerIdC/CompilerIdC.exe"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler:
Build flags: Id flags:

The output was: 0 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642 版权所有(C) Microsoft Corporation。保留所有权利。

生成启动时间为 2022/4/15 星期五 上午 10:20:50。 节点 1 上的项目“D:\code\Graphic\Pilot\build\CMakeFiles\3.22.1\CompilerIdCXX\CompilerIdCXX.vcxproj”(默认目标)。 PrepareForBuild: 正在创建目录“Debug\”。 正在创建目录“Debug\CompilerIdCXX.tlog\”。 InitializeBuildStatus: 正在创建“Debug\CompilerIdCXX.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /external:W0 /Gd /TP /FC /errorReport:queue CMakeCXXCompilerId.cpp CMakeCXXCompilerId.cpp Link: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj CompilerIdCXX.vcxproj -> D:\code\Graphic\Pilot\build\CMakeFiles\3.22.1\CompilerIdCXX\CompilerIdCXX.exe PostBuildEvent: for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i :VCEnd CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe FinalizeBuildStatus: 正在删除文件“Debug\CompilerIdCXX.tlog\unsuccessfulbuild”。 正在对“Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate”执行 Touch 任务。 已完成生成项目“D:\code\Graphic\Pilot\build\CMakeFiles\3.22.1\CompilerIdCXX\CompilerIdCXX.vcxproj”(默认目标)的操作。

已成功生成。 0 个警告 0 个错误

已用时间 00:00:00.45

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"

The CXX compiler identification is MSVC, found in "D:/code/Graphic/Pilot/build/CMakeFiles/3.22.1/CompilerIdCXX/CompilerIdCXX.exe"

Detecting C compiler ABI info compiled with the following output: Change Dir: D:/code/Graphic/Pilot/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_cd298.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642

版权所有(C) Microsoft Corporation。保留所有权利。

用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.29.30138 版

版权所有(C) Microsoft Corporation。保留所有权利。

CMakeCCompilerABI.c

cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_cd298.dir\Debug\" /Fd"cmTC_cd298.dir\Debug\vc142.pdb" /external:W3 /Gd /TC /errorReport:queue "D:\anaconda\Lib\site-packages\cmake\data\share\cmake-3.22\Modules\CMakeCCompilerABI.c"

cmTC_cd298.vcxproj -> D:\code\Graphic\Pilot\build\CMakeFiles\CMakeTmp\Debug\cmTC_cd298.exe

Detecting CXX compiler ABI info compiled with the following output: Change Dir: D:/code/Graphic/Pilot/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_9e95e.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642

版权所有(C) Microsoft Corporation。保留所有权利。

用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.29.30138 版

版权所有(C) Microsoft Corporation。保留所有权利。

CMakeCXXCompilerABI.cpp

cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_9e95e.dir\Debug\" /Fd"cmTC_9e95e.dir\Debug\vc142.pdb" /external:W3 /Gd /TP /errorReport:queue "D:\anaconda\Lib\site-packages\cmake\data\share\cmake-3.22\Modules\CMakeCXXCompilerABI.cpp"

cmTC_9e95e.vcxproj -> D:\code\Graphic\Pilot\build\CMakeFiles\CMakeTmp\Debug\cmTC_9e95e.exe

或者编译成功了,出现:

C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\minwindef.h(130,1): warning C4005: “APIENTRY”: 宏重定义 (编译源文件 D:\code\Graphic\Pilot\engine\source\runtime\function\re nder\source\vulkan_manager\context\vulkan_context.cpp) [D:\code\Graphic\Pilot\build\engine\source\runtime\PilotRuntime.vcxproj]

然后程序闪退。

具体如下: The system is: Windows - 10.0.19042 - AMD64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler:
Build flags: Id flags:

The output was: 0 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642 版权所有(C) Microsoft Corporation。保留所有权利。

生成启动时间为 2022/4/15 星期五 上午 10:25:23。 节点 1 上的项目“D:\code\Graphic\Pilot\build\CMakeFiles\3.22.1\CompilerIdC\CompilerIdC.vcxproj”(默认目标)。 PrepareForBuild: 正在创建目录“Debug\”。 正在创建目录“Debug\CompilerIdC.tlog\”。 InitializeBuildStatus: 正在创建“Debug\CompilerIdC.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /external:W0 /Gd /TC /FC /errorReport:queue CMakeCCompilerId.c CMakeCCompilerId.c Link: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj CompilerIdC.vcxproj -> D:\code\Graphic\Pilot\build\CMakeFiles\3.22.1\CompilerIdC\CompilerIdC.exe PostBuildEvent: for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i :VCEnd CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe FinalizeBuildStatus: 正在删除文件“Debug\CompilerIdC.tlog\unsuccessfulbuild”。 正在对“Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate”执行 Touch 任务。 已完成生成项目“D:\code\Graphic\Pilot\build\CMakeFiles\3.22.1\CompilerIdC\CompilerIdC.vcxproj”(默认目标)的操作。

已成功生成。 0 个警告 0 个错误

已用时间 00:00:00.58

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"

The C compiler identification is MSVC, found in "D:/code/Graphic/Pilot/build/CMakeFiles/3.22.1/CompilerIdC/CompilerIdC.exe"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler:
Build flags: Id flags:

The output was: 0 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642 版权所有(C) Microsoft Corporation。保留所有权利。

生成启动时间为 2022/4/15 星期五 上午 10:25:24。 节点 1 上的项目“D:\code\Graphic\Pilot\build\CMakeFiles\3.22.1\CompilerIdCXX\CompilerIdCXX.vcxproj”(默认目标)。 PrepareForBuild: 正在创建目录“Debug\”。 正在创建目录“Debug\CompilerIdCXX.tlog\”。 InitializeBuildStatus: 正在创建“Debug\CompilerIdCXX.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /external:W0 /Gd /TP /FC /errorReport:queue CMakeCXXCompilerId.cpp CMakeCXXCompilerId.cpp Link: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj CompilerIdCXX.vcxproj -> D:\code\Graphic\Pilot\build\CMakeFiles\3.22.1\CompilerIdCXX\CompilerIdCXX.exe PostBuildEvent: for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i :VCEnd CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe FinalizeBuildStatus: 正在删除文件“Debug\CompilerIdCXX.tlog\unsuccessfulbuild”。 正在对“Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate”执行 Touch 任务。 已完成生成项目“D:\code\Graphic\Pilot\build\CMakeFiles\3.22.1\CompilerIdCXX\CompilerIdCXX.vcxproj”(默认目标)的操作。

已成功生成。 0 个警告 0 个错误

已用时间 00:00:00.47

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"

The CXX compiler identification is MSVC, found in "D:/code/Graphic/Pilot/build/CMakeFiles/3.22.1/CompilerIdCXX/CompilerIdCXX.exe"

Detecting C compiler ABI info compiled with the following output: Change Dir: D:/code/Graphic/Pilot/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_e2587.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642

版权所有(C) Microsoft Corporation。保留所有权利。

用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.29.30138 版

版权所有(C) Microsoft Corporation。保留所有权利。

CMakeCCompilerABI.c

cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_e2587.dir\Debug\" /Fd"cmTC_e2587.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "D:\anaconda\Lib\site-packages\cmake\data\share\cmake-3.22\Modules\CMakeCCompilerABI.c"

cmTC_e2587.vcxproj -> D:\code\Graphic\Pilot\build\CMakeFiles\CMakeTmp\Debug\cmTC_e2587.exe

Detecting CXX compiler ABI info compiled with the following output: Change Dir: D:/code/Graphic/Pilot/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_9f79c.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642

版权所有(C) Microsoft Corporation。保留所有权利。

用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.29.30138 版

版权所有(C) Microsoft Corporation。保留所有权利。

CMakeCXXCompilerABI.cpp

cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_9f79c.dir\Debug\" /Fd"cmTC_9f79c.dir\Debug\vc142.pdb" /external:W1 /Gd /TP /errorReport:queue "D:\anaconda\Lib\site-packages\cmake\data\share\cmake-3.22\Modules\CMakeCXXCompilerABI.cpp"

cmTC_9f79c.vcxproj -> D:\code\Graphic\Pilot\build\CMakeFiles\CMakeTmp\Debug\cmTC_9f79c.exe

ubuntu 18.04 也是 all xxx 错误。

foocker avatar Apr 15 '22 02:04 foocker

可以给出桌面环境吗?

  • CPU型号:
  • GPU型号:(如果有多块GPU,请都列出来)
  • 操作系统版本:

另外,可以提供 all xxx的截图吗

hyv1001 avatar Apr 15 '22 10:04 hyv1001