Getting a "fatal error C1083" when trying to build cesium-o3de-samples project

Hi, I’m trying to follow the instructions on how to run cesium-o3de-samples but I keep running into an error every time I build the project. This is what it says in the logs:


  Checking Build System

  Building Custom Rule C:/Users/Alexis/O3DE/Gems/cesium-o3de/Code/CMakeLists.txt

  unity_0_cxx.cxx

  unity_4_cxx.cxx

  unity_1_cxx.cxx

  unity_5_cxx.cxx

  unity_2_cxx.cxx

  unity_3_cxx.cxx

C:\Users\Alexis\O3DE\Gems\cesium-o3de\Code\Source\Cesium/Gltf/BitangentAndTangentGenerator.h(3,10): fatal error C1083: Cannot open include file: 'AtomCore/std/containers/array_view.h': No such file or directory [C:\Users\Alexis\O3DE\Repository\cesium-o3de-samples\build\windows\External\cesium-o3de-3c4d4b6b\Code\Cesium.Static.vcxproj]

  #include <AtomCore/std/containers/array_view.h>

           ^

C:\Users\Alexis\O3DE\Gems\cesium-o3de\Code\Source\Cesium/Gltf/BitangentAndTangentGenerator.h(3,10): fatal error C1083: Cannot open include file: 'AtomCore/std/containers/array_view.h': No such file or directory [C:\Users\Alexis\O3DE\Repository\cesium-o3de-samples\build\windows\External\cesium-o3de-3c4d4b6b\Code\Cesium.Static.vcxproj]

  #include <AtomCore/std/containers/array_view.h>

           ^

C:\Users\Alexis\O3DE\Gems\cesium-o3de\Code\Source\Cesium/Components/DynamicUiImageComponent.h(4,10): fatal error C1083: Cannot open include file: 'LyShine/Draw2d.h': No such file or directory [C:\Users\Alexis\O3DE\Repository\cesium-o3de-samples\build\windows\External\cesium-o3de-3c4d4b6b\Code\Cesium.Static.vcxproj]

  #include <LyShine/Draw2d.h>

           ^

  unity_6_cxx.cxx

I cloned the repository for cesium-native and cesium-o3de and made sure that I included --recurse-submodules in both of them. I’m not sure what steps I’m missing. Any help is greatly appreciated. Thank you.
I’m running on Windows 10 version 21H2

Hi,

Having the same issue. Wonder if there was a solution?