Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1681

msvc configuration error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 1.20.1
    • Fix Version/s: None
    • Component/s: Toolchains: Visual C++
    • Labels:
      None
    • Environment:
      Win10 / Win11, MSVC 2017
    • Platform/s:
      Windows
    • Commits:
      b1d1e10d23 (qbs/qbs/master) b1d1e10d23 (qbs/qbs/1.22)

      Description

      i can build with profiles MSVC2017-x64, MSVC2017-x86, MSVC2017-x86_x64

      but compiling with MSVC2017-x64_x86 stopped with error:

      n:\tmp>qbs build -q profile:MSVC2017-x86_x64 -d tmp.x86_x64
      
      n:\tmp>qbs build -q profile:MSVC2017-x86_x64 -d tmp.x86_x64
      
      n:\tmp>qbs build -q profile:MSVC2017-x86 -d tmp.x86
      
      n:\tmp>qbs build -q profile:MSVC2017-x64 -d tmp.x64
      
      n:\tmp>qbs build -q profile:MSVC2017-x64_x86 -d tmp.x64_x86
      ERROR: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x86\cl.exe" /nologo /c /EHsc /Od /Zi /MDd /experimental:external /DUNICODE /D_UNICODE /DWIN32 /Fdm.cl.pdb /Zc:__cplusplus /FoN:\tmp\tmp.x64_x86\default\m.6b0d31c0\3a52ce780950d4d9\m.cpp.obj N:\tmp\m.cpp /TP /FS
      c1xx: fatal error C1356: unable to find mspdb140.dll
      ERROR: Process failed with exit code 2.
      The following products could not be built for configuration default:
      m

      Unfortunately, 32-bit cl.exe can't compile our code (internal compiler error – out of memory)

        Attachments

        1. m.cpp
          0.1 kB
        2. m.qbs
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kuzulis Denis Shienkov
            Reporter:
            korsar13 Ivan Kharin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes