I am having a problem building the engine (Release branch), I am getting lots of internal compiler errors when building the “UE4” project.
I am using Visual Studio 2015 without any updates.
Does the 4.11 version use C++ features added after VS2015 was released?
Template heavy headers seam to be the number one hotspots.
( I know that ICE problems are MS’s problem, But I am hoping that someone who has had similar experience can help me out
Exactly what errors are you getting when building the engine? Do you have the same compile errors if you build the 4.11 branch? Please provide any additional information that can help me investigate this issue.
I am not keen on switching branches as the GitHub app just starts downloading without any indicator of how much data is needed(I don’t like that).
The errors seam to happen randomly, Even in files just including headers.
Here is one I just hit:
J:\UE\Engine\Intermediate\Build\Win64\UE4Editor\Development\LevelEditor\Module.LevelEditor.3_of_3.cpp(4): fatal error C1001: An internal error has occurred in the compiler.
(compiler file ‘msc1.cpp’, line 1393)
To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
that file only contains:
// This file is automatically generated at compile-time to include some subset of the user-created cpp files. #include “J:\UE\Engine\Source\Editor\LevelEditor\Private\SSurfaceProperties.cpp” #include “J:\UE\Engine\Source\Editor\LevelEditor\Private\SToolkitDisplay.cpp”
I seam to be having fewer errors with disabling PCH’s.
I have had 8+ BSoD’s trying to compile, So I may have an actual ram/hardware fault.
I have tweaked DRAM settings, I have gotten the compiler to do ~500 steps out of the 1700.
I think the Launcher build may be my best way of staying up to date.
Rather than using the GitHub app, could you download the .zip file for one of the other branches. When you extract the files from the zip, you only need to worry about running Setup.bat and GenerateProjectFiles.bat then build the solution file. For further information, can you post your machine’s DXDiag as well?
Here is the DXDiag link text
I will probably only be able to get back to you about the 4.11 branch tomorrow (I am in UTC +2 timezone)
I have found some minor syntax errors in ~3 files, Maybe there is some bad code somewhere triggering the C1001.
PS: Is each branch (4.9, 4.10) at the latest version released to the launcher?
I got a memory management BSoD when trying to compile with VS2015.
I have downloaded the Launcher binaries, So I will use that till I decide to try building from source again.
I must have that one in one thousand quirk.
Thanks for the help!