Building from source: 'An internal error has occurred in the compiler.'
Sorry for not getting back to you sooner. If you could, please check to make sure you have the latest service packs for Visual Studio installed.
I have not been able to reproduce this issue yet. This issue has popped up once or twice in the past, and at least one user was able to resolve the issue by re-installing Windows. I would prefer to find a solution that does not involve taking that step, though.
answered Oct 06 '14 at 05:49 PM
I encountered this same error and managed to fix this in my case. Adding my experience here for it may help future searchers.
I was compiling a game project against UE built from source (4.22) with the UE source code included in the solution. The compilation failed on engine code lines within certain FORCEINLINE functions. The error was always "fatal error C1001: An internal error has occurred in the compiler." The same code base compiled fine on a different machine using the same Visual Studio version, vc compiler version, WinSDK version, etc. What fixed it for me was clearing Visual Studio folders of local app data, so deleting
You'll lose your Visual Studio preferences and need to re-enter your Visual Studio license, but VS Community being free that shouldn't be an issue.
Follow this question
Once you sign in you will be able to subscribe for any updates here