Phonon error with dshow.h
Hi All,
I had installed Qt 4.4.0 open source on my Windows XP machine. First I didnt have DirectX SDK installed. It went fine, no errors. Only that Phonon was not installed.
Then I downloaded the DirectX SDK (March 2008 ) . While configuring, it showed YES to Phonon supprt, but on compilation I get the following error -
Quote:
videorenderer_vmr9.cpp
d:\qt\4.4.0\src\3rdparty\kdebase\runtime\phonon\ds 9\compointer.h(21) : fatal err
or C1083: Cannot open include file: 'dshow.h': No such file or directory
abstractvideorenderer.cpp
d:\qt\4.4.0\src\3rdparty\kdebase\runtime\phonon\ds 9\compointer.h(21) : fatal err
or C1083: Cannot open include file: 'dshow.h': No such file or directory
The list is more for other files, btu the error is same pointing to dshow.h .
I searched net and found that dshow.h is not included in directx now( and indeed i cudnt find dshow.h on my system).
I want to know if someone has successfully installed phonon with DirectX SDK March 2008 ???
If yes,, how ???:confused:
Re: Phonon error with dshow.h
Did you run
Code:
C:\Program Files\Microsoft DirectX SDK (March 2008)\Utilities\Bin\dx_setenv.cmd
?
Re: Phonon error with dshow.h
Yes, I had run it.
Also I searched in my C:\Program Files\Microsoft DirectX SDK (March 2008) directory for dshow.h . But didnt find it.
Re: Phonon error with dshow.h
Well I guess I dont have Platform SDK installed. Directshow has been moved to Platform SDK. I guess hence I am getting error. Will try to download SDK and re install.
Re: Phonon error with dshow.h
Ohh yea, it was DirectShow problem. I installed the DirectShow from Platform SDK, and now Phonon is installed :)
Thx for looking to the prob :)
Re: Phonon error with dshow.h
huh? The platform SDK comes with MSdevstudio so if you have msvc2005 you don't need to install platform sdk.
dshow.h has nothing to do with platformsdk, or directx. it's a mingw file. and if you're trying to build qt on msvc then why should it be looking for dshow.h?
Quote:
Originally Posted by
aamer4yu
Ohh yea, it was DirectShow problem. I installed the DirectShow from Platform SDK, and now Phonon is installed :)
Thx for looking to the prob :)
Re: Phonon error with dshow.h
I found this link which fixed me up for Phonon on XP/MSVC2005.
Re: Phonon error with dshow.h
Quote:
The platform SDK comes with MSdevstudio so if you have msvc2005 you don't need to install platform sdk.
I dont think so. dshow.h is a directX (directshow) file. Googling a little I found DirectShow part was moved to PLatform SDK instead of the directX SDK. Hence I was getting that error. When I installed platform sdk, I cud install phonon.
The link you gave too requires platform SDK. And also I didnt install whole platform SDK(since its heavy), just the DirectShow part.
Getting the solution is good, but understanding the problem is even better ;)