Compilation failed - UE4.23 preview with Chaos

I finally got it to compile, these are the steps:

  1. Download the source code from GitHub as a ZIP archive file instead of using Git clone

  2. Unpack the ZIP, run Setup.bat, then GenerateProjectFiles.bat

  3. Open the solution (.sln) file in Visual Studio 2019

  4. Right-click on the project you’re trying to build (UE4), select properties, then navigate to “VC++ Directories”

  5. Find the options “Include directories” and “Library directories”, change both to “Inherit from parent or project defaults”

  1. Apply and build (rebuild to be safe)

This fixed all of my original problems, check the other answers on this thread if this does not work for you.

TL;DR: Download the source code as ZIP instead of using Git clone, check your VC++ Directories in VS.

1 Like