本人在做毕设的时候遇到的一些问题,在这里总结一下,希望会对大家有些帮助~有不足之处还望指出,大家共同进步^_^
一、基本介绍:
1.运行环境VC6.0(Microsoft Visual C++ 6.0)(http://40.duote.org/microsoft_visualc6.zip)
2.课题相关内容:AVS视频编码
二、出现的问题及解决方法:
1.问题:
fatal error C1083:"Cannot open include file: 'Dshow.h': No such file or directory执行 cl.exe 时出错"
解决:
安装DirectX SDK(Nov_08版)( http://download.microsoft.com/download/5/8/2/58223f79-689d-47ae-bdd0-056116ee8d16/DXSDK_Nov08.exe)
Platform SDK(PSDK-x86)(http://download.microsoft.com/download/a/5/f/a5f0d781-e201-4ab6-8c6a-9bb4efed1e1a/PSDK-x86.exe)
在Tools->Option的选项卡directories中增加相应项目。
在Include files增加DirectX,DirectShow的Include路径,在Library files中增加DirectX,DirectShow的Lib路径。
------------------------------------------------------------------
2. 问题:
fatal error C1083: Cannot open include file: 'dxtrans.h': No such file or directory
解决:
安装DX SDK Aug2007(注意必须是2007 aug)(http://download.microsoft.com/download/3/3/f/33f1af6e-c61b-4f14-a0de-3e9096ed4b3a/dxsdk_aug2007.exe)
DirectX 9.0 SDK Update (February 2005) Extras,把上述两者的include和lib目录都添加到 VC++include和lib目录下。
-----------------------------------------------------------------------
3. 问题:
error C2011: '_D3DVECTOR' : 'struct' type redefinition
解决