无法打开包含文件:“iProxyTrans.h” - 旧的 Directshow 项目?
我继承了一个使用旧的 opencv、directx 和 directshow 库的项目,我试图能够在当前的 Windows 7 VS 2010 计算机上编译它。
导致问题的两个包含如下:
#include <iProxyTrans.h>
#include <ProxyTransuids.h>
我怎样才能编译它?这些文件现在根本就不存在了吗?我尝试搜索我的计算机,但找不到它。我有最新的 DirectX SDK 和 Windows SDK。我也在使用 OpenCV 2.3.1。
编辑如果我注释掉这些,我会得到如下内容:
1>someclass.cpp(126): error C2065: 'CLSID_ProxyTransform' : undeclared identifier
1>someclass.cpp(132): error C2065: 'IProxyTransform' : undeclared identifier
1>someclass.cpp(132): error C2065: 'pProxyTrans' : undeclared identifier
1>someclass.cpp(133): error C2065: 'IID_IProxyTransform' : undeclared identifier
I inherited a project that used old opencv, directx and directshow libraries and I'm trying to be able to compile it on a current Windows 7 VS 2010 machine.
Two of the includes that are causing problems are as follows:
#include <iProxyTrans.h>
#include <ProxyTransuids.h>
How can I get this to compile? Are these files simply non-existant now? I tried searching my computer and I could not find it. I have the latest DirectX SDK and Windows SDK. I am also using OpenCV 2.3.1.
edit If I comment these out, I get things such as:
1>someclass.cpp(126): error C2065: 'CLSID_ProxyTransform' : undeclared identifier
1>someclass.cpp(132): error C2065: 'IProxyTransform' : undeclared identifier
1>someclass.cpp(132): error C2065: 'pProxyTrans' : undeclared identifier
1>someclass.cpp(133): error C2065: 'IID_IProxyTransform' : undeclared identifier
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是它的来源:ProxyTransuids.h,来自 OpenCV
Here is where it comes from: ProxyTransuids.h, from OpenCV