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

I am new to unreal and was just going to start my first project but this came on a blank project on c++ and working fine on blueprint ver is UE5.3.2 and visual studio of 2022

Running F:/UE 5/UE_5.3/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“F:/ue projects/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=“F:/ue projects/MyProject/MyProject.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\Dell\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for MyProjectEditor (no existing makefile)
@progress push 5%
Parsing headers for MyProjectEditor
Running Internal UnrealHeaderTool “F:\ue projects\MyProject\MyProject.uproject” “F:\ue projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest” -WarningsAsErrors -installed
Total of 0 written
Reflection code generated for MyProjectEditor in 1.1385308 seconds
@progress pop
Building MyProjectEditor…
Using Visual Studio 2022 14.39.33521 toolchain (F:\visual studio community\New folder\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 (6 physical cores, 12 logical cores)
Executing up to 6 processes, one per physical core
Requested 1.5 GB memory per action, 4.91 GB available: limiting max parallel actions to 3
------ Building 6 action(s) started ------
[1/6] Resource Default.rc2
[2/6] Compile [x64] SharedPCH.Engine.Cpp20.cpp
F:\UE 5\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’
F:\UE 5\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(86): note: see declaration of ‘FHazardPointerCollection::FHazardRecord::FHazardRecord’
F:\UE 5\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(77): note: see declaration of ‘FHazardPointerCollection::FHazardRecord’
F:\UE 5\UE_5.3\Engine\Source\predefined C++ types (compiler internal)(420): note: the template instantiation context (the oldest one first) is
F:\UE 5\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.15 seconds
Total execution time: 29.29 seconds

Please see this thread:

yes it worked thank you very much for the help :grinning_face_with_smiling_eyes:

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms