【发布时间】:2011-11-01 15:06:45
【问题描述】:
我继承了一个使用旧的 opencv、directx 和 directshow 库的项目,我正在尝试能够在当前的 Windows 7 VS 2010 机器上编译它。
导致问题的两个包含如下:
#include <iProxyTrans.h>
#include <ProxyTransuids.h>
如何编译?这些文件现在根本不存在吗?我试图搜索我的电脑,但我找不到它。我有最新的 DirectX SDK 和 Windows SDK。我也在使用 OpenCV 2.3.1。
edit 如果我将这些注释掉,我会得到如下内容:
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
【问题讨论】:
-
注释掉并发布编译器错误将会得到。我不记得它们与
DirectShow相关,我在DirectX SDK中也没有看到它们。看起来那些与OpenCV有关。 -
@Roman R. 可能也是如此。这是一个opencv项目。我只是不记得在 opencv 中看到它们 :) 我在这个问题中添加了错误
标签: c++ visual-studio-2010 opencv directx directshow