problem with "Run the sample app: HoloLens - Visual Studio (C++/WinRT)" tutorial and HoloLens

114 views Asked by At

in the tutorial "Run the sample app: HoloLens - Visual Studio (C++/WinRT)" I am having problems with the "Configure account identifier and key" step it asks for three inputs SpatialAnchorsAccountKey, SpatialAnchorsAccountId, and SpatialAnchorsAccountDomain. the code accompanying this tutorial asks for AnchorExchangeURL as well. the tutorial doesn't mention this, but it can't be left blank, so I am unable to continue with the tutorial. does anyone know the solution?

webpage: https://learn.microsoft.com/en-us/azure/spatial-anchors/quickstarts/get-started-hololens?tabs=azure-portal

I tried following the instructions in the tutorial. I expected to be able to export to HoloLens.

1

There are 1 answers

2
ClaudiuC_MSFT On

If you go to this line, above text says: // Set this to the url for the service created in the 'SharingService' sample.

This URL can be left empty if you are not using a Sharing spatial anchor webservice and you want to query Azure Spatial Anchors service for any operation. You can find more about sharing anchors between devices in this doc Tutorial: Share spatial anchors across sessions and devices.