Build error 'WINAPI_PARTITION_GAMES' is not defined as a preprocessor macro

When trying to build from Github master - no local changes - I keep getting the error: ‘WINAPI_PARTITION_GAMES’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif

Googling reveals this was a bug marked as fixed a year ago Unreal Engine 4.25 Preview - #228 by VictorLerp

Is this a problem in the source, or is it potentially something in my local environment that’s causing it?

1 Like

Resurrecting this post, as I’m also having this issue. Using the latest version of the master branch now is still giving me this issue. Been banging my head against a wall for a couple days at this point because of it…

Any luck with this?

Bump, I’m also having the same issue.

I have the issue too.

https://answers.unrealengine.com/questions/1034296/building-ue-427-fails-due-to-missing-physx-headers.html

windows sdk need 10.0.18