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

Link error with MSVC2013

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.0 Beta
    • 5.6
    • WebEngine
    • None
    • Windows 7 64 bit
      MSVC2013 32 bit
    • 0c6147d9b5ffbe18bfe1e8deb9cc128c9a0fad27

    Description

      I cloned Qt 5.5.1 ( a89c6ef7033a29c0f0a17e68624bbdbba1653263 ) today and tried building it out of source with MSVC2013. This is the linker error I got:

      	cd api\ && ( if not exist Makefile.core_api D:\dev\32\MSVC2013\qt-5.5.1\qtbase\bin\qmake D:\dev\src\qt-5.5.1\qtwebengine\src\core\api\core_api.pro -o Makefile.core_api ) && C:\Users\rob\dev\src\binary-artifacts\win32\bin\jom.exe -f Makefile.core_api
      	C:\Users\rob\dev\src\binary-artifacts\win32\bin\jom.exe -f Makefile.core_api.Debug all
      	C:\Users\rob\dev\src\binary-artifacts\win32\bin\jom.exe -f Makefile.core_api.Release all
      	( if not exist Makefile.core_module D:\dev\32\MSVC2013\qt-5.5.1\qtbase\bin\qmake D:\dev\src\qt-5.5.1\qtwebengine\src\core\core_module.pro -o Makefile.core_module ) && C:\Users\rob\dev\src\binary-artifacts\win32\bin\jom.exe -f Makefile.core_module
      	C:\Users\rob\dev\src\binary-artifacts\win32\bin\jom.exe -f Makefile.core_module.Debug all
      	link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /MACHINE:X86 /LIBPATH:"C:\Program Files (x86)\Windows Kits\8.1\Lib\win8\um\x86" /DELAYLOAD:dbghelp.dll /DELAYLOAD:dwmapi.dll /DELAYLOAD:shell32.dll /DELAYLOAD:uxtheme.dll /DELAYLOAD:cfgmgr32.dll /DELAYLOAD:powrprof.dll /DELAYLOAD:setupapi.dll /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll /DELAYLOAD:mfreadwrite.dll /DELAYLOAD:BluetoothApis.dll /DELAYLOAD:Bthprops.cpl /DELAYLOAD:dinput8.dll /DELAYLOAD:user32.dll /DELAYLOAD:d3d9.dll /DELAYLOAD:d3d11.dll /DELAYLOAD:dxva2.dll /PDB:QtWebEngineCored.dll.pdb /maxilksize:0x7ff00000 /safeseh /dynamicbase /ignore:4199 /ignore:4221 /nxcompat /largeaddressaware /SUBSYSTEM:WINDOWS,5.01 /INCREMENTAL:NO /FIXED:NO /DYNAMICBASE:NO wininet.lib dnsapi.lib version.lib msimg32.lib ws2_32.lib usp10.lib psapi.lib dbghelp.lib winmm.lib shlwapi.lib cfgmgr32.lib powrprof.lib setupapi.lib advapi32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib user32.lib uuid.lib odbc32.lib odbccp32.lib delayimp.lib credui.lib netapi32.lib /SAFESEH /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /VERSION:5.6 /MANIFEST:embed /OUT:D:\dev\32\MSVC2013\qt-5.5.1\qtbase\lib\Qt5WebEngineCored.dll @C:\Users\rob\AppData\Local\Temp\Qt5WebEngineCored.dll.1120.16.jom
      QtWebEngineCore.public_exports.obj : error LNK2038: Konflikt ermittelt für "_ITERATOR_DEBUG_LEVEL": Der Wert "0" stimmt nicht mit dem Wert "2" in QtWebEngineCore.access_token_store_qt.obj überein.
      QtWebEngineCore.public_exports.obj : error LNK2038: Konflikt ermittelt für "RuntimeLibrary": Der Wert "MD_DynamicRelease" stimmt nicht mit dem Wert "MDd_DynamicDebug" in QtWebEngineCore.access_token_store_qt.obj überein.
         Bibliothek "D:\dev\32\MSVC2013\qt-5.5.1\qtbase\lib\Qt5WebEngineCored.lib" und Objekt "D:\dev\32\MSVC2013\qt-5.5.1\qtbase\lib\Qt5WebEngineCored.exp" werden erstellt.
      LINK : warning LNK4098: Standardbibliothek "MSVCRT" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden.
      D:\dev\32\MSVC2013\qt-5.5.1\qtbase\lib\Qt5WebEngineCored.dll : fatal error LNK1319: 2 Konflikte ermittelt
      jom: D:\dev\32\MSVC2013\qt-5.5.1\qtwebengine\src\core\Makefile.core_module.Debug [D:\dev\32\MSVC2013\qt-5.5.1\qtbase\lib\Qt5WebEngineCored.dll] Error 1319
      jom: D:\dev\32\MSVC2013\qt-5.5.1\qtwebengine\src\core\Makefile.core_module [debug-all] Error 2
      jom: D:\dev\32\MSVC2013\qt-5.5.1\qtwebengine\src\core\Makefile [sub-core_module-pro-make_first] Error 2
      jom: D:\dev\32\MSVC2013\qt-5.5.1\qtwebengine\src\Makefile [sub-core-make_first] Error 2
      jom: D:\dev\32\MSVC2013\qt-5.5.1\qtwebengine\Makefile [sub-src-make_first] Error 2
      NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
      Stop.
      

      Attachments

        1. build2.log
          366 kB
          Robert Löhning

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes