Unable to build my first project on RHEL 7.0

298
3
05-12-2017 06:27 AM
HITENDRAUPADHYAY
New Contributor

Hi 

I have installed the ArcGIS_Runtime_SDK_Qt_Linux64_100_0_0 on my system having RHEL.

After the post installtion I could see ArcGIS projects in my Qt template.

But when I created a sample project using the Template, it gives undefined references to all ArcGis APIS.

Do i need to include library paths or copy some .so/.a files to some locations???

I expect the installation of SDK should do every thing for me.

Kindly suggest if there is any complete installation procedure for the SDK.

thanks

0 Kudos
3 Replies
LucasDanzinger
Esri Frequent Contributor

Running the installer and post installer should be the only things you need to do. When you ran the post installer, did you select the gcc_64 kit that you are building against? Also, in Qt Creator, does your code get underlined, like it can't find any of the headers, or is it just the linker error you are getting?

0 Kudos
HITENDRAUPADHYAY
New Contributor

Thanks for a prompt reply.

I have included the header file path in my .pro as INCLUDEPATH+ so i dont get any underline in any of the header files included. But when i build my project, it says undefined reference to all Esri APIs. Do I need to add any thing in LIBS+ or do I need to copy any of the .a or .so to specified location.

Any reference for complete installation of the SDK and building sample project would be appreciable.

thanks

0 Kudos
LucasDanzinger
Esri Frequent Contributor

Does your pro file have the esri prf defined in it, like this: arcgis-runtime-samples-qt/ChangeBasemap.pro at master · Esri/arcgis-runtime-samples-qt · GitHub 

I suggest that if you do have this defined, and it still does not work, to try running the post installer again and making sure you are building against the same kit. The prf and other various files need to be present in your kit in order for Qt to find the proper files for building/linking.

0 Kudos