[Qt-interest] capabilities of phonon example project executing problem
Yuvaraj R
yuvaraj at ongobiz.com
Thu Sep 10 05:22:32 CEST 2009
Hi All
still i am getting errors while running the phonon capabilities project
but i can able to run the music player project
My error is
mingw32-make: Entering directory
`D:/2009.01/qt/examples/phonon/capabilities'
D:/2009.01/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory
`D:/2009.01/qt/examples/phonon/capabilities'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import
-Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o
debug\capabilities.exe tmp/obj/debug_shared/window.o
tmp/obj/debug_shared/main.o tmp/obj/debug_shared/moc_window.o
-L"d:\2009.01\qt\lib" -L"d:\2009.01\qt\lib" -lmingw32 -lqtmaind -lphonond4
-lQtGuid4 -lQtCored4
mingw32-make[1]: Leaving directory
`D:/2009.01/qt/examples/phonon/capabilities'
mingw32-make: Leaving directory `D:/2009.01/qt/examples/phonon/capabilities'
tmp/obj/debug_shared/window.o: In function
`ZNK6Phonon22ObjectDescriptionModelILNS_21ObjectDescriptionTypeE0EE9mimeTypesEv':
D:/2009.01/qt/examples/phonon/capabilities/../../../include/Phonon/../../src/phonon/../3rdparty/phonon/phonon/objectdescriptionmodel.h:(.rdata$_ZTVN6Phonon22ObjectDescriptionModelILNS_21ObjectDescriptionTypeE0EEE[vtable
for Phonon::ObjectDescriptionModel<(Phonon::ObjectDescriptionType)0>]+0x8):
undefined reference to
`Phonon::ObjectDescriptionModel<(Phonon::ObjectDescriptionType)0>::metaObject()
const'
D:/2009.01/qt/examples/phonon/capabilities/../../../include/Phonon/../../src/phonon/../3rdparty/phonon/phonon/objectdescriptionmodel.h:(.rdata$_ZTVN6Phonon22ObjectDescriptionModelILNS_21ObjectDescriptionTypeE0EEE[vtable
for Phonon::ObjectDescriptionModel<(Phonon::ObjectDescriptionType)0>]+0xc):
undefined reference to
`Phonon::ObjectDescriptionModel<(Phonon::ObjectDescriptionType)0>::qt_metacast(char
const*)'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\capabilities.exe] Error 1
mingw32-make: *** [debug] Error 2
Exited with code 2.
Error while building project capabilities
When executing build step 'Make'
Please help me , it is very important me now,because, i want to the audio
devices list
Thanks
Yuvaraj R
On Thu, Sep 10, 2009 at 12:17 AM, Yuvaraj R <yuvaraj at ongobiz.com> wrote:
> Hi All
>
> Still i could not
>
> On Wed, Sep 9, 2009 at 11:33 PM, Yuvaraj R <yuvaraj at ongobiz.com> wrote:
>
>>
>>
>>
>>
>> On Wed, Sep 9, 2009 at 11:11 PM, John McClurkin <jwm at nei.nih.gov> wrote:
>>
>>> Yuvaraj R wrote:
>>> > Already i have installed direct X sdk.Then what i have to do ?
>>> >
>>> > Thanks
>>> >
>>> > Yuvaraj R
>>>
>>> You mean the sdk from Microsoft? As Thiago said, this is not enough. You
>>> also need to patch MinGW. You can find DirectShow patches for MinGW on
>>> the internet.
>>>
>>> >
>>> > On Wed, Sep 9, 2009 at 10:48 PM, Thiago Macieira
>>> > <thiago.macieira at trolltech.com <mailto:thiago.macieira at trolltech.com>>
>>> > wrote:
>>> >
>>> > Em Quarta-feira 9.. Setembro 2009, às 19.57.12, John McClurkin
>>> escreveu:
>>> > > Yuvaraj R wrote:
>>> > > > Hi All
>>> > > >
>>> > > > i am not able to run the capabilities project in phonon
>>> section
>>> > of given
>>> > > > examples with Qt
>>> > > >
>>> > > > I am getting error like:
>>> > > >
>>> > > >
>>> >
>>> D:\2009.01\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.
>>> > > >exe: cannot find -lphonond
>>> > > >
>>> > > > collect2: ld returned 1 exit status.
>>> > > >
>>> > > > Please help me
>>> > > >
>>> > > > Thanks
>>> > > >
>>> > > > Yuvaraj R
>>> > >
>>> > > Did you configure Qt with the -debug-and-release flag? Did you
>>> > configure
>>> > > Qt to build the phonon libraries? Go to D:\2009.01\qt and
>>> examine the
>>> > > file configure.cache to see how Qt was configured.
>>> >
>>> > MinGW builds don't have Phonon enabled, because MinGW's Windows
>>> > headers are
>>> > not compatible with the DirectShow SDK.
>>> >
>>> > There are patches floating around to enable that. But you have to
>>> > modify MinGW
>>> > on your own first, then install the DirectShow SDK and finally
>>> build
>>> > Phonon..
>>> >
>>> > --
>>> > Thiago Macieira - thiago.macieira (AT) nokia.com <http://nokia.com
>>> >
>>> > Senior Product Manager - Nokia, Qt Development Frameworks
>>> > Sandakerveien 116, NO-0402 Oslo, Norway
>>> >
>>> > Qt Developer Days 2009 | Registration Now Open!
>>> > Munich, Germany: Oct 12 - 14 San Francisco, California: Nov 2 -
>>> 4
>>> > http://qt.nokia.com/qtdevdays2009
>>> >
>>> > _______________________________________________
>>> > Qt-interest mailing list
>>> > Qt-interest at trolltech.com <mailto:Qt-interest at trolltech.com>
>>> > http://lists.trolltech.com/mailman/listinfo/qt-interest
>>> >
>>> >
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090910/3950d6d6/attachment.html
More information about the Qt-interest-old
mailing list