Unreal Engine 5 C++'da hata veriyor

sallihh

Decapat
Katılım
25 Ocak 2021
Mesajlar
119
Daha fazla  
Cinsiyet
Erkek
Kod:
An error occurred while trying to generate project files.

Running C:/Program Files/Epic Games/UE_5.0/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe  -projectfiles -project="C:/Users/salih/Documents/Unreal Projects/MyProject2/MyProject2.uproject" -game -rocket -progress
Log file: C:\Users\salih\AppData\Local\UnrealBuildTool\Log_GPF.txt

Some Platforms were skipped due to invalid SDK setup: Win64, HoloLens, IOS, Android, Linux, LinuxArm64, TVOS.
See the log file for detailed information

Discovering modules, targets and source code for project...
WARNING: Visual Studio 2022 is installed, but is missing the C++ toolchain. Please verify that the "MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)" component is selected in the Visual Studio 2022 installation options.
ERROR: Visual Studio 2019 x64 must be installed in order to build this target.

diye hata veriyor.
 
Visual studio 2019 yükleyerek ve C++ aracını yükleyip deneyin.
 
Son düzenleme:
Kod:
An error occurred while trying to generate project files.

Running C:/Program Files/Epic Games/UE_5.0/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe  -projectfiles -project="C:/Users/salih/Documents/Unreal Projects/MyProject2/MyProject2.uproject" -game -rocket -progress
Log file: C:\Users\salih\AppData\Local\UnrealBuildTool\Log_GPF.txt

Some Platforms were skipped due to invalid SDK setup: Win64, HoloLens, IOS, Android, Linux, LinuxArm64, TVOS.
See the log file for detailed information

Discovering modules, targets and source code for project...
WARNING: Visual Studio 2022 is installed, but is missing the C++ toolchain. Please verify that the "MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)" component is selected in the Visual Studio 2022 installation options.
ERROR: Visual Studio 2019 x64 must be installed in order to build this target.

diye hata veriyor.
Altta niye verdiğini yazıyor. En azından translate edip bulabilirsiniz. Unreal öğrenirken İngilizce de öğrenin. İleride sorularınızı sormak için stackoverflow gibi siteler kullanacaksınız çünkü. Visual Studio kurmuşsunuz fakat C++ aracı yüklü değil diyor kısaca. Visual Studio açın ve oradan "Daha fazla araç yükleyin."' ' e tıklayın. Oradan gerekli olanları yüklersiniz.
 
BuildConfiguration.xml dosyasını bulmanız gerek. Aşağıdaki lokasyonlara bakın.
  • Engine/Saved/UnrealBuildTool/BuildConfiguration.xml
  • User/AppData/Roaming/Unreal Engine/UnrealBuildTool/BuildConfiguration.xml
  • Belgeler/Unreal Engine/UnrealBuildTool/BuildConfiguration.xml
Daha sonra dosyanın içindeki iki ayarı VisualStudio2022 olacak şekilde değiştirin:
XML:
<VCProjectFileGenerator>
    <Version>VisualStudio2022</Version>
</VCProjectFileGenerator>
XML:
<WindowsPlatform>
    <Compiler>VisualStudio2022</Compiler>
</WindowsPlatform>

Ayrıca C++ build tools eksik onuda buradan indirebilirsiniz:
 

Technopat Haberler

Geri
Yukarı