vs2010 没法打开包括文件:“streams.h”: No such file or directory

You need DirectShow SDK that is now a part of Platform SDK
(Windows Server 2003 SP1 SDK or later),
and DirectX SDK (2006 April or later).

1. Download the Platform SDK from
   http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

SDK 7.1 ISO离线安装包下载地址:

Microsoft Windows SDK for Windows 7 and .NET Framework 4 (ISO)

Get the ISO Download of the Windows SDK for Windows Server 2008
http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&displaylang=en 

   and DirectX SDK from msdn.microsoft.com/directx/
   (They are huge, but you can download it by parts).
   If it doesn't work for you, consider HighGUI that can capture video via VFW or MIL

2. Install Platform SDK together with DirectShow SDK.
   Install DirectX (with or without sample code).

3. Build baseclasses.
   See <PlatformSDKInstallFolder>\samples\multimedia\directshow\readme.txt.

4. Copy the built libraries (called strmbase.lib and strmbasd.lib
   in Release and Debug versions, respectively) to
   <PlatformSDKInstallFolder>\lib.

5. In Developer Studio add the following paths:
      <DirectXSDKInstallFolder>\include
      <PlatformSDKInstallFolder>\include
      <PlatformSDKInstallFolder>\samples\multimedia\directshow\baseclasses
    to the includes' search path
    (at Tools->Options->Directories->Include files in case of Visual Studio 6.0,
     at Tools->Options->Projects and Solutions->VC++ Directories->Include files in case
     of Visual Studio 2005)
   Add
      <DirectXSDKInstallFolder>\lib
      <PlatformSDKInstallFolder>\lib
   to the libraries' search path (in the same dialog, ...->"Library files" page)

   NOTE: PUT THE ADDED LINES ON THE VERY TOP OF THE LISTS, OTHERWISE YOU MAY STILL GET
   COMPILER OR LINKER ERRORS. This is necessary, because Visual Studio
   may include older versions of the same headers and libraries.

你可能感兴趣的:(vs2010 没法打开包括文件:“streams.h”: No such file or directory)