Сompilation error when creating an empty C++ project constantly!

How it started?

I downloaded version 5.3.2 and decided to practice a little. I created a project with the blueprint type and everything worked. Then I thought and realized that nothing would work like this, I bought the course, the first thing there is to download Visual Studio and create an empty test project (blank) with type C++.

I tried it - a compilation error popped up. Everything I’ve already done and tried didn’t help.

What I did?
I reinstalled Windows 10, reinstalled different versions of Unreal Engine, cleaned the memory, installed all the necessary sdk packages and the like, since I have AMD at the request of unreal itself installed the necessary drivers.

Of all this - nothing helped. I don’t know what else to do, help, I really need it. Thank you!

The message I get

The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE_5.3/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“C:/Users/Andrii Stepanov/Desktop/MyProject/MyProject.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Development Win64 -Project=“C:/Users/Andrii Stepanov/Desktop/MyProject/MyProject.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\Andrii Stepanov\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for MyProjectEditor (no existing makefile)
@progress push 5%
Parsing headers for MyProjectEditor
Running Internal UnrealHeaderTool “C:\Users\Andrii Stepanov\Desktop\MyProject\MyProject.uproject” “C:\Users\Andrii Stepanov\Desktop\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest” -WarningsAsErrors -installed
Total of 0 written
Reflection code generated for MyProjectEditor in 1.1345552 seconds
@progress pop
Building MyProjectEditor…
Using Visual Studio 2022 14.39.33521 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Determining max actions to execute in parallel (8 physical cores, 16 logical cores)
Executing up to 8 processes, one per physical core
Requested 1.5 GB memory per action, 6.28 GB available: limiting max parallel actions to 4
------ Building 6 action(s) started ------
[1/6] Resource Default.rc2
[2/6] Compile [x64] SharedPCH.Engine.Cpp20.cpp
C:\Program Files\Epic Games\UE_5.3\Engine\Source\predefined C++ types (compiler internal)(420): error C2248: ‘FHazardPointerCollection::FHazardRecord::FHazardRecord’: cannot access private member declared in class ‘FHazardPointerCollection::FHazardRecord’
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(86): note: see declaration of ‘FHazardPointerCollection::FHazardRecord::FHazardRecord’
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(77): note: see declaration of ‘FHazardPointerCollection::FHazardRecord’
C:\Program Files\Epic Games\UE_5.3\Engine\Source\predefined C++ types (compiler internal)(420): note: the template instantiation context (the oldest one first) is
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(133): note: see reference to function template instantiation ‘void __builtin_array_init_helperFHazardPointerCollection::FHazardRecord(_T *,size_t) noexcept()’ being compiled
with
[
_T=FHazardPointerCollection::FHazardRecord
]
Total time in Parallel executor: 17.75 seconds
Total execution time: 28.23 seconds

Maybe this will help:

Unfortunately it didn’t work, but thank you for trying to help