Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-60795

qtlocation build failed on win7: cannot find -lQtANGLE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.9.0 RC
    • Fix Version/s: 5.9.0 RC
    • Component/s: Location
    • Labels:
      None
    • Environment:
      Windows 7 (mingw53-x86)
    • Commits:
      qtbase: b53858e609c22ed38bcc05fdbaa898697a98352d 31374105940bb15a68683a0ae691e7fe1f9b049a qtlocation: 87681b757206a4c18a72cfa8c92d10c1a09d4af3

      Description

      https://codereview.qt-project.org/#/c/193839/
      http://10.212.3.36:8080/coin/integration/qt/qt5/tasks/1494588464
      http://10.212.3.36:8080/coin/api/results/qt/qtlocation/abf0f55b8a757c244a6cd2e0c53ee6a9a2188f8f/WindowsWindows_7x86WindowsWindows_7x86Mingw53qtci-windows-7-x86-2-657433DebugAndRelease_Release_OpenGLDynamic/7eb4bc784951f4e0b1cb0abc532752dfde04c964/build_1494589330/buildlog.txt.gz

      ...
      g++ -Wl,-s -shared -Wl,-subsystem,windows -Wl,--out-implib,C:\Users\qt\work\qt\qtlocation\plugins\geoservices\libqtgeoservices_mapboxgl.a -o ..\..\..\..\plugins\geoservices\qtgeoservices_mapboxgl.dll .obj/release/qgeoserviceproviderpluginmapboxgl.o .obj/release/qgeomappingmanagerenginemapboxgl.o .obj/release/qgeomapmapboxgl.o .obj/release/qmapboxglstylechange.o .obj/release/qsgmapboxglnode.o .obj/release/qrc_mapboxgl.o .obj/release/moc_qgeoserviceproviderpluginmapboxgl.o .obj/release/moc_qgeomappingmanagerenginemapboxgl.o .obj/release/moc_qgeomapmapboxgl.o  -LC:\utils\my_sql\my_sql\lib -LC:\utils\postgresql\pgsql\lib -LC:\Users\qt\work\qt\qtlocation\lib C:\Users\qt\work\qt\qtlocation\lib\libQt5Location.a C:\Users\qt\work\qt\qtlocation\lib\libQt5Positioning.a -Lc:\Users\qt\work\install\lib c:\Users\qt\work\install\lib\libQt5Quick.a c:\Users\qt\work\install\lib\libQt5Gui.a c:\Users\qt\work\install\lib\libQt5Qml.a c:\Users\qt\work\install\lib\libQt5Network.a c:\Users\qt\work\install\lib\libQt5Sql.a c:\Users\qt\work\install\lib\libQt5Core.a .obj\release\qtgeoservices_mapboxgl_resource_res.o C:\Users\qt\work\qt\qtlocation\lib\libqmapboxgl.a -LC:\utils\my_sql\my_sql\lib -LC:\utils\postgresql\pgsql\lib -Lc:\Users\qt\work\install\lib c:\Users\qt\work\install\lib\libQt5Network.a c:\Users\qt\work\install\lib\libQt5Gui.a c:\Users\qt\work\install\lib\libQt5Sql.a c:\Users\qt\work\install\lib\libQt5Core.a -lQtANGLE -lz
      C:/MINGW530/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQtANGLE
      collect2.exe: error: ld returned 1 exit status
      Makefile.Release:88: recipe for target '..\..\..\..\plugins\geoservices\qtgeoservices_mapboxgl.dll' failed
      Mingw32-make[5]: *** [..\..\..\..\plugins\geoservices\qtgeoservices_mapboxgl.dll] Error 1
      Mingw32-make[5]: Leaving directory 'c:/Users/qt/work/qt/qtlocation/src/plugins/geoservices/mapboxgl'
      Makefile:41: recipe for target 'release-all' failed
      Mingw32-make[4]: *** [release-all] Error 2
      Mingw32-make[4]: *** Waiting for unfinished jobs....
      g++ -shared -Wl,-subsystem,windows -Wl,--out-implib,C:\Users\qt\work\qt\qtlocation\plugins\geoservices\libqtgeoservices_mapboxgld.a -o ..\..\..\..\plugins\geoservices\qtgeoservices_mapboxgld.dll .obj/debug/qgeoserviceproviderpluginmapboxgl.o .obj/debug/qgeomappingmanagerenginemapboxgl.o .obj/debug/qgeomapmapboxgl.o .obj/debug/qmapboxglstylechange.o .obj/debug/qsgmapboxglnode.o .obj/debug/qrc_mapboxgl.o .obj/debug/moc_qgeoserviceproviderpluginmapboxgl.o .obj/debug/moc_qgeomappingmanagerenginemapboxgl.o .obj/debug/moc_qgeomapmapboxgl.o  -LC:\utils\my_sql\my_sql\lib -LC:\utils\postgresql\pgsql\lib -LC:\Users\qt\work\qt\qtlocation\lib C:\Users\qt\work\qt\qtlocation\lib\libQt5Locationd.a C:\Users\qt\work\qt\qtlocation\lib\libQt5Positioningd.a -Lc:\Users\qt\work\install\lib c:\Users\qt\work\install\lib\libQt5Quickd.a c:\Users\qt\work\install\lib\libQt5Guid.a c:\Users\qt\work\install\lib\libQt5Qmld.a c:\Users\qt\work\install\lib\libQt5Networkd.a c:\Users\qt\work\install\lib\libQt5Sqld.a c:\Users\qt\work\install\lib\libQt5Cored.a .obj\debug\qtgeoservices_mapboxgld_resource_res.o C:\Users\qt\work\qt\qtlocation\lib\libqmapboxgld.a -LC:\utils\my_sql\my_sql\lib -LC:\utils\postgresql\pgsql\lib -Lc:\Users\qt\work\install\lib c:\Users\qt\work\install\lib\libQt5Networkd.a c:\Users\qt\work\install\lib\libQt5Guid.a c:\Users\qt\work\install\lib\libQt5Sqld.a c:\Users\qt\work\install\lib\libQt5Cored.a -lQtANGLE -lz
      C:/MINGW530/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQtANGLE
      collect2.exe: error: ld returned 1 exit status
      Makefile.Debug:88: recipe for target '..\..\..\..\plugins\geoservices\qtgeoservices_mapboxgld.dll' failed
      Mingw32-make[5]: *** [..\..\..\..\plugins\geoservices\qtgeoservices_mapboxgld.dll] Error 1
      Mingw32-make[5]: Leaving directory 'c:/Users/qt/work/qt/qtlocation/src/plugins/geoservices/mapboxgl'
      Makefile:55: recipe for target 'debug-all' failed
      Mingw32-make[4]: *** [debug-all] Error 2
      Mingw32-make[4]: Leaving directory 'c:/Users/qt/work/qt/qtlocation/src/plugins/geoservices/mapboxgl'
      Makefile:172: recipe for target 'sub-mapboxgl-make_first' failed
      Mingw32-make[3]: *** [sub-mapboxgl-make_first] Error 2
      Mingw32-make[3]: Leaving directory 'c:/Users/qt/work/qt/qtlocation/src/plugins/geoservices'
      Makefile:67: recipe for target 'sub-geoservices-make_first' failed
      Mingw32-make[2]: *** [sub-geoservices-make_first] Error 2
      Mingw32-make[2]: Leaving directory 'c:/Users/qt/work/qt/qtlocation/src/plugins'
      Makefile:200: recipe for target 'sub-plugins-make_first' failed
      Mingw32-make[1]: *** [sub-plugins-make_first] Error 2
      Mingw32-make[1]: Leaving directory 'c:/Users/qt/work/qt/qtlocation/src'
      Makefile:43: recipe for target 'sub-src-make_first' failed
      Mingw32-make: *** [sub-src-make_first] Error 2
      
      agent:2017/05/12 16:20:16 build.go:200: Process finished with error: exit status 2
      agent:2017/05/12 16:20:16 agent.go:165: Build failed
      agent:2017/05/12 16:20:16 agent.go:120: ERROR building: exit status 2
      agent:2017/05/12 16:20:16 build.go:152: Error reading from stdout/err: exit status 2
      ...
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            owolff Oliver Wolff
            Reporter:
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes