Using the CPP version of the AddExchangeSet example, I try to load an ENC which fails at the point of loading the ENCLayer (code snippet below). When I print the `additionalMessage` error, I get "ENC resource path does not exist."
EncLayer* encLayer = new EncLayer(new EncCell(encDataset, this), this);
connect(encLayer, &EncLayer::doneLoading, this, [encLayer, this](Error e)
{
if (!e.isEmpty())
{
qDebug() << e.message() << ": " << e.additionalMessage();
return;
}
m_mapView->setViewpointGeometry(encLayer->fullExtent());
});
This same ENC works with the sample given by @LucasDanzinger in https://community.esri.com/t5/arcgis-runtime-sdk-for-qt/trouble-getting-my-widget-to-display-an-enc/m-p/619973 , so it's a known good source.
What is different between these two examples, and what does "ENC resource path does not exist." refer to?