Doubt about EsriRuntimeQt::GPMultiValue

3176
2
Jump to solution
11-27-2015 12:13 AM
Highlighted
New Contributor

I created a gpk which packages tool Mosaic to New Raster.

The tool Mosaic to New Raster takes input

1. list of raster datasets

2. Path of the folder in which raster dataset is created

3. Name of the raster dataset

When this gpk is used in ArcGIS Runtime Qt, We need to give input as GPParameter

For list of raster datasets I need to use EsriRuntime::GPMultiValue. How to use this in my Qt Application?

I used as follows

1)EsriRuntimeQt::GPMultiValue <EsriRuntimeQt::GPRasterDataLayer *  > *gpMV = new EsriRuntimeQt::GPMultiValue<EsriRuntimeQt::GPRasterDataLayer *>("ir");

2)EsriRuntimeQt::GPRasterDataLayer*  ftiff = new EsriRuntimeQt::GPRasterDataLayer();

3)ftiff->setRasterDataUrl("/home/sau/Desktop/Map_Data/Satellite/54f.tif");

4)gpMV->addValue(ftiff);

I got the following error

/home/sau/qtsamples/samples/Los/Los.cpp:570: error: undefined reference to `EsriRuntimeQt::GPMultiValue<EsriRuntimeQt::GPRasterDataLayer*>::GPMultiValue(QString const&, QObject*)'

/home/sau/qtsamples/samples/Los/Los.cpp:594: error: undefined reference to `EsriRuntimeQt::GPMultiValue<EsriRuntimeQt::GPRasterDataLayer*>::addValue(EsriRuntimeQt::GPRasterDataLayer* const&)'

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Esri Frequent Contributor
Reply
0 Kudos
2 Replies
Highlighted
Regular Contributor II

This sounds like something our Support folks should be assisting with. Could be a lot of variables here. Do you have access to Esri Support?

Reply
0 Kudos
Highlighted
Esri Frequent Contributor
Reply
0 Kudos