Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.0.0
-
None
-
Qt 4.7.3 WinXP (32-bit)
-
qtmultimedia: 40fe658dce86f29197b6b57a13667a7561e58f35
Description
I'm trying to compile QtM 1.1.3 againt self-build Qt 4.7.3. Both are build with the MinGW version that is packaged with Qt SDK 1.1.
I've successfully compiled earlier versions of QtM 1.1.x already.
When compiling the multimedia module I get the following error:
g++ -c -Os -momit-leaf-frame-pointer -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_SHARED -DQTM_PLUGIN_PATH=\"C:/QtMobility/plugins\" -DQT_MAKEDLL -DQT_BUILD_MULTIMEDIA_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"c:\workspace\qt-everywhere-opensource-src-4.7.3\include\QtCore" -I"c:\workspace\qt-everywhere-opensource-src-4.7.3\include\QtNetwork" -I"c:\workspace\qt-everywhere-opensource-src-4.7.3\include\QtGui" -I"c:\workspace\qt-everywhere-opensource-src-4.7.3\include\QtOpenGL" -I"c:\workspace\qt-everywhere-opensource-src-4.7.3\include" -I"..\global" -I"." -I"audio" -I"video" -I"effects" -I"c:\workspace\qt-everywhere-opensource-src-4.7.3\include\ActiveQt" -I"..\..\build\Release\QtMultimediaKit\moc" -I"c:\workspace\qt-everywhere-opensource-src-4.7.3\mkspecs\default" -o ..\..\build\Release\QtMultimediaKit\qaudiodeviceinfo_win32_p.o audio\qaudiodeviceinfo_win32_p.cpp audio\qaudiodeviceinfo_win32_p.cpp:61: error: conflicting declaration 'GUID CLSID_AudioInputDeviceCategory' c:\strawberry\c\bin\../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw32/include/uuids.h:208: error: 'CLSID_AudioInputDeviceCategory' has a previous declaration as 'const GUID CLSID_AudioInputDeviceCategory' mingw32-make[3]: *** [../../build/Release/QtMultimediaKit/qaudiodeviceinfo_win32 _p.o] Error 1 mingw32-make[3]: Leaving directory `C:/workspace/qt-mobility-opensource-src-1.1.3/src/multimedia' mingw32-make[2]: *** [release] Error 2 mingw32-make[2]: Leaving directory `C:/workspace/qt-mobility-opensource-src-1.1.3/src/multimedia' mingw32-make[1]: *** [sub-multimedia-make_default] Error 2 mingw32-make[1]: Leaving directory `C:/workspace/qt-mobility-opensource-src-1.1.3/src' mingw32-make: *** [sub-src-make_default-ordered] Error 2
If I fix this one manually (by removing the second declaration) I soon get the next one:
windres -i QtMultimediaKit_resource.rc -o c:\workspace\qt-mobility-opensource-src-1.1.3\build\Release\QtMultimediaKit\QtMultimediaKit_resource_res.o --include-dir=. -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_SHARED -DQTM_PLUGIN_PATH=\"C:/QtMobility/plugins\" -DQT_MAKEDLL -DQT_BUILD_MULTIMEDIA_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -shared -Wl,--out-implib,c:\workspace\qt-mobility-opensource-src-1.1.3\lib\libQtMultimediaKit1.a -o ..\..\lib\QtMultimediaKit1.dll object_script.QtMultimediaKit.Release -L"c:\workspace\qt-everywhere-opensource-src-4.7.3\lib" -lglu32 -lopengl32 -lgdi32 -luser32 c:\workspace\qt-mobility-opensource-src-1.1.3\build\Release\QtMultimediaKit\QtMultimediaKit_resource_res.o -LC:/workspace/qt-mobility-opensource-src-1.1.3/lib -lwinmm -lstrmiids -lole32 -loleaut32 -lQtOpenGL4 -lQtGui4 -lQtNetwork4 -lQtCore4 Creating library file: c:\workspace\qt-mobility-opensource-src-1.1.3\lib\libQtMu ltimediaKit1.a ./..\..\build\Release\QtMultimediaKit\qaudiodeviceinfo_win32_p.o:qaudiodeviceinfo_win32_p.cpp:(.text+0x16b): undefined reference to `IID_IPropertyBag' collect2: ld returned 1 exit status mingw32-make[3]: *** [..\..\lib\QtMultimediaKit1.dll] Error 1 mingw32-make[3]: Leaving directory `C:/workspace/qt-mobility-opensource-src-1.1.3/src/multimedia' mingw32-make[2]: *** [release] Error 2 mingw32-make[2]: Leaving directory `C:/workspace/qt-mobility-opensource-src-1.1.3/src/multimedia' mingw32-make[1]: *** [sub-multimedia-make_default] Error 2 mingw32-make[1]: Leaving directory `C:/workspace/qt-mobility-opensource-src-1.1.3/src' mingw32-make: *** [sub-src-make_default-ordered] Error 2