Building UE4 with Nvidia Flex errors

Hi, I’m sorry to complain, but I have about 75 to 100 errors while building UE4 with Nvidia Physx Flex.
I’m using VS2017, with 2015 toolkit, Flex branch is 4.19, but I also tried 4.17 and both end up with the same problems.
I also tried to build it with vs2015, and still no success.
I also tried to build clean UE4 release version and it build itself without any error/warning.
I have also changed VC++ Directories to inherit from parent. but it only decreased number of errors from 150 to 75.
I will be super glad if someone would be able to help me with it. Below I print screen of some errors.

Thank you in advance.

Yeah I’ve looked as some of the issues on that branch page, seams like everyone gets this, I’d check to make sure unreal studio is not causing problems. Then just check for missing header files, I’m not sure if it needs any downloads from NVIDIA game works or not, but that might be a place to look.