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

qtmultimedia build failure on Windows 7 (mingw53-x86)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.10.0 Beta 3
    • 5.10.0 Beta 2
    • Multimedia
    • None
    • Windows 7 (mingw53-x86) - Packaging, DebugAndRelease, Release, OpenGLDynamic, DisableTests, AbortTestingOnFirstFailure
      Windows 7 (mingw53-x86) - DeveloperBuild, Release, OpenGLDynamic, AbortTestingOnFirstFailure
    • fa8e1e71bb17efe2549d9e81768f19c065065fce (qtmultimedia/5.10, 20.10.2017, 5.10)

    Description

      https://codereview.qt-project.org/#/c/208925/
      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1508437849
      https://testresults.qt.io/coin/api/results/qt/qtmultimedia/18173eb43608d3ca2b2fb1e7552ce1978e578ea0/WindowsWindows_7x86WindowsWindows_7x86Mingw53qtci-windows-7-x86-2-2df770DeveloperBuild_Release_OpenGLDynamic/0b36eb95478c58627af4c3838e4d62f97db81dc0/build_1508439549/buildlog.txt.gz

      ...
      g++ -c -fno-keep-inline-dllexport -O2 -std=c++1z -fno-exceptions -Wextra -Wall -W -Wvla -Wdate-time -DUNICODE -D_UNICODE -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DNO_DSHOW_STRSAFE -D_CRT_SECURE_NO_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Icommon -Iplayer -I..\common\evr -Icamera -I..\..\..\include\QtMultimedia\5.10.0 -I..\..\..\include\QtMultimedia\5.10.0\QtMultimedia -I..\..\..\include -I..\..\..\include\QtMultimedia -Ic:\Users\qt\work\install\include\QtGui\5.10.0 -Ic:\Users\qt\work\install\include\QtGui\5.10.0\QtGui -Ic:\Users\qt\work\install\include -Ic:\Users\qt\work\install\include\QtWidgets -Ic:\Users\qt\work\install\include\QtGui -Ic:\Users\qt\work\install\include\QtANGLE -Ic:\Users\qt\work\install\include\QtCore\5.10.0 -Ic:\Users\qt\work\install\include\QtCore\5.10.0\QtCore -Ic:\Users\qt\work\install\include\QtNetwork -Ic:\Users\qt\work\install\include\QtCore -I.moc\release -IC:\utils\my_sql\my_sql\include -IC:\utils\postgresql\pgsql\include -IC:\openssl\include -Ic:\Users\qt\work\install\mkspecs\win32-g++  -o .obj\release\directshowvideorenderercontrol.o player\directshowvideorenderercontrol.cpp
      In file included from C:/MINGW530/i686-w64-mingw32/include/dshow.h:40:0,
                       from player\directshowvideorenderercontrol.h:44,
                       from player\directshowvideorenderercontrol.cpp:41:
      C:/MINGW530/i686-w64-mingw32/include/strmif.h:16503:2: warning: #warning COM interfaces layout in this header has not been verified. [-Wcpp]
       #warning COM interfaces layout in this header has not been verified.
        ^
      C:/MINGW530/i686-w64-mingw32/include/strmif.h:16504:2: warning: #warning COM interfaces with incorrect layout may not work at all. [-Wcpp]
       #warning COM interfaces with incorrect layout may not work at all.
        ^
      C:/MINGW530/i686-w64-mingw32/include/strmif.h:16533:2: warning: #warning COM interfaces layout in this header has not been verified. [-Wcpp]
       #warning COM interfaces layout in this header has not been verified.
        ^
      C:/MINGW530/i686-w64-mingw32/include/strmif.h:16534:2: warning: #warning COM interfaces with incorrect layout may not work at all. [-Wcpp]
       #warning COM interfaces with incorrect layout may not work at all.
        ^
      In file included from ..\common\evr/evrdefs.h:45:0,
                       from ..\common\evr/evrcustompresenter.h:49,
                       from player\directshowvideorenderercontrol.cpp:46:
      C:/MINGW530/i686-w64-mingw32/include/evr.h:84:2: warning: #warning COM interfaces layout in this header has not been verified. [-Wcpp]
       #warning COM interfaces layout in this header has not been verified.
        ^
      C:/MINGW530/i686-w64-mingw32/include/evr.h:85:2: warning: #warning COM interfaces with incorrect layout may not work at all. [-Wcpp]
       #warning COM interfaces with incorrect layout may not work at all.
        ^
      In file included from ..\common\evr/evrdefs.h:45:0,
                       from ..\common\evr/evrcustompresenter.h:49,
                       from player\directshowvideorenderercontrol.cpp:46:
      C:/MINGW530/i686-w64-mingw32/include/evr.h:127:2: warning: #warning COM interfaces layout in this header has not been verified. [-Wcpp]
       #warning COM interfaces layout in this header has not been verified.
        ^
      C:/MINGW530/i686-w64-mingw32/include/evr.h:128:2: warning: #warning COM interfaces with incorrect layout may not work at all. [-Wcpp]
       #warning COM interfaces with incorrect layout may not work at all.
        ^
      C:/MINGW530/i686-w64-mingw32/include/evr.h:252:2: warning: #warning COM interfaces layout in this header has not been verified. [-Wcpp]
       #warning COM interfaces layout in this header has not been verified.
        ^
      C:/MINGW530/i686-w64-mingw32/include/evr.h:253:2: warning: #warning COM interfaces with incorrect layout may not work at all. [-Wcpp]
       #warning COM interfaces with incorrect layout may not work at all.
        ^
      In file included from ..\common\evr/evrdefs.h:45:0,
                       from ..\common\evr/evrvideowindowcontrol.h:45,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      C:/MINGW530/i686-w64-mingw32/include/evr.h:86:82: note: #pragma message: Interface IMFVideoPresenter has unverified layout.
      C:/MINGW530/i686-w64-mingw32/include/evr.h:89:1: error: expected class-name before '{' token
       {
       ^
      C:/MINGW530/i686-w64-mingw32/include/evr.h:98:44: error: 'MFTIME' has not been declared
           STDMETHOD_(HRESULT,OnClockPause)(THIS_ MFTIME hnsSystemTime) PURE;
                                                  ^
      C:/MINGW530/i686-w64-mingw32/include/evr.h:99:46: error: 'MFTIME' has not been declared
           STDMETHOD_(HRESULT,OnClockRestart)(THIS_ MFTIME hnsSystemTime) PURE;
                                                    ^
      C:/MINGW530/i686-w64-mingw32/include/evr.h:100:46: error: 'MFTIME' has not been declared
           STDMETHOD_(HRESULT,OnClockSetRate)(THIS_ MFTIME hnsSystemTime,float flRate) PURE;
                                                    ^
      C:/MINGW530/i686-w64-mingw32/include/evr.h:101:44: error: 'MFTIME' has not been declared
           STDMETHOD_(HRESULT,OnClockStart)(THIS_ MFTIME hnsSystemTime,LONGLONG llClockStartOffset) PURE;
                                                  ^
      C:/MINGW530/i686-w64-mingw32/include/evr.h:102:43: error: 'MFTIME' has not been declared
           STDMETHOD_(HRESULT,OnClockStop)(THIS_ MFTIME hnssSystemTime) PURE;
                                                 ^
      C:/MINGW530/i686-w64-mingw32/include/evr.h:105:51: error: 'IMFVideoMediaType' has not been declared
           STDMETHOD_(HRESULT,GetCurrentMediaType)(THIS_ IMFVideoMediaType **ppMediaType) PURE;
                                                         ^
      In file included from ..\common\evr/evrdefs.h:45:0,
                       from ..\common\evr/evrvideowindowcontrol.h:45,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      C:/MINGW530/i686-w64-mingw32/include/evr.h:129:81: note: #pragma message: Interface IMFDesiredSample has unverified layout.
      C:/MINGW530/i686-w64-mingw32/include/evr.h:168:44: error: 'IMFAsyncCallback' has not been declared
           STDMETHOD_(HRESULT,SetAllocator)(THIS_ IMFAsyncCallback *pSampleAllocator,IUnknown *pUnkState) PURE;
                                                  ^
      C:/MINGW530/i686-w64-mingw32/include/evr.h:238:50: error: 'IMFTransform' has not been declared
           STDMETHOD_(HRESULT,InitializeRenderer)(THIS_ IMFTransform *pVideoMixer,IMFVideoPresenter *pVideoPresenter) PURE;
                                                        ^
      C:/MINGW530/i686-w64-mingw32/include/evr.h:254:87: note: #pragma message: Interface IMFVideoDisplayControl has unverified layout.
      C:/MINGW530/i686-w64-mingw32/include/evr.h:315:69: error: 'IMFSample' has not been declared
       HRESULT WINAPI MFCreateVideoSampleFromSurface(IUnknown *pUnkSurface,IMFSample **ppSample);
                                                                           ^
      In file included from ..\common\evr/evrvideowindowcontrol.h:45:0,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      ..\common\evr/evrdefs.h:62:90: error: conflicting declaration of C function 'HRESULT MFCreateVideoSampleFromSurface(IUnknown*, IMFSample**)'
       HRESULT WINAPI MFCreateVideoSampleFromSurface(IUnknown *pUnkSurface, IMFSample **ppSample);
                                                                                                ^
      In file included from ..\common\evr/evrdefs.h:45:0,
                       from ..\common\evr/evrvideowindowcontrol.h:45,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      C:/MINGW530/i686-w64-mingw32/include/evr.h:315:16: note: previous declaration 'HRESULT MFCreateVideoSampleFromSurface(IUnknown*, int**)'
       HRESULT WINAPI MFCreateVideoSampleFromSurface(IUnknown *pUnkSurface,IMFSample **ppSample);
                      ^
      In file included from ..\common\evr/evrvideowindowcontrol.h:45:0,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      ..\common\evr/evrdefs.h:87:16: error: redefinition of 'struct MFVideoNormalizedRect'
       typedef struct MFVideoNormalizedRect {
                      ^
      In file included from ..\common\evr/evrdefs.h:45:0,
                       from ..\common\evr/evrvideowindowcontrol.h:45,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      C:/MINGW530/i686-w64-mingw32/include/evr.h:70:16: error: previous definition of 'struct MFVideoNormalizedRect'
       typedef struct MFVideoNormalizedRect {
                      ^
      In file included from ..\common\evr/evrvideowindowcontrol.h:45:0,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      ..\common\evr/evrdefs.h:92:3: error: conflicting declaration 'typedef int MFVideoNormalizedRect'
       } MFVideoNormalizedRect;
         ^
      In file included from ..\common\evr/evrdefs.h:45:0,
                       from ..\common\evr/evrvideowindowcontrol.h:45,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      C:/MINGW530/i686-w64-mingw32/include/evr.h:75:3: note: previous declaration as 'typedef struct MFVideoNormalizedRect MFVideoNormalizedRect'
       } MFVideoNormalizedRect;
         ^
      In file included from ..\common\evr/evrvideowindowcontrol.h:45:0,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      ..\common\evr/evrdefs.h:112:14: error: multiple definition of 'enum MFVideoAspectRatioMode'
       typedef enum MFVideoAspectRatioMode
                    ^
      In file included from ..\common\evr/evrdefs.h:45:0,
                       from ..\common\evr/evrvideowindowcontrol.h:45,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      C:/MINGW530/i686-w64-mingw32/include/evr.h:28:14: note: previous definition here
       typedef enum MFVideoAspectRatioMode {
                    ^
      In file included from ..\common\evr/evrvideowindowcontrol.h:45:0,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      ..\common\evr/evrdefs.h:119:3: error: conflicting declaration 'typedef int MFVideoAspectRatioMode'
       } MFVideoAspectRatioMode;
         ^
      In file included from ..\common\evr/evrdefs.h:45:0,
                       from ..\common\evr/evrvideowindowcontrol.h:45,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      C:/MINGW530/i686-w64-mingw32/include/evr.h:34:3: note: previous declaration as 'typedef enum MFVideoAspectRatioMode MFVideoAspectRatioMode'
       } MFVideoAspectRatioMode;
         ^
      In file included from ..\common\evr/evrvideowindowcontrol.h:45:0,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      ..\common\evr/evrdefs.h:123:1: error: redefinition of 'struct IMFVideoDisplayControl'
       IMFVideoDisplayControl : public IUnknown
       ^
      In file included from C:/MINGW530/i686-w64-mingw32/include/objbase.h:14:0,
                       from C:/MINGW530/i686-w64-mingw32/include/ole2.h:17,
                       from C:/MINGW530/i686-w64-mingw32/include/wtypes.h:12,
                       from C:/MINGW530/i686-w64-mingw32/include/winscard.h:10,
                       from C:/MINGW530/i686-w64-mingw32/include/windows.h:97,
                       from C:/MINGW530/i686-w64-mingw32/include/dshow.h:24,
                       from player\directshowplayerservice.cpp:40:
      C:/MINGW530/i686-w64-mingw32/include/evr.h:256:1: error: previous definition of 'struct IMFVideoDisplayControl'
       DECLARE_INTERFACE_(IMFVideoDisplayControl,IUnknown)
       ^
      In file included from ..\common\evr/evrvideowindowcontrol.h:45:0,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      ..\common\evr/evrdefs.h:175:1: error: redefinition of 'struct IMFVideoDeviceID'
       IMFVideoDeviceID : public IUnknown
       ^
      In file included from C:/MINGW530/i686-w64-mingw32/include/objbase.h:14:0,
                       from C:/MINGW530/i686-w64-mingw32/include/ole2.h:17,
                       from C:/MINGW530/i686-w64-mingw32/include/wtypes.h:12,
                       from C:/MINGW530/i686-w64-mingw32/include/winscard.h:10,
                       from C:/MINGW530/i686-w64-mingw32/include/windows.h:97,
                       from C:/MINGW530/i686-w64-mingw32/include/dshow.h:24,
                       from player\directshowplayerservice.cpp:40:
      C:/MINGW530/i686-w64-mingw32/include/evr.h:182:1: error: previous definition of 'struct IMFVideoDeviceID'
       DECLARE_INTERFACE_(IMFVideoDeviceID,IUnknown)
       ^
      In file included from ..\common\evr/evrvideowindowcontrol.h:45:0,
                       from player\directshowevrvideowindowcontrol.h:43,
                       from player\directshowplayerservice.cpp:63:
      ..\common\evr/evrdefs.h:205:14: error: using typedef-name 'MFVP_MESSAGE_TYPE' after 'enum'
       typedef enum MFVP_MESSAGE_TYPE
      ...
      

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes