UBT build error on Mac

Hello,

I am using the latest 4.11. engine source from Github but fail to build a game project due to the following errors coming from the UBT build step:

Configuration/UEBuildBinary.cs(11,7): error CS0246: The type or namespace name `Tools' could not be found. Are you missing an assembly reference?


Configuration/UEBuildModule.cs(11,7): error CS0246: The type or namespace name `Tools' could not be found. Are you missing an assembly reference?


Configuration/UEBuildTarget.cs(11,7): error CS0246: The type or namespace name `Tools' could not be found. Are you missing an assembly reference?


System/CPPHeaders.cs(11,7): error CS0246: The type or namespace name `Tools' could not be found. Are you missing an assembly reference?


System/DynamicCompilation.cs(11,7): error CS0246: The type or namespace name `Tools' could not be found. Are you missing an assembly reference?


System/ProjectFileGenerator.cs(11,7): error CS0246: The type or namespace name `Tools' could not be found. Are you missing an assembly reference?


System/UnrealBuildTool.cs(13,7): error CS0246: The type or namespace name `Tools' could not be found. Are you missing an assembly reference?


System/UProjectInfo.cs(11,7): error CS0246: The type or namespace name `Tools' could not be found. Are you missing an assembly reference?


System/Utils.cs(14,7): error CS0246: The type or namespace name `Tools' could not be found. Are you missing an assembly reference?


System/Utils.cs(15,7): error CS0246: The type or namespace name `Tools' could not be found. Are you missing an assembly reference?


Utilities/XmlConfigLoader.cs(16,7): error CS0246: The type or namespace name `Tools' could not be found. Are you missing an assembly reference?


Configuration/UEBuildTarget.cs(969,10): error CS0246: The type or namespace name `CaselessDictionary' could not be found. Are you missing an assembly reference?


Configuration/UEBuildModule.cs(676,47): error CS0246: The type or namespace name `CaselessDictionary' could not be found. Are you missing an assembly reference?


Configuration/UEBuildModule.cs(1746,48): error CS0246: The type or namespace name `CaselessDictionary' could not be found. Are you missing an assembly reference?


System/CPPHeaders.cs(417,18): error CS0246: The type or namespace name `FileContentsCacheType' could not be found. Are you missing an assembly reference?

Do you have an idea how I could solve these?

Funny thing is, when building the UE4 engine, the same errors pop up, but they don’t break the build, they are simply ignored. When building game project (module), the same errors stop the build.

Thank you and best regards,

Hello ,

In search for this particular error, I came across another post by another user that you responded to saying you had a solution. Due to the time stamps, did you solve this issue as well? If so, we can this as resolved. For reference for other users however, here is the other post: UBT build errors on Mac (and odd linker error) - Programming & Scripting - Epic Developer Community Forums

Hi Mathew,
yes, this is the solution for this ticket as well. I wanted to link the tickets and resolve this one, but this ticket was yesterday still “pending approval”, so I just wrote my solution to the other ticket.
But they are essentially the same Content and the solution applies to both!

Cheers,

Glad to hear it!

Cheers