Why am I receiving an error when trying to compile in VS (C1001, MSB3073)?

1-Windows 8.1 / x64 Pro, Intel core i5 2.53GHz, 8 GB RAM.
2- VS 2013 ultimate.
3- Build Platform ( Win x64 ) UE 4

I received the following Error: ( C1001, MSB3073 )

Error List

**

  1. Error 1 error C1001: An internal
    error has occurred in the
    compiler. c:\unrealengine\engine\source\runtime\core\public\templates\DelegateInstancesImpl.inl 731 1 UE4

**

  1. Error 2 error C1001: An internal
    error has occurred in the
    compiler. c:\unrealengine\engine\source\runtime\core\public\templates\DelegateSignatureImpl.inl 566 1 UE4

**

  1. Error 3 error : Failed to produce
    item:
    C:\UnrealEngine\Engine\Binaries\Win64\UE4Editor-CoreUObject.dll C:\UnrealEngine\Engine\Intermediate\ProjectFiles\ERROR UE4

**

  1. Error 4 error MSB3073: The command
    “…..\Build\BatchFiles\Build.bat
    UE4Editor Win64 Development” exited
    with code -1. C:\Program Files
    (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 UE4

Output

1>  c:\unrealengine\engine\source\runtime\core\public\templates\DelegateSignatureImpl.inl(566): fatal error C1001: An internal error has occurred in the compiler.
1>  (compiler file 'msc1.cpp', line 1325)
1>   To work around this problem, try simplifying or changing the program near the locations listed above.
1>  Please choose the Technical Support command on the Visual C++ 
1>   Help menu, or open the Technical Support help file for more information
1>  INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\cl.exe'
1>      Please choose the Technical Support command on the Visual C++
1>      Help menu, or open the Technical Support help file for more information

1>  -------- End Detailed Actions Stats -----------------------------------------------------------
1>ERROR : UBT error : Failed to produce item: C:\UnrealEngine\Engine\Binaries\Win64\UE4Editor-CoreUObject.dll
1>  Cumulative action seconds (4 processors): 0.00 building projects, 10715.52 compiling, 0.00 creating app bundles, 0.00 generating debug info, 29.39 linking, 0.00 other
1>  UBT execution time: 5608.08 seconds
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development" exited with code -1.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

https://farm8.staticflickr.com/7188/13477479625_ce96c896e6_o.png

https://farm8.staticflickr.com/7426/13477842274_eca78f2c9a_o.png

https://farm3.staticflickr.com/2930/13477841514_b03e0b1550_o.png

Hi galaxymax,

Can you please provide us with more information on what you are trying to do when you receive these errors?

  • Are you trying to perform your first compile of the unmodified source code?
  • What solution configurations are you using?

Thanks

I had the same problem with first compile of the unmodified source code. I just restarted the Visual Studio and build it again for several times. Worked for me.

I’m also having this problem, and 's solution has not helped.

I’ve got the same error. Using win 8.1 Pro, VS2013 Ultimate. Tried to build the whole ue4 source unmodified, and tried all the c++ examples as well. Also I downloaded the VSExpress for desktop and still have the error. Also tried to put the project in different folders/drives with no luck.
Pc specs: Core i3 (quadcore, x64) and 8 gigs of ram.

I had done all the steps on the GitHub site several times.
Now trying to switch back to the good old win7Pro and do a clean install of all the dev tools.
I’will write again if this works.

Hi! As I commented before, i reinstalled my whole machine :smiley: yaaay. And finally now it’s compiling. so here are the steps what I did:

  • removed win 8.1 installed win 7

  • installed all the drivers for the
    mainboard then, the vga (new from
    internet)

  • installed VS2013Express.

  • Installed DX2010JuneRedist

All to the
drive C: where windows is located.

  • Started VS to do its first time
    thing…

  • Closed VS

  • Unzipped the source from my backup
    drive and moved it to the Root of
    drive C:

  • Run generateprojectfiles.bat

  • Opened the UE4 solution

  • Changed settings to
    development_editor and win64

  • Finally clicked Build and it works
    :smiley:

By the way the MSB3073 error is usually an error with the projects path system not sure about what was the problem… maybe the vs was installed in another drive, maybe the project were in wrong place, maybe both… or the win 8.1 with my pc specs.
But this helped me.

Hope you can use the tool soon it’s awesome!

To anyone that encounters this error, this CAN be caused by your CPU. This was the case on my PC. I’ve tested and re-tested it a few times and confirmed it, my CPU (i7-4790k) was clocked at 4.6GHz for ~2 years, water cooled, worked well, with low temperatures, but then a few days ago out of the blue, this error started happening. Sometimes the build process worked perfectly fine, other times I needed a retry or two, but then it got to the point where it seemed totally impossible to ever complete the build without this fatal error.
I’ve clocked the CPU down to stock speed, works perfect. But again, temperatures are fine, it was clocked at this speed and voltage for two years, but it’s definitive that this was the reason, feels like magic now that it works every single time.
Hope this informations helps anyone. Have a good one guys!

In my circumstances , the error is found in Engine/intermediate dir , so I delete the Engine/Intermediate dir , the rebuild UE4 , it’s OK.

For me, the problem was AI overclocking as well. Disabling it restored to normal.