Compilation failed - UE4.23 preview with Chaos

Simon L.
Tue, 27 Aug 2019 14:15:32 +0000
World Creation

Compilation error: ‘metahost.h’ not found.

I’ve been trying to compile the preview version for 4.23 from source (with Chaos enabled), and this error has been persistently occurring, looks like this is a quite common issue with the #include <metahost.h>
For me it was in the file SwarmInterface.cpp in \Engine\Source\Editor\SwarmInterface\Private\

I haven’t had any luck in solving this yet, first I redownloaded the repo and went through the setup process again, and the problem persisted.
Then I figured it might be as easy as adding the full path to the file (for me it is installed as a part of .NET SDK v4.6.2) so I tried it. That resulted in the following three errors:

E0147: declaration is incompatible with “NSwarm::FLogCategoryLogSwarmInterface NSwarm::LogSwarmInterface”

LNK1104 cannot open file ‘mscoree.lib’

MSB3075: The command “…\Build\BatchFiles\Build.bat -Target=“UE4Editor Win64 Development” -Target=“ShaderCompileWorker Win64 Development” -WaitMutex -FromMsBuild” exited with code 5. Please verify that you have sufficient rights to run this command.

I have no idea how to fix this, any suggestions?

11 posts - 4 participants