首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

需要在win7系统中运用directshow,装了Microsoft SDK7.1,但是运行它自带的例子时出现以下异常

2012-04-18 
需要在win7系统中运用directshow,装了Microsoft SDK7.1,但是运行它自带的例子时出现以下错误1inftee.obj

需要在win7系统中运用directshow,装了Microsoft SDK7.1,但是运行它自带的例子时出现以下错误
1>inftee.obj : error LNK2019: 无法解析的外部符号 "void __stdcall DbgAssert(wchar_t const *,wchar_t const *,int)" (?DbgAssert@@YGXPB_W0H@Z),该符号在函数 "public: __thiscall CTee::CTee(wchar_t *,struct IUnknown *,long *)" (??0CTee@@QAE@PA_WPAUIUnknown@@PAJ@Z) 中被引用
1>inftee.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall CBaseFilter::CBaseFilter(wchar_t const *,struct IUnknown *,class CCritSec *,struct _GUID const &)" (??0CBaseFilter@@QAE@PB_WPAUIUnknown@@PAVCCritSec@@ABU_GUID@@@Z),该符号在函数 "public: __thiscall CTee::CTee(wchar_t *,struct IUnknown *,long *)" (??0CTee@@QAE@PA_WPAUIUnknown@@PAJ@Z) 中被引用
1>inftee.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall CBaseInputPin::CBaseInputPin(wchar_t const *,class CBaseFilter *,class CCritSec *,long *,wchar_t const *)" (??0CBaseInputPin@@QAE@PB_WPAVCBaseFilter@@PAVCCritSec@@PAJ0@Z),该符号在函数 "public: __thiscall CTeeInputPin::CTeeInputPin(wchar_t *,class CTee *,long *,wchar_t const *)" (??0CTeeInputPin@@QAE@PA_WPAVCTee@@PAJPB_W@Z) 中被引用
1>inftee.obj : error LNK2019: 无法解析的外部符号 "void __cdecl DbgLogInfo(unsigned long,unsigned long,wchar_t const *,...)" (?DbgLogInfo@@YAXKKPB_WZZ),该符号在函数 "public: virtual __thiscall CTeeInputPin::~CTeeInputPin(void)" (??1CTeeInputPin@@UAE@XZ) 中被引用
1>inftee.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall CBaseOutputPin::CBaseOutputPin(wchar_t const *,class CBaseFilter *,class CCritSec *,long *,wchar_t const *)" (??0CBaseOutputPin@@QAE@PB_WPAVCBaseFilter@@PAVCCritSec@@PAJ0@Z),该符号在函数 "public: __thiscall CTeeOutputPin::CTeeOutputPin(wchar_t *,class CTee *,long *,wchar_t const *,int)" (??0CTeeOutputPin@@QAE@PA_WPAVCTee@@PAJPB_WH@Z) 中被引用




有谁知道是为什么吗,我已经加入了strmabase.lib 。

不知道要怎么对它进行配置啊,配置了一整天了,好着急,谁知道怎么办啊?

[解决办法]
出现这种问题一般都是遇接的strmbase.lib库不对,比如当前工程是Release版,你连接了一个Debug版的库,或者连接了一个Debug Unicode版的库

from
[解决办法]
如需要Q我

热点排行