I have download from the release and 4.24 branch on Github as I need the server part of the engine in my project. No matter what, Datasmith will not build, you have missing headers. Worse, this has resulted in numerous problems and loss of time. I don’t know what it is, but, you need to fix this so the complete engine builds from the repository after cloning or zip extraction as I don’t know what it is, where to get the API for it so the entire report cloned or downloaded and extracted builds error free. I am using Microsoft Visual Studio 2019 Community for build.
You may be trying to build the Datasmith Exporters. Exclude those from the project, since they require external SDKs to succeed.