oculus-samples / Unreal-HandPoseShowcase

This Unreal sample demonstrates how to implement hand gesture recognition. The Oculus SDK and other supporting material is subject to the Oculus proprietary license.
Other
25 stars 9 forks source link

Encountered an issue while using UE5.3 and Visual Studio 2022 #3

Open cryptoLaoBai opened 8 months ago

cryptoLaoBai commented 8 months ago

"Hello Development Team,

I encountered the following error while building my own Unreal Engine project using the Unreal-HandPoseShowcase project:

D:\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" D:\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(86): note: see declaration of "FHazardPointerCollection::FHazardRecord::FHazardRecord" D:\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\Containers\HazardPointer.h(77): note: see declaration of "FHazardPointerCollection::FHazardRecord" D:\Epic Games\UE_5.3\Engine\Source\predefined C++ types (compiler internal)(420): note: template instantiation context (earliest instantiation context) is D:\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_helper(_T *,size_t) noexcept()" being compiled with [ _T=FHazardPointerCollection::FHazardRecord ]

I'm using UE5.3 and building the project with Visual Studio 2022. I'm not sure how to proceed from here. Could you please provide some guidance?"