Hello everyone,
I just updated to UE 4.21, and each time I try to make a new project in C++ I get this message:
The project could not be compiled. Would you like to open it in Visual Studio?
Running C:/Program Files/Epic Games/UE_4.21/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="E:/Paolo/Documents/Unreal Projects/MyProject/MyProject.uproject" -TargetType=Editor -Progress -NoHotReloadFromIDE
Performing full C++ include scan (building a new target)
Creating makefile for MyProjectEditor (no existing makefile)
Using Visual Studio 2017 14.15.26726 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726) and Windows 10.0.17134.0 SDK (C:\Program Files (x86)\Windows Kits\10).
@progress push 5%
Parsing headers for MyProjectEditor
Running UnrealHeaderTool "E:\Paolo\Documents\Unreal Projects\MyProject\MyProject.uproject" "E:\Paolo\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProjectEditor in 8,8979117 seconds
@progress pop
Building 8 actions with 4 processes...
@progress 'Compiling C++ source code...' 0%
@progress 'Compiling C++ source code...' 12%
[1/8] PCLaunch.rc
@progress 'Compiling C++ source code...' 25%
[2/8] SharedPCH.Engine.cpp
c:\program files\epic games\ue_4.21\engine\source\runtime\core\public\Windows/WindowsPlatformCompilerSetup.h(22): error C2338: Visual Studio 2017 versions 15.7 and 15.8 are known to have code generation bugs that affect UE4. Please update to version 15.9.
ERROR: UBT ERROR: Failed to produce item: E:\Paolo\Documents\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll
(see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
Total build time: 27,50 seconds (Parallel executor: 0,00 seconds)
I have no clue what all this stuff means, but I am nomore able to create a new C++ project, and compiling by hand from Visual Studio doesn’t work either, it says it cannot be compiled:
1>------ Compilazione ignorata: Progetto: UE4, Configurazione: BuiltWithUnrealBuildTool Win32 ------
1>Progetto non selezionato da compilare per la configurazione della soluzione.
2>------ Inizio compilazione: Progetto: MyProject, Configurazione: Development_Editor x64 ------
2>Building 7 actions with 4 processes...
2> [1/7] SharedPCH.Engine.cpp
2>c:\program files\epic games\ue_4.21\engine\source\runtime\core\public\Windows/WindowsPlatformCompilerSetup.h(22): error C2338: Visual Studio 2017 versions 15.7 and 15.8 are known to have code generation bugs that affect UE4. Please update to version 15.9.
2>UnrealBuildTool : error : UBT ERROR: Failed to produce item: E:\Paolo\Documents\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll
2> (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
2>Total build time: 13,27 seconds (Parallel executor: 0,00 seconds)
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: uscita dal comando ""C:\Program Files\Epic Games\UE_4.21\Engine\Build\BatchFiles\Build.bat" MyProjectEditor Win64 Development "E:\Paolo\Documents\Unreal Projects\MyProject\MyProject.uproject" -WaitMutex -FromMsBuild" con codice 5. Verificare di avere diritti sufficienti per eseguire il comando.
2>Compilazione progetto "MyProject.vcxproj" NON COMPLETATA.
========== Compilazione: 0 completate, 1 non riuscite, 0 aggiornate, 1 ignorate ==========
Sorry for italian parts in the error message, I hope it can be understood the same…