DirectShow 安装配置

本文介绍了在安装DirectShow时遇到的问题及解决方案,包括DirectX SDK的版本问题,Visual Studio 2005 Beta 2导致的编译错误,如C4430、C4996和C2065警告。提供了针对不同源文件中错误的修复建议,并提到了链接错误如LNK1181和LNK2019的解决办法。
摘要由CSDN通过智能技术生成

    第二次安装DirectShow了。上一次安装不知花了多少九牛二虎之力才搞懂DirectShow已不在DirectX SDK里面了。真晕,BS M$一下。

 

    首先是下载DirectX SDK February 2005 Extras

    然后修改源文件

 

[Note: This post applies to the Platform SDK for Windows Server 2003 SP1 and Server 2003 R2. These issues were fixed in the Windows SDK for Vista.]  

Some of the DirectShow samples break if you install Visual Studio 2005 Beta 2. Most of the errors that I found fall into three categories:

  • C4430: Missing type specifier. To conform with C++, undeclared types do not default to int. All types must be declared. Fix: Declare the type, or suppress the warning with the "/wd4430" flag.
  • C4996: ' xxxx' was declared deprecated. You may be including an older version of strsafe.h from the DirectX SDK or the Platform SDK. You shou
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值