directshow环境配置 问题(一)
来源:互联网 发布:vms4000监控软件下载 编辑:程序博客网 时间:2024/06/01 11:27
1、将DirectX包安装在C盘根目录下:C:/DXSDK
2、将 C:/DXSDK/Include 、C:/DXSDK/Samples/C++/DirectShow/BaseClasses加入VC的include下
(Tools->Options->Directories)
3、这个时候编译DirectShow的程序,可能会出现以下错误:
--------------------Configuration: vdclient - Win32 Debug--------------------
Compiling...
CDXGraph.cpp
c:/dxsdk/include/strmif.h(1018) : error C2146: syntax error : missing ';' before identifier 'HSEMAPHORE'
c:/dxsdk/include/strmif.h(1018) : fatal error C1004: unexpected end of file found
ClientSocket.cpp
c:/dxsdk/include/strmif.h(1018) : error C2146: syntax error : missing ';' before identifier 'HSEMAPHORE'
c:/dxsdk/include/strmif.h(1018) : fatal error C1004: unexpected end of file found
ListeningSocket.cpp
c:/dxsdk/include/strmif.h(1018) : error C2146: syntax error : missing ';' before identifier 'HSEMAPHORE'
c:/dxsdk/include/strmif.h(1018) : fatal error C1004: unexpected end of file found
vdclient.cpp
c:/dxsdk/include/strmif.h(1018) : error C2146: syntax error : missing ';' before identifier 'HSEMAPHORE'
c:/dxsdk/include/strmif.h(1018) : fatal error C1004: unexpected end of file found
vdclientDlg.cpp
c:/dxsdk/include/strmif.h(1018) : error C2146: syntax error : missing ';' before identifier 'HSEMAPHORE'
c:/dxsdk/include/strmif.h(1018) : fatal error C1004: unexpected end of file found
Generating Code...
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file './Debug/CDXGraph.sbr': No such file or directory
Error executing bscmake.exe.
vdclient.exe - 11 error(s), 0 warning(s)
4、解决的办法是,将#include "c:/dxsdk/include/strmif.h"加入VC的"stdafx.h"文件中
5、编译运行,如果成功的话,再把#include "c:/dxsdk/include/strmif.h"从"stdafx.h"中删除掉
6、OK!
- directshow环境配置 问题(一)
- DirectShow环境配置(VC6)
- DirectShow环境配置(VC6)
- DirectShow开发环境配置
- DirectShow环境配置
- DirectShow 配置环境
- directshow环境的配置
- DirectShow 配置环境
- DirectShow 配置环境
- DirectShow 开发环境配置
- DirectShow 配置环境
- DirectShow 配置环境
- directshow环境配置
- [置顶] DirectShow 配置环境
- 使用BCB进行DirectShow开发(一)SDK和配置开发环境
- 使用BCB进行DirectShow开发(一)SDK和配置开发环境
- DirectShow开发环境的配置问题(dxsdk_feb2005+extras)
- directshow的开发环境配置
- 你为什么在Windows桌面右键菜单上狂点“刷新”?
- 学习来了
- 邮件实名制--看上去很美
- 求先序序列(NOIP竞赛原题)
- 问题记录:如何提高级联分类器速度?
- directshow环境配置 问题(一)
- SMO 备份
- 常用但是记不住的函数(毕业设计用)
- Web信息抽取技术研究的发展历程
- CFileDialog文件选择对话框的使用
- Now say goodbye to toothache
- WebIE当前研究存在的问题和未来的研究趋势
- SMO 还原
- 面对爱情