Compilation error: UnrealBuildTool : error : Could not find definition for module 'zlib', (referenced via Target -> Launch.Build.cs -> SessionServices.Build.cs -> Core.Build.cs)

Downloaded UE5 EA source code from Github, however I am unable to compile, it throws this error:


UnrealBuildTool : error : Could not find definition for module 'zlib', (referenced via Target -> Launch.Build.cs -> SessionServices.Build.cs -> Core.Build.cs)

Hi @anonymous_user_0606cc32,
This sounds like the files may not have been created properly. Due to filename length problems.
You could try my response to another user. Which seems to work.
UE5.sln file missing - Development Discussion / Unreal Engine 5 Early Access - Unreal Engine Forums

Thanks!

Upon checking the repository I see that I was missing several folders and files. I extracted it to another folder with a shorter initial name and it solved the issue.

Thank you again :slight_smile: