[Qt-interest] Phonon compilation error in windows
Girish Ramakrishnan
girish at forwardbias.in
Tue May 12 11:45:18 CEST 2009
Phonon uses various backends to actually play the music/video. On
Windows, there is a DirectShow backend but this will work only if you
use Visual Studio.
You cannot use MinGW with the DirectShow SDK, which is what you seem to
be attempting to do. To use MinGW+phonon you will need some other phonon
backend based on gstreamer or xine, but I have no idea whether they even
exist :-)
IMO, it is best if you just switch to Visual Studio to use phonon.
Girish
Keshava Krishna wrote:
> ya Girish, i have seen that link,
> i tried to install that windows SDK also, but later when i tried to run
> that script it gave me following errors
>
> The x86 compilers are not currently installed.
> Please go to Add/Remove Programs to update your installation.
> .
> Setting SDK environment relative to C:\Program Files\Microsoft
> SDKs\Windows\v6.1
> .
> The system cannot find the batch label specified - Set_x86
>
> C:\Qt\2009.02\qt>
>
> So that compiler is not installed properly,
> but the thing that making me worry is the following warning given in the
> link
> *Warning:* The MinGW version of Qt does not support building the Qt backend.
>
> and 'm using MinGW version itself...
>
> please suggest me any other way of getting phonon backends...
>
>
>
> On Mon, May 11, 2009 at 12:44 PM, Girish Ramakrishnan
> <girish at forwardbias.in <mailto:girish at forwardbias.in>> wrote:
>
> Keshava Krishna wrote:
> > Hello everyone,
> >
> > I m trying to build an application that uses phonon ,
> > when i compiled the prgram, it gave me following error
> >
> > *C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe:
> > cannot fin
> > d -lphonond
> > collect2: ld returned 1 exit status
> > mingw32-make[1]: *** [debug\MOBiLIB03-05-09pdfTabs.exe] Error 1
> > mingw32-make[1]: Leaving directory
> `C:/qt/4.5.1/MOBiLIB03-05-09pdfTabs'
> > mingw32-make: *** [debug-all] Error 2*
> >
> > i can understand that ld.exe in MinGw did not find -lphonond, but
> i don
> > know how to debug this...
> > I am new to QT in Windows, Can anyone please help me how to
> correct this?
> >
> > Also does windows require a phonon backend like linux(where we hav
> xine
> > or gstreamer backends) ??
>
> Have you read
> http://doc.trolltech.com/4.4/phonon-overview.html#windows ?
>
> Girish
>
>
>
>
> --
> Regards,
> Keshava.
More information about the Qt-interest-old
mailing list