Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21129

QTCreator failed to build on Windows due to fatal error LNK1181

    XMLWordPrintable

Details

    • Windows
    • 80c4a9b7855b8782d7dd67d416a86ddaf610a763

    Description

      I tried to build QTCreator (master branch revision c99fb5d) with an upcoming VS2017 on Winodws. It failed to build due to LINK : fatal error LNK1181:cannot open input file 'ClangCodeModel4.lib'
      jom: D:\QTCreator\src\src\plugins\compilationdatabaseprojectmanager\Makefile.Release [..\..\..\lib\qtcreator\plugins\CompilationDatabaseProjectManager4.dll] Error 1181
      jom: D:\QTCreator\src\src\plugins\compilationdatabaseprojectmanager\Makefile [release] Error 2
      jom: D:\QTCreator\src\src\plugins\Makefile [sub-compilationdatabaseprojectmanager-make_first] Error 2.

      Note: It seems that ClangCodeModel4.lib does not exist , could you please take a look?

      Reproduce steps:
      git clone [git://code.qt.io/qt-creator/qt-creator.git] D:\QTCreator\src
      Open a VS 2017 x86 command prompt and browse to D:\QTCreator\src
      qmake -r qtcreator.pro
      jom

      Actual result:

      LINK : fatal error LNK1181: cannot open input file 'ClangCodeModel4.lib'
      jom: D:\QTCreator\src\src\plugins\compilationdatabaseprojectmanager\Makefile.Release [..\..\..\lib\qtcreator\plugins\CompilationDatabaseProjectManager4.dll] Error 1181
      jom: D:\QTCreator\src\src\plugins\compilationdatabaseprojectmanager\Makefile [release] Error 2
      jom: D:\QTCreator\src\src\plugins\Makefile [sub-compilationdatabaseprojectmanager-make_first] Error 2

       
       

      Attachments

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

        Activity

          People

            yvvan Ivan Donchevskii
            lingao Gao Lin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes