https://www.microsoft.com/en-us/download/details.aspx?id=8279? 下載?適用于Windows 7和.NET Framework 4的Microsoft Windows SDK??
1.0? ??適用于Windows 7和.NET Framework 4的Microsoft Windows SDK??
2.0? ? 編譯不同版本?
C:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses?
VS2010 打開?baseclasses.sln 解決方案? 選擇Debug、Debug_MBCS炸宵、Realese、Realese_MBCS版本進行編譯捎琐,按F7編譯裹匙。
3.0? 添加目錄
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include
C:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses
以及l(fā)ib:
C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib(可以把編譯生成的strmbasd.lib復(fù)制到C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib里,就不必寫下面一條了8乓场)
這個要根據(jù)所需要的strmbasd.lib版本進行選擇:
C:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses\Debug
C:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses\Debug_MBCS
C:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses\Release
C:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses\Release_MBCS