Errors while building the examples included in the SDK

I’m a complete newbie to all this world of VST-Plugin development. I have tried several times to build the examples from the SDK using both Visual Studio 15 2017 and 17 2022. Every time I am getting what appears to be some recurring code errors in several headers and source files that just pop up from every single project that tries to access them. After reducing the list I ended up with several dozens of different errors (attached below). The total amount of errors is over 3,000 when attempting to build the whole solution through the ALL_BUILD file.
I would appreciate your help with this.