I’m close to being able to compile, but it’s having 2 errors involving HoloLensAR and WindowsMixedRealityHMD.
Windows 10, Unreal 4.6
I’ve quadruple checked that I have everything in my VS install. Only thing I can think of is perhaps I need a specific version of the Windows SDK or something.
Build started...
1>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------
1>Using 'git status' to determine working set for adaptive non-unity build (C:\Users\Connorses\Fadeout-Fork-UE4-4.24.3).
1>Waiting for 'git status' command to complete
1>Building UE4Editor and ShaderCompileWorker...
1>Using Visual Studio 2019 14.29.30151 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133) and Windows 10.0.22000.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>Building 3 actions with 12 processes...
1> [1/3] UE4Editor-HoloLensAR.dll
1> Creating library C:\Users\Connorses\Fadeout-Fork-UE4-4.24.3\Engine\Plugins\Runtime\WindowsMixedReality\Intermediate\Build\Win64\UE4Editor\Development\HoloLensAR\UE4Editor-HoloLensAR.suppressed.lib and object C:\Users\Connorses\Fadeout-Fork-UE4-4.24.3\Engine\Plugins\Runtime\WindowsMixedReality\Intermediate\Build\Win64\UE4Editor\Development\HoloLensAR\UE4Editor-HoloLensAR.suppressed.exp
1>Module.HoloLensAR.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __cdecl WindowsMixedReality::MixedRealityInterop::CreateAnchor(wchar_t const *,struct DirectX::XMFLOAT3,struct DirectX::XMFLOAT4,enum WindowsMixedReality::HMDTrackingOrigin)" (__imp_?CreateAnchor@MixedRealityInterop@WindowsMixedReality@@QEAA_NPEB_WUXMFLOAT3@DirectX@@UXMFLOAT4@4@W4HMDTrackingOrigin@2@@Z) referenced in function "private: bool __cdecl FHoloLensARSystem::WMRCreateAnchor(wchar_t const *,struct FVector,struct FQuat)" (?WMRCreateAnchor@FHoloLensARSystem@@AEAA_NPEB_WUFVector@@UFQuat@@@Z)
1>Module.HoloLensAR.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __cdecl WindowsMixedReality::MixedRealityInterop::GetAnchorPose(wchar_t const *,struct DirectX::XMFLOAT3 &,struct DirectX::XMFLOAT4 &,struct DirectX::XMFLOAT3 &,enum WindowsMixedReality::HMDTrackingOrigin)const " (__imp_?GetAnchorPose@MixedRealityInterop@WindowsMixedReality@@QEBA_NPEB_WAEAUXMFLOAT3@DirectX@@AEAUXMFLOAT4@4@1W4HMDTrackingOrigin@2@@Z) referenced in function "private: bool __cdecl FHoloLensARSystem::WMRGetAnchorTransform(wchar_t const *,struct FTransform &)const " (?WMRGetAnchorTransform@FHoloLensARSystem@@AEBA_NPEB_WAEAUFTransform@@@Z)
1>C:\Users\Connorses\Fadeout-Fork-UE4-4.24.3\Engine\Plugins\Runtime\WindowsMixedReality\Binaries\Win64\UE4Editor-HoloLensAR.dll : fatal error LNK1120: 2 unresolved externals
1> [2/3] UE4Editor-WindowsMixedRealityHMD.dll
1> Creating library C:\Users\Connorses\Fadeout-Fork-UE4-4.24.3\Engine\Plugins\Runtime\WindowsMixedReality\Intermediate\Build\Win64\UE4Editor\Development\WindowsMixedRealityHMD\UE4Editor-WindowsMixedRealityHMD.suppressed.lib and object C:\Users\Connorses\Fadeout-Fork-UE4-4.24.3\Engine\Plugins\Runtime\WindowsMixedReality\Intermediate\Build\Win64\UE4Editor\Development\WindowsMixedRealityHMD\UE4Editor-WindowsMixedRealityHMD.suppressed.exp
1>Module.WindowsMixedRealityHMD.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __cdecl WindowsMixedReality::MixedRealityInterop::GetCurrentPoseRenderThread(struct DirectX::XMMATRIX &,struct DirectX::XMMATRIX &,enum WindowsMixedReality::HMDTrackingOrigin &)" (__imp_?GetCurrentPoseRenderThread@MixedRealityInterop@WindowsMixedReality@@QEAA_NAEAUXMMATRIX@DirectX@@0AEAW4HMDTrackingOrigin@2@@Z) referenced in function "private: void __cdecl WindowsMixedReality::FWindowsMixedRealityHMD::InitTrackingFrame(void)" (?InitTrackingFrame@FWindowsMixedRealityHMD@WindowsMixedReality@@AEAAXXZ)
1>Module.WindowsMixedRealityHMD.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static bool __cdecl WindowsMixedReality::MixedRealityInterop::QueryCoordinateSystem(struct ABI::Windows::Perception::Spatial::ISpatialCoordinateSystem * &,enum WindowsMixedReality::HMDTrackingOrigin &)" (__imp_?QueryCoordinateSystem@MixedRealityInterop@WindowsMixedReality@@SA_NAEAPEAUISpatialCoordinateSystem@Spatial@Perception@Windows@ABI@@AEAW4HMDTrackingOrigin@2@@Z) referenced in function "public: bool __cdecl WindowsMixedReality::FWindowsMixedRealityHMD::QueryCoordinateSystem(struct ABI::Windows::Perception::Spatial::ISpatialCoordinateSystem * &,enum WindowsMixedReality::HMDTrackingOrigin &)" (?QueryCoordinateSystem@FWindowsMixedRealityHMD@WindowsMixedReality@@QEAA_NAEAPEAUISpatialCoordinateSystem@Spatial@Perception@Windows@ABI@@AEAW4HMDTrackingOrigin@2@@Z)
1>C:\Users\Connorses\Fadeout-Fork-UE4-4.24.3\Engine\Plugins\Runtime\WindowsMixedReality\Binaries\Win64\UE4Editor-WindowsMixedRealityHMD.dll : fatal error LNK1120: 2 unresolved externals
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(46,5): error MSB3073: The command "..\..\Build\BatchFiles\Build.bat -Target="UE4Editor Win64 Development" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild" exited with code 6.
1>Done building project "UE4.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========