x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Just updated to 4.21, nomore able to compile!

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...

Product Version: UE 4.21
Tags:
more ▼

asked Jan 30 '19 at 03:52 PM in C++ Programming

avatar image

Numisi
6 1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

The compiler output states:

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.

Have you updated Visual Studio like it asked you too?

more ▼

answered Jan 30 '19 at 04:05 PM

avatar image

Jamie Dale STAFF
7.4k 176 66 304

avatar image Numisi Jan 31 '19 at 12:17 AM

I really have no clue how I missed that... I'm sorry for wasting your time!

avatar image Numisi Jan 31 '19 at 07:01 PM

Oh damn, I have no idea how I didn't notice that! I'm ashamed of myself, thank you for your help!!!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question