[Qt4-preview-feedback] Qt OpenSource 4.5.0 rc1 compile error

Jason H scorp1us at yahoo.com
Fri Feb 13 07:26:15 CET 2009


I think you need the directX SDK, headers and all. I also think that mingw cannot use phonon. Even with all the headers, your phonon may be generated, but won't play noce with the DirextX DLLs. I beleive this is caused by linking differences between VS and mingw linking.  There may be other issues as well.

I am looking for a more specific answer to this as well. I would love to use QtCreator and mingw to do phonon apps, but I think VS is the only way on Windows.





________________________________
From: Mailing Lists <qt.mailing.lists at gmail.com>
To: Qt4-preview-feedback at trolltech.com
Sent: Friday, February 13, 2009 1:18:57 AM
Subject: [Qt4-preview-feedback] Qt OpenSource 4.5.0 rc1 compile error


Hi,
I'm trying to compile Qt opensource 4.5.0 rc1 on Windows XP SP3 with such configuration:
-platform win32-g++ -sse -sse2 -mmx -no-qt3support -phonon
make ends with errors:
seems like something with phonon...
Thank you!
In file included from D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3
.4.5/../../../../include/dshow.h:7,
                 from ..\..\..\3rdparty\phonon\ds9\compointer.h:22,
                 from ..\..\..\3rdparty\phonon\ds9\backendnode.h:26,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.h:20,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.cpp:18:

D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/strmif.h:892: error: expected `;' before '*' token
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/strmif.h:991: error: `LPDDPIXELFORMAT' does not name a type
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/strmif.h:1027: error: declaration of `GUID tagVMRGUID::GUID'
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/winnt.h:1739: error: changes meaning of `GUID' from `typedef struct _GUID GUI
D'
In file included from D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3
.4.5/../../../../include/dshow.h:8,
                 from ..\..\..\3rdparty\phonon\ds9\compointer.h:22,
                 from ..\..\..\3rdparty\phonon\ds9\backendnode.h:26,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.h:20,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.cpp:18:

D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amaudio.h:7:20: dsound.h: No such file or directory
In file included from D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3
.4.5/../../../../include/dshow.h:8,
                 from ..\..\..\3rdparty\phonon\ds9\compointer.h:22,
                 from ..\..\..\3rdparty\phonon\ds9\backendnode.h:26,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.h:20,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.cpp:18:

D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amaudio.h:19: error: `LPDIRECTSOUND' has not been declared
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amaudio.h:20: error: `LPDIRECTSOUNDBUFFER' has not been declared
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amaudio.h:21: error: `LPDIRECTSOUNDBUFFER' has not been declared
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amaudio.h:23: error: `LPDIRECTSOUND' has not been declared
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amaudio.h:24: error: `LPDIRECTSOUNDBUFFER' has not been declared
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amaudio.h:25: error: `LPDIRECTSOUNDBUFFER' has not been declared
In file included from D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3
.4.5/../../../../include/dshow.h:9,
                 from ..\..\..\3rdparty\phonon\ds9\compointer.h:22,
                 from ..\..\..\3rdparty\phonon\ds9\backendnode.h:26,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.h:20,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.cpp:18:

D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amvideo.h:7:19: ddraw.h: No such file or directory
In file included from D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3
.4.5/../../../../include/dshow.h:9,
                 from ..\..\..\3rdparty\phonon\ds9\compointer.h:22,
                 from ..\..\..\3rdparty\phonon\ds9\backendnode.h:26,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.h:20,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.cpp:18:

D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amvideo.h:56: error: expected `;' before "rcTarget"
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amvideo.h:91: error: `DDCAPS' has not been declared
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amvideo.h:92: error: `LPDIRECTDRAW' has not been declared
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amvideo.h:93: error: `DDCAPS' has not been declared
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amvideo.h:95: error: `DDSURFACEDESC' has not been declared
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/amvideo.h:99: error: `LPDIRECTDRAW' has not been declared
In file included from D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3
.4.5/../../../../include/dshow.h:17,
                 from ..\..\..\3rdparty\phonon\ds9\compointer.h:22,
                 from ..\..\..\3rdparty\phonon\ds9\backendnode.h:26,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.h:20,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.cpp:18:

D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/bdatypes.h:21: error: `dwOffset' does not name a type
In file included from ..\..\..\3rdparty\phonon\ds9\compointer.h:22,
                 from ..\..\..\3rdparty\phonon\ds9\backendnode.h:26,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.h:20,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.cpp:18:

D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/dshow.h:84: error: `DDSCAPS2' does not name a type
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/dshow.h:85: error: `DDPIXELFORMAT' does not name a type
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/dshow.h:97: error: `DDPIXELFORMAT' does not name a type
D:/Development/Qt/QtCreator/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu
de/dshow.h:102: error: `DDPIXELFORMAT' does not name a type
In file included from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.h:20,
                 from ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.cpp:18:

..\..\..\3rdparty\phonon\ds9\backendnode.h:37: error: `IPin' was not declared in
 this scope
..\..\..\3rdparty\phonon\ds9\backendnode.h:37: error: template argument 1 is inv
alid
..\..\..\3rdparty\phonon\ds9\backendnode.h:37: error: ISO C++ forbids declaratio
n of `InputPin' with no type
..\..\..\3rdparty\phonon\ds9\backendnode.h:38: error: `IPin' was not declared in
 this scope
..\..\..\3rdparty\phonon\ds9\backendnode.h:38: error: template argument 1 is inv
alid
..\..\..\3rdparty\phonon\ds9\backendnode.h:38: error: ISO C++ forbids declaratio
n of `OutputPin' with no type
..\..\..\3rdparty\phonon\ds9\backendnode.h:39: error: `IBaseFilter' was not decl
ared in this scope
..\..\..\3rdparty\phonon\ds9\backendnode.h:39: error: template argument 1 is inv
alid
..\..\..\3rdparty\phonon\ds9\backendnode.h:39: error: ISO C++ forbids declaratio
n of `Filter' with no type
..\..\..\3rdparty\phonon\ds9\backendnode.h:40: error: `IGraphBuilder' was not de
clared in this scope
..\..\..\3rdparty\phonon\ds9\backendnode.h:40: error: template argument 1 is inv
alid
..\..\..\3rdparty\phonon\ds9\backendnode.h:40: error: ISO C++ forbids declaratio
n of `Graph' with no type
mingw32-make[4]: *** [tmp/obj/debug_shared/abstractvideorenderer.o] Error 1
mingw32-make[4]: Leaving directory `D:/Development/Qt/4.5.0-rc1/src/plugins/phon
on/ds9'
mingw32-make[3]: *** [debug-all] Error 2
mingw32-make[3]: Leaving directory `D:/Development/Qt/4.5.0-rc1/src/plugins/phon
on/ds9'
mingw32-make[2]: *** [sub-ds9-make_default] Error 2
mingw32-make[2]: Leaving directory `D:/Development/Qt/4.5.0-rc1/src/plugins/phon
on'
mingw32-make[1]: *** [sub-phonon-make_default] Error 2
mingw32-make[1]: Leaving directory `D:/Development/Qt/4.5.0-rc1/src/plugins'
mingw32-make: *** [sub-plugins-make_default-ordered] Error 2


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt4-feedback/attachments/20090212/409f49ab/attachment.html 


More information about the Qt4-feedback mailing list