Compile failed


I got this message using Visual Studio 2022 and Unreal Engine 5.1.1

Greetings @ahotgusonix

Welcome to the Unreal Forums. In regards to your compile error, I’d recommend starting with this post. Others experienced this same issue and seemed to have resolved it. I hope that this helps!

no, didn’t work. Same error.
and i tried to “Generate Visual Studio project files”
image
image

It cancelled after an error that an intermediate file could not be opened. Delete the intermediate folder, then recreate project visual studio files, then rebuild.

no, didn’t work. Again, same error. “… Could not be compiled. Try rebuilding form source manually”

That is a completely different error on an ancient engine version :thinking:

This will keep happening until VS builds successfully. Any different error this time?

no, same error. I also tried to follow this tutorial: Unreal Project Could Not Be Compiled, Try Re-Building From Source Manually - YouTube but I can’t find the “IncludeOrderVersion = EngineInclude…” in the “…editor.target.cs”

Mentions no special characters may be in the path (D:?rea de …)

Can't open a new project in C++ I get this Error message - #5 by Skylonxe

Path length issue, case sensitivity issue, also suggests clean + rebuild of project:

c++ - Fatal error C1083: Cannot open compiler intermediate file: '***.pch': No such file or directory - Stack Overflow

Folders you can delete and regenerate: DerivedDataCache, Binaries, Intermediate, .sln file.

You don’t have to modify it for a successful build.

I do see a new error on that pic you posted last but I can see only half of it

The first option worked, don’t use special characters, but unreal worked with the blueprints option. A few hours on a small detail, thanks for your help

1 Like

Excellent! Such a great community! I’m glad that you were able to get this resolved!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.