[Qt-interest] Compiling phonon

Parameshwari paramr at tataelxsi.co.in
Wed Apr 15 14:05:12 CEST 2009


Hi ,
             I got an "Error" while compiling with Phonon using option of
"configure -phonon" and then given mingw32-make  in "qt" Dir.
I got the following Errors . is there any patch is available for compling
phonon using migw32-make .
If it's available , please share me the Link.


Error's , I pasted below :

cd phonon\ && mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/Qt/2009.01/qt/src/plugins/phonon'
cd ds9\ && mingw32-make -f Makefile
mingw32-make[3]: Entering directory
`C:/Qt/2009.01/qt/src/plugins/phonon/ds9'
mingw32-make -f Makefile.Debug all
mingw32-make[4]: Entering directory
`C:/Qt/2009.01/qt/src/plugins/phonon/ds9'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE
-DQT_LARGEFILE_SUPPORT -
DPHONON_MAKE_QT_ONLY_BACKEND -DQT_DLL -DQT_PLUGIN -DQT_PHONON_LIB
-DQT_GUI_LIB -
DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore"
-I"..\..\..\..\i
nclude\QtGui" -I"..\..\..\..\include\phonon" -I"..\..\..\..\include"
-I"..\..\..
\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"."
-I"c:\qt-greenhouse\Trollte
ch\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.5.0\qt\mksp
ecs\
win32-g++" -o tmp\obj\debug_shared\abstractvideorenderer.o
..\..\..\3rdparty\pho
non\ds9\abstractvideorenderer.cpp
In file included from
c:/Qt/2009.01/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:

c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/strmif.
h:89
2: error: expected `;' before '*' token
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/strmif.
h:99
1: error: `LPDDPIXELFORMAT' does not name a type
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/strmif.
h:10
27: error: declaration of `GUID tagVMRGUID::GUID'
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winnt.h
:173
9: error: changes meaning of `GUID' from `typedef struct _GUID GUID'
In file included from
c:/Qt/2009.01/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:

c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amaudio
.h:7
:20: dsound.h: No such file or directory
In file included from
c:/Qt/2009.01/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:

c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amaudio
.h:1
9: error: `LPDIRECTSOUND' has not been declared
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amaudio
.h:2
0: error: `LPDIRECTSOUNDBUFFER' has not been declared
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amaudio
.h:2
1: error: `LPDIRECTSOUNDBUFFER' has not been declared
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amaudio
.h:2
3: error: `LPDIRECTSOUND' has not been declared
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amaudio
.h:2
4: error: `LPDIRECTSOUNDBUFFER' has not been declared
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amaudio
.h:2
5: error: `LPDIRECTSOUNDBUFFER' has not been declared
In file included from
c:/Qt/2009.01/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:

c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amvideo
.h:7
:19: ddraw.h: No such file or directory
In file included from
c:/Qt/2009.01/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:

c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amvideo
.h:5
6: error: expected `;' before "rcTarget"
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amvideo
.h:9
1: error: `DDCAPS' has not been declared
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amvideo
.h:9
2: error: `LPDIRECTDRAW' has not been declared
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amvideo
.h:9
3: error: `DDCAPS' has not been declared
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amvideo
.h:9
5: error: `DDSURFACEDESC' has not been declared
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/amvideo
.h:9
9: error: `LPDIRECTDRAW' has not been declared
In file included from
c:/Qt/2009.01/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:

c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/bdatype
s.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:

c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dshow.h
:84:
 error: `DDSCAPS2' does not name a type
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dshow.h
:85:
 error: `DDPIXELFORMAT' does not name a type
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dshow.h
:97:
 error: `DDPIXELFORMAT' does not name a type
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/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 `C:/Qt/2009.01/qt/src/plugins/phonon/ds9'
mingw32-make[3]: *** [debug-all] Error 2
mingw32-make[3]: Leaving directory `C:/Qt/2009.01/qt/src/plugins/phonon/ds9'
mingw32-make[2]: *** [sub-ds9-make_default] Error 2
mingw32-make[2]: Leaving directory `C:/Qt/2009.01/qt/src/plugins/phonon'
mingw32-make[1]: *** [sub-phonon-make_default] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/2009.01/qt/src/plugins'
mingw32-make: *** [sub-plugins-make_default-ordered] Error 2

c:\Qt\2009.01\qt>

Regards
Param



-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com]On Behalf Of Parameshwari
Sent: Wednesday, April 15, 2009 4:34 PM
To: Oliver.Knoll at comit.ch; qt-interest at trolltech.com
Subject: [Qt-interest] Compiling phonon


Hi All/Oliver,
             I wanted to make the question simpler. i want to play "video"
file(real time buffer and store files) which are foramt of
".yuv",".rgb",".mp4" in Qwidget.I could see phonon with  "gstreamer"
backend has the format of ".yuv",".rgb". Phonon with directx also has this
support.

Right noe , i am plaaning to use DirectX.

So can someone who done the phonon compilation and displayed video with the
support of directx  gstreamer.
i would also like to know, the exact step to get the phonon up with backends
. 

I followed the doc procedure which is
"http://doc.trolltech.com/4.5/phonon-overview.html#introduction".
In that,i have done the steps upto configure. I wanted to know, this
statement written in the docs
"Warning: The MinGW version of Qt does not support building the Qt
backend.", 

which means , do i need to replace the Mingw files before configure ?

If i get phonon with backend support , i wanted  "Playback" support and
Playing stored video files supports also.

i believe , i mentioed what i want it

Here,I am not clear of the following

1) Am i doing right procedure for compiling phonon.
I installed DirectX, Installed SDK , Given the Environmental settings in
windows for Directxand sdk libraries, Ran "configure -phonon " command in Qt
script.The compilation is still in progress. In middle , i want to confirm,

is there anything is pending to do further for display video's in phonon.

(or) Any other QT Library helps to achive the same except phonon.

Regards
Param


The information contained in this electronic message and any attachments to this message are intended for the exclusive 
use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended
 recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy
 all copies of this message and any attachments contained in it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5068 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090415/8f73ac51/attachment.bin 


More information about the Qt-interest-old mailing list