Hi Devs,
I’m building ARCore HelloARUnreal Project from
And my ARCOre Unreal Build Repository is
https://github.com/google-ar-unreal/UnrealEngine
Now when I open solution file of HelloARUnreal.sln and build it I’m getting these errors:
Using Visual Studio 2017 14.21.27702 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10).
2>Building 690 actions with 12 processes...
2> [1/690] SharedPCH.UnrealEd.NonOptimized.cpp
2> Detected compiler newer than Visual Studio 2017, please update min version checking in WindowsPlatformCompilerSetup.h
2> [2/690] Module.DetailCustomizations.1_of_4.cpp
2>F:\GitHubRepos\UnrealEngineARCorePlugin\Engine\Source\Runtime\Core\Public\Misc/Attribute.h(43): error C4800: Implicit conversion from 'const OtherType' to bool. Possible information loss
2> with
2>
2> OtherType=bool (__cdecl FBodyInstanceCustomizationHelper::* )(void) const
2> ]
2> F:\GitHubRepos\UnrealEngineARCorePlugin\Engine\Source\Runtime\Core\Public\Misc/Attribute.h(46): note: consider using explicit cast or comparison to 0 to avoid this warning
2> F:\GitHubRepos\UnrealEngineARCorePlugin\Engine\Source\Runtime\Core\Public\Misc/Attribute.h(46): note: see declaration of 'OtherType'
2> F:\GitHubRepos\UnrealEngineARCorePlugin\Engine\Source\Editor\DetailCustomizations\Private\BodyInstanceCustomization.cpp(1620): note: see reference to function template instantiation 'TAttribute<bool>::TAttribute<bool(__cdecl FBodyInstanceCustomizationHelper::* )(void) const>(const OtherType &)' being compiled
2> with
2>
2> OtherType=bool (__cdecl FBodyInstanceCustomizationHelper::* )(void) const
2> ]
2> F:\GitHubRepos\UnrealEngineARCorePlugin\Engine\Source\Editor\DetailCustomizations\Private\BodyInstanceCustomization.cpp(1625): note: see reference to function template instantiation 'TAttribute<bool>::TAttribute<bool(__cdecl FBodyInstanceCustomizationHelper::* )(void) const>(const OtherType &)' being compiled
2> with
2>
2> OtherType=bool (__cdecl FBodyInstanceCustomizationHelper::* )(void) const
2> ]
2> [3/690] Module.LiveLinkInterface.cpp
2> [4/690] Module.LiveLinkInterface.gen.cpp
How can I resolve this error ?