vs2010 没法打开包括文件:“streams.h”: No such file or directory
2013-05-04 16:05
281 查看
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离线安装包下载地址:
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.
(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 2008http://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.
相关文章推荐
- error C1083: 无法打开包括文件:“streams.h”: No such file or directory
- 在VS2010下编译无法打开包括文件:“GL/glaux.h”: No such file or directory的解决 .
- vs2010 无法打开包括文件:“SDKDDKVer.h”: No such file or directory
- VS2010下编译无法打开包括文件:“GL/glaux.h”: No such file or directory
- 在VS2010下编译无法打开包括文件:“GL/glaux.h”: No such file or directory的解决
- VS2010下运行:fatal error C1083: 无法打开包括文件:“opencv.hpp”: No such file or directory
- VS2010 无法打开包括文件:“iostream.h”: No such file or directory
- 无法打开包括文件: “corecrt.h”: No such file or directory
- qt无法打开包括文件: “corecrt.h”: No such file or directory”
- fatal error C1083: 无法打开包括文件: “jni.h”: No such file or directory
- 编译错误 无法打开包括文件:“SDKDDKVer.h”: No such file or directory
- vs2013之OpenGL错误: 无法打开包括文件:“GL/glut.h”: No such file or directory和OpenGL程序无法启动此应用程序,因计算机中丢失glut32.dll
- fatal error C1083: 无法打开包括文件:“stdint.h”: No such file or directory
- “ fatal error C1083: 无法打开包括文件:“extensions/ExtensionMacros.h”: No such file or directory”。
- vs2008出现fatal error C1083: 无法打开包括文件:“afxcontrolbars.h”: No such file or directory
- fatal error C1083: 无法打开包括文件: “stddef.h”: No such file or directory
- 在编译CUDA程序时出现 fatal error C1083: 无法打开包括文件:“cutil.h”: No such file or directory 的问题
- opengl头文件:错误: 无法打开包括文件:“gl/glut.h”: No such file or directory
- 无法打开包括文件:“SDKDDKVer.h”: No such file or directory
- fatal error C1083: 无法打开包括文件:"dxtrans.h": No such file or directory