Roger's woze

July 30, 2010

how to compile directsound using visual studio 2010 express

Filed under: Uncategorized — rogerdpack @ 9:03 pm

Unfortunately it’s a bit painful.

Anyway install visual studio c++ express 2010

install microsoft sdk “latest”

open D:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses using it, build.

Now open your other “real” project, and you have to add those baseclasses include/lib to your project (for me it was like this:)

add D:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses to the *beginning* of your (right click on project) -> properties -> VC++ Directories -> Include directories.

add D:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses\Debug to your Library directories. This one can go at the end or the beginning.

3 Comments »

  1. you may need to add a linker -> input

    link against strmbasd.lib

    Comment by rogerdpack — July 30, 2010 @ 9:06 pm

  2. note: make sure when you add paths you don’t add any spaces along with the paths you add, or it will err.

    Comment by rogerdpack — July 30, 2010 @ 9:12 pm

  3. you’ll need to do similar tweaks for release mode, as well.

    Comment by rogerdpack — August 17, 2010 @ 4:26 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress