PDA

View Full Version : Qt 4.4.0 compile error



MarkoSan
13th May 2008, 11:37
Hi to all again! I am trying to recompile qt 4.4.0 with:
configure -webkit -phonon -arch windows -static -debug-and-release
mingw32-make
and now I get errors which are shown in attached file. Can someone help me please? I am trying to get phonon support.

jpn
13th May 2008, 11:44
dshow.h: No such file or directory

Looks like you don't have the necessary DirectShow/DirectX SDK installed.

MarkoSan
13th May 2008, 11:49
AAA, I understood that it is not mandatory to have it.

MarkoSan
13th May 2008, 14:06
I've installed it, how do i tell now qt 4.4.0 installation where are these files?

ChristianEhrlicher
13th May 2008, 14:11
Looks like you don't have the necessary DirectShow/DirectX SDK installed.
It's MinGW - there's no DirectX-SDK. They're shipped with MinGW's w32api package which is installed by default (but maybe not the latest version, currently it's 3.11)

MarkoSan
14th May 2008, 19:12
Well, I've ugpraded mingw to latest version - same error shown.

ChristianEhrlicher
15th May 2008, 06:47
As I said before - dshow.h is part of mingw. It's in MinGW\include . If it isn't there, you're MinGW installation is either broken or to old. Try to update to latest w32api !!

MarkoSan
15th May 2008, 06:50
I've done everything you asked in your latest post, I still get error ...

ChristianEhrlicher
15th May 2008, 06:52
Why won't you understand???
Is dshow.h in MinGW\include
-> NO -> your MinGW installation is broken
-> YES -> you don't use the gcc from the MinGW installation but another one

MarkoSan
15th May 2008, 07:02
ok ok, sorry man for misunderstanding, it's morning. :D

Ok:


I have dshow.h in include dir
the only compiler installed on this comp is the one in mingw directory

Do I need to specify additional include directories while running configure or mingw32-make?

ChristianEhrlicher
15th May 2008, 07:14
Normally you don't have to do this - MinGW finds it's own headers alone. But in this case it's worth a try. Also try a small test application (only a simple main function) where you include <dshow.h> and see if it compiles on commandline.