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

static compilation fails: fftreal + spectrum example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.2.1
    • 5.2.0
    • Build System
    • None
    • Windows 7 professional, 64bit, 32GB RAM, 240GB SSD
      Visual Studio Command Prompt 2010
    • 817c548df4b3693495323b163c584945077bbdaa

    Description

      When trying to compile Qt 5.2 with Visual Studio using:

      configure -debug-and-release -opensource -confirm-license -platform win32-msvc2010 -static -qt-sql-sqlite -opengl desktop -openssl-linked -I C:\OpenSSL-Win64\include -L C:\OpenSSL-Win64\lib\VC\static OPENSSL_LIBS="-lssleay32MT -llibeay32MT" -l gdi32 -no-compile-examples -nomake tests -no-vcproj -mp

      compilation fails with:

      Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
      Copyright (C) Microsoft Corporation. All rights reserved.

      cd app\ && ( if not exist Makefile C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\bin\qmake C:\Qt\qt-everywhere-opensource-src-5.2.0\qtmultimedia\examples\multimedia\spectrum\app\app.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\nmake.exe" -f Makefile
      Project ERROR: This application cannot be statically linked to the fftreal library
      NMAKE : fatal error U1077: 'cd' : return code '0x3'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.

      I thought that '-no-compile-examples' would help, but it didn't.

      Attachments

        For Gerrit Dashboard: QTBUG-35843
        # Subject Branch Project Status CR V

        Activity

          People

            buddenha Oswald Buddenhagen
            geop Georg Pelz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes