Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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!

like image 615
whiplash Avatar asked May 27 '12 18:05

whiplash


1 Answers

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).

like image 96
Roman R. Avatar answered Nov 10 '22 23:11

Roman R.