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

[MSVC 2017-32bit]: Building the tiff imageformat fails at link time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.8.0
    • Image formats
    • Windows - MSVC 2017

    Description

      When building the tiff imageformat it will fail at link time in 32bit mode with MSVC 2017. The error is:

      "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional
      \VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\nmake.exe" -f Makefile.Debug
      all
      
      Microsoft (R) Program Maintenance Utility Version 14.10.25017.0
      Copyright (C) Microsoft Corporation. All rights reserved.
      
      link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS
      /VERSION:5.8 /OUT:C:\Qt\5.8.0-x86\qtbase\plugins\imageformats\qtiffd.dll
      @C:\Users\Keith\AppData\Local\Temp\nmD1C5.tmp
      Creating library C:\Qt\5.8.0-x86\qtbase\plugins\imageformats\qtiffd.lib and
      object C:\Qt\5.8.0-x86\qtbase\plugins\imageformats\qtiffd.exp
      tif_codec.obj : error LNK2019: unresolved external symbol __imp__sprintf
      referenced in function __notConfigured
      tif_getimage.obj : error LNK2001: unresolved external symbol __imp__sprintf
      tif_win32.obj : error LNK2001: unresolved external symbol __imp__fprintf
      tif_dirinfo.obj : error LNK2001: unresolved external symbol __imp__fprintf
      tif_fax3.obj : error LNK2001: unresolved external symbol __imp__fprintf
      tif_predict.obj : error LNK2001: unresolved external symbol __imp__fprintf
      tif_print.obj : error LNK2001: unresolved external symbol __imp__fprintf
      snprintf.obj : error LNK2019: unresolved external symbol __imp___vsnprintf_s
      referenced in function __TIFF_vsnprintf_f
      snprintf.obj : error LNK2019: unresolved external symbol __imp___vscprintf
      referenced in function __TIFF_vsnprintf_f
      tif_win32.obj : error LNK2019: unresolved external symbol __imp____iob_func
      referenced in function __tiffUnmapProc
      tif_win32.obj : error LNK2019: unresolved external symbol __imp__vfprintf
      referenced in function __tiffUnmapProc
      C:\Qt\5.8.0-x86\qtbase\plugins\imageformats\qtiffd.dll : fatal error LNK1120:
      6 unresolved externals
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Stud
      io\2017\Professional\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\link.EXE"'
      : return code '0x460'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Stud
      io\2017\Professional\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\nmake.exe"
      ' : return code '0x2'
      Stop.
      

      Attachments

        Issue Links

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

          Activity

            People

              vgt Eirik Aavitsland
              andysh Andy Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes