Building Intel Media SDK Directshow sample: "Cannot open include file: 'streams.h': No such file or directory"

whiplash picture whiplash · May 27, 2012 · Viewed 9k times · Source

As the title says, I've got this error. I've got installed:

  • Visual Studio Professional 2010
  • Microsoft Windows SDK 7.0A (set as default)
  • Microsoft Windows SDK 7.1
  • Microsoft Windows SDK 6.1 (recommended by Intel's release notes)
  • DirectX SDK June 2010

There must be some SDK or library I'm missing. What could it be?

By the way, I am also missing a file called "combase.h". Probably related.

Thanks!

Answer

Roman R. picture Roman R. · May 27, 2012

Add the following on include path (your missing files are there):

  • $(WindowsSDK)\Samples\multimedia\directshow\baseclasses

You might need to build static libraries using solution in this directory so that you sample could also link produced .lib files (they also need to be on search path then).