vijayd13

Error while building ArcGISSample in windows: error: undefined reference to '_imp_...

Discussion created by vijayd13 on Apr 18, 2014
Latest reply on May 13, 2014 by JTrieu-esristaff
I have installed "qt-opensource-windows-x86-msvc2012-5.2.1" and "ArcGIS_Runtime_SDK_Qt_Windows_102" and followed steps given on https://developers.arcgis.com/qt/info/runtime-qt-sdk-installation-and-set-up.htm.

Now I created ArcGISSample project (default) Link and without making any changes in code when I try to build it gives errors as shown in figure: [ATTACH=CONFIG]33196[/ATTACH]

Errors:
C:\Users\Vijay13\Documents\build-ArcGISSample-Desktop_Qt_5_2_0_MinGW_32bit-Debug\debug\ArcGISSample.o:-1: In function `ZN12ArcGISSampleC2EP7QWidget':
C:\Users\Vijay13\Documents\Sample\ArcGISSample\ArcGISSample.cpp:25: error: undefined reference to `_imp___ZN13EsriRuntimeQt3MapC1Ev'
C:\Users\Vijay13\Documents\Sample\ArcGISSample\ArcGISSample.cpp:28: error: undefined reference to `_imp___ZN13EsriRuntimeQt13ArcGISRuntime15setRenderEngineERKNS_12RenderEngineE'
C:\Users\Vijay13\Documents\Sample\ArcGISSample\ArcGISSample.cpp:30: error: undefined reference to `_imp___ZN13EsriRuntimeQt15MapGraphicsView6createERNS_3MapEP7QWidget'
C:\Users\Vijay13\Documents\Sample\ArcGISSample\ArcGISSample.cpp:32: error: undefined reference to `_imp___ZN13EsriRuntimeQt3Map20setWrapAroundEnabledERKb' ..... Likewise there are 12 errors.
Can someone help me get rid of this errors.

PS: I have not installed VS 2012 or OpenGL explicitly, does that make any difference ?

Attachments

Outcomes