Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Unable to build QtLocation 5.3.0 on Windows

$
0
0
I’m using Qt 5.3.0 for Windows 64-bit (VS 2013) dated May 26 2014 and trying to get the QtLocation to building using Qt 5.3.0 MSVC2013 64bit. I can see that QtLocation is included in the plugins but I wanted to build and run the mapviewer example which included with the code. So I downloaded the 5.3.0 branch from Git and when I try to build the qtlocation.pro I get the following errors. ——————————————————————————————————————————————————— Creating library ..\..\lib\Qt5Locationd.lib and object ..\..\lib\Qt5Locationd.exp qgeomapscene.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __cdecl QDoubleVector3D::QDoubleVector3D(class QVector3D const &)” (__imp_??0QDoubleVector3D@@QEAA@AEBVQVector3D@@@Z) referenced in function “public: void __cdecl QGeoMapScenePrivate::paintGL(class QGLPainter *)” (?paintGL@QGeoMapScenePrivate@@QEAAXPEAVQGLPainter@@@Z) qgeomapscene.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __cdecl QDoubleVector3D::operator class QVector3D(void)const “ (__imp_??BQDoubleVector3D@@QEBA?AVQVector3D@@XZ) referenced in function “public: class QGeometryData __cdecl QGeoMapScenePrivate::buildGeometry(class QGeoTileSpec const &)” (?buildGeometry@QGeoMapScenePrivate@@QEAA?AVQGeometryData@@AEBVQGeoTileSpec@@@Z) ..\..\lib\Qt5Locationd.dll : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: ‘“C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\link.EXE”’ : return code ‘0×460’ Stop. NMAKE : fatal error U1077: ‘“C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.exe”’ : return code ‘0×2’ Stop. NMAKE : fatal error U1077: ‘cd’ : return code ‘0×2’ Stop. NMAKE : fatal error U1077: ‘cd’ : return code ‘0×2’ Stop. 15:37:31: The process “C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.exe” exited with code 2. Error while building/deploying project qtlocation (kit: Desktop Qt 5.3.0 MSVC2013 64bit) When executing step ‘Make’ 15:37:31: Elapsed time: 00:34. ———————————————————- Any help? Btw it seem that the release version has build (trying to build Release version) but for some reason compiler is trying to build Debug version as well.

Viewing all articles
Browse latest Browse all 2113

Trending Articles