DShow DirectX SDK Problem

Asked by Weruminger

Hallo again
i do have a problem to build gst-plugins-bad\trunk\win32\oah\gst-plugins-dshow.sln

DShow is used from windows SDK
DirectX is installled SDK Mar 2009

the header Filer {Windows SDK}/amaudio.h tryes to include the dsound.h which is in DirectX SDK but it doesen't find it.

OK the beautifull Microsoft msi installer for the DirectX SDK seems to copy but not to install
( I WISH ME AN DPKG PAKET MANAGER ... )
sorry but

Where can i read HOW TO INSTALL and USE a PROPER DirextX AND DirectShow developing environment ?

a link would be fine
best in german but en is also fine
THX

BTW all other modules was build fine ( after some little version ( clutter 0.8 -> 0.9 ) coding )

but compiling and linking with Visual Studio IDE
-- NO WAY -- but that will be an other fight.

Question information

Language:
English Edit question
Status:
Answered
For:
OAH Build Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Haakon Sporsheim (ieei) said :
#1

The plugins built by gst-plugins-dshow.sln are using what is known as the BaseClasses from the Window Platform SDK. These are (as far as I know) shipped with Visual Studio 2005 project files only, but if you open the BaseClasses.sln (or what it is called) and run through the conversion wizard. It should build out of the box.

So first build Debug|MBCS and Release|MBCS. (You could also build the unicode configurations, but I guess you would have to tweak the plugin projects then!?)
The next step is to setup Visual Studio with the correct include and library paths.

On the menu: (english) Tools->Options...->Projects and Solutions->VC++ Directories.
Select Include files for your platform and add:
  <WindowsPlatformSDKRoot>\Samples\Multimedia\DirectShow\BaseClasses.
    (E.g %ProgramFiles%\Microsoft SDKs\Windows\v6.0\Samples\Multimedia\DirectShow\BaseClasses).
  <DirectXSDKRoot>\Include
  <WindowsPlatformSDKRoot>\Include
Then select library files and add: (this is for Win32/x86 only)
  <WindowsPlatformSDKRoot>\Samples\Multimedia\DirectShow\BaseClasses\Debug_MBCS
  <WindowsPlatformSDKRoot>\Samples\Multimedia\DirectShow\BaseClasses\Release_MBCS
  <DirectXSDKRoot>\Lib\x86
  <WindowsPlatformSDKRoot>\Lib\x86
  <WindowsPlatformSDKRoot>\Lib

I think you need to have the include paths and library paths in this order. I know MS messed something up when they moved DirectShow from DXSDK to PlatformSDK, so there might be issues I'm not aware of myself for certain SDK combinations.

Hope this helps, and sorry about the lacking information.

Can you help with this problem?

Provide an answer of your own, or ask Weruminger for more information if necessary.

To post a message you must log in.