嘗試在 Unreal 中創建自上而下的射擊游戲 C 專案時出現錯誤。我認為這可能與分頁檔案有關,但我不確定。我為編譯器安裝了 Visual Studio 2022 社區,并使用 Rider for Unreal Engine 作為實際 IDE,這是默認設定。如果有人知道如何解決這個問題,那將不勝感激。
錯誤資訊:
The project could not be compiled. Would you like to open it in Rider?
Running C:/Program Files/Epic Games/UE_4.27/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="C:/Users/Admin/Documents/Unreal Projects/Survival/Survival.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Creating makefile for SurvivalEditor (no existing makefile)
@progress push 5%
Parsing headers for SurvivalEditor
Running UnrealHeaderTool "C:\Users\Admin\Documents\Unreal Projects\Survival\Survival.uproject" "C:\Users\Admin\Documents\Unreal Projects\Survival\Intermediate\Build\Win64\SurvivalEditor\Development\SurvivalEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\Admin\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed
LogInit: Display: Loading text-based GConfig....
Reflection code generated for SurvivalEditor in 10.9429744 seconds
@progress pop
Building SurvivalEditor...
Using Visual Studio 2019 14.30.30705 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705) and Windows 10.0.19041.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Building 13 actions with 4 processes...
@progress 'Compiling C source code...' 0%
@progress 'Compiling C source code...' 8%
[1/13] Default.rc2
@progress 'Compiling C source code...' 15%
[2/13] SharedPCH.Engine.ShadowErrors.cpp
Detected compiler newer than Visual Studio 2019, please update min version checking in WindowsPlatformCompilerSetup.h
@progress 'Compiling C source code...' 23%
[3/13] SurvivalGameMode.cpp
c1xx: error C3859: Failed to create virtual memory for PCH
c1xx: note: the system returned code 1455: The paging file is too small for this operation to complete.
c1xx: note: please visit https://aka.ms/pch-help for more details
c1xx: fatal error C1076: compiler limit: internal heap limit reached
@progress 'Compiling C source code...' 31%
[4/13] SurvivalCharacter.gen.cpp
c1xx: error C3859: Failed to create virtual memory for PCH
c1xx: note: the system returned code 1455: The paging file is too small for this operation to complete.
c1xx: note: please visit https://aka.ms/pch-help for more details
c1xx: fatal error C1076: compiler limit: internal heap limit reached
@progress 'Compiling C source code...' 38%
[5/13] Survival.cpp
@progress 'Compiling C source code...' 46%
[6/13] SurvivalPlayerController.gen.cpp
@progress 'Compiling C source code...' 54%
[7/13] Survival.init.gen.cpp
c1xx: error C3859: Failed to create virtual memory for PCH
c1xx: note: the system returned code 1455: The paging file is too small for this operation to complete.
c1xx: note: please visit https://aka.ms/pch-help for more details
c1xx: fatal error C1076: compiler limit: internal heap limit reached
@progress 'Compiling C source code...' 62%
[8/13] SurvivalPlayerController.cpp
@progress 'Compiling C source code...' 69%
[9/13] SurvivalGameMode.gen.cpp
@progress 'Compiling C source code...' 77%
[10/13] SurvivalCharacter.cpp
uj5u.com熱心網友回復:
太多的符號或模板實體化。
使用 /Zm 調整編譯器堆限制并遵循此處的其他建議:
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/fatal-error-c1076?view=msvc-170
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/372034.html
上一篇:是否可以將LocalDb放在WORKGROUP網路上并與C#應用程式遠程連接?
下一篇:C#WCF在訊息“SendEcho”上指定的SOAP操作與在HttpRequestMessageProperty上指定的操作“SendEcho”不匹配
