编译LiveVideoDemo项目时出错 [英] Error compiling LiveVideoDemo Project
问题描述
我从代码项目中下载了LiveVideoDemo Project,并在编译时显示以下错误.包括来自平台sdk 2003的include目录后,它显示了48错误.请帮助我解决它
CaptureVideo.cpp
e:\ documents and settings \ desktop \ vc ++ project \ livevideo_demo \ capturevideo.h(17):致命错误C1083:无法打开包含文件:``dshow.h'':没有这样的文件或目录
LiveVideo.cpp
e:\ documents and settings \ desktop \ vc ++ project \ livevideo_demo \ capturevideo.h(17):致命错误C1083:无法打开包含文件:``dshow.h'':没有这样的文件或目录
LiveVideoDlg.cpp
e:\ documents and settings \ desktop \ vc ++ project \ livevideo_demo \ capturevideo.h(17):致命错误C1083:无法打开包含文件:``dshow.h'':没有这样的文件或目录
正在生成代码...
执行cl.exe时出错.
LiveVideo.exe-3个错误,0个警告
Hi I downloaded LiveVideoDemo Project from code project and while compiling it show the following errors.After Including include directory from platform sdk 2003 it shows shows 48 error.So kindly help me to resolve it
CaptureVideo.cpp
e:\documents and settings\desktop\vc++ project\livevideo_demo\capturevideo.h(17) : fatal error C1083: Cannot open include file: ''dshow.h'': No such file or directory
LiveVideo.cpp
e:\documents and settings\desktop\vc++ project\livevideo_demo\capturevideo.h(17) : fatal error C1083: Cannot open include file: ''dshow.h'': No such file or directory
LiveVideoDlg.cpp
e:\documents and settings\desktop\vc++ project\livevideo_demo\capturevideo.h(17) : fatal error C1083: Cannot open include file: ''dshow.h'': No such file or directory
Generating Code...
Error executing cl.exe.
LiveVideo.exe - 3 error(s), 0 warning(s)
推荐答案
您是否已安装DirectX SDK?
Have you installed directx sdk?
The DirectX 运行时和SDK 是2种不同的东西.您安装了SDK吗?
The DirectX runtime and SDK are 2 different things. Have you installed the SDK?
我已经安装了DirectX,但是此代码仍然无法正常工作
I have installed DirectX, But Still this code is not working
这篇关于编译LiveVideoDemo项目时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!