Select to view content in your preferred language

Error with create new project with arcgis sdk Qt

3491
2
01-24-2014 07:03 AM
mohamedajap
New Contributor
HI everybody,

on a Win 7 . machine (64 bit) with .NET Framework 4.5  I have installed all the components as described here:
https://developers.arcgis.com/en/qt/...on-windows.htm
but the different that i use  Visual C++Compiler 11.0 (amd64) instead of  Visual C++Compiler 11.0 (X86_amd64)
With Visual Studio 2012 express , the compiler I use is MS Visual C++Compiler 11.0 (amd64).
I can run example applications without problems. Trying to create a new project using ArcGIS Runtime SDK 10.2, I get the following error messages:
error: C1083: Cannot open include file: 'Map.h': No such file or directory
please help
0 Kudos
2 Replies
cuongha
Emerging Contributor
HI everybody,

on a Win 7 . machine (64 bit) with .NET Framework 4.5  I have installed all the components as described here:
https://developers.arcgis.com/en/qt/...on-windows.htm
but the different that i use  Visual C++Compiler 11.0 (amd64) instead of  Visual C++Compiler 11.0 (X86_amd64)
With Visual Studio 2012 express , the compiler I use is MS Visual C++Compiler 11.0 (amd64).
I can run example applications without problems. Trying to create a new project using ArcGIS Runtime SDK 10.2, I get the following error messages:
error: C1083: Cannot open include file: 'Map.h': No such file or directory
please help


you need add INCLUDEPATH in file *.pro is:
    INCLUDEPATH += "C:/ProgramFile(x86)/ArcgisSDK/runtime_sdk/qt10.2/sdk/include/"
0 Kudos
JeanneTrieu
Deactivated User
Hi,

You can also follow the steps here to copy the prf to appropriate location so the project created based on the template project finds all the dependencies:
https://developers.arcgis.com/qt/guide/integration-with-qt-creator.htm.

Please make sure that you restart your Qt creator after you copied your prf file and do a clean/rebuild of your project.

Let me know if you have more questions.

Regards,
0 Kudos