AngusLiu
驱动牛犊
驱动牛犊
  • 注册日期2002-10-08
  • 最后登录2009-10-20
  • 粉丝0
  • 关注0
  • 积分9分
  • 威望18点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
阅读:3565回复:1

Wince6下,directshow filter编译错误

楼主#
更多 发布于:2008-10-16 16:40
自己写的一个简单的filter在vs2005下编译,提示下面的错误,请问这是哪里有问题?
我已经引入了strmbase.lib,strmiids.lib
目录为:
C:\Program Files\Windows CE Tools\wce600\MyEmulator\Lib\ARMV4I

也包含了wince6的directshow sdk相关头文件目录
C:\Program Files\Windows CE Tools\wce600\MyEmulator\Include\Armv4i

error LNK2019: 无法解析的外部符号 "public: __cdecl CSource::CSource(wchar_t *,struct IUnknown *,struct _GUID)" (??0CSource@@QAA@PA_WPAUIUnknown@@U_GUID@@@Z),该符号在函数 "private: __cdecl CMyFilter::CMyFilter(struct IUnknown *,long *)" (??0CMyFilter@@AAA@PAUIUnknown@@PAJ@Z) 中被引用
error LNK2001: 无法解析的外部符号 "public: virtual long __cdecl CBaseFilter::JoinFilterGraph(struct IFilterGraph *,wchar_t const *)" (?JoinFilterGraph@CBaseFilter@@UAAJPAUIFilterGraph@@PB_W@Z)
error LNK2001: 无法解析的外部符号 "public: virtual long __cdecl CBaseFilter::QueryVendorInfo(wchar_t * *)" (?QueryVendorInfo@CBaseFilter@@UAAJPAPA_W@Z)
error LNK2019: 无法解析的外部符号 "public: virtual long __cdecl CBaseFilter::FindPin(wchar_t const *,struct IPin * *)" (?FindPin@CBaseFilter@@UAAJPB_WPAPAUIPin@@@Z),该符号在函数 "public: virtual long __cdecl CMyFilter::FindPin(wchar_t const *,struct IPin * *)" (?FindPin@CMyFilter@@UAAJPB_WPAPAUIPin@@@Z) 中被引用
error LNK2019: 无法解析的外部符号 "protected: __cdecl CSourceSeeking::CSourceSeeking(wchar_t const *,struct IUnknown *,long *,class CCritSec *)" (??0CSourceSeeking@@IAA@PB_WPAUIUnknown@@PAJPAVCCritSec@@@Z),该符号在函数 "public: __cdecl CMyOutPin::CMyOutPin(long *,class CMyFilter *,wchar_t const *)" (??0CMyOutPin@@QAA@PAJPAVCMyFilter@@PB_W@Z) 中被引用
error LNK2019: 无法解析的外部符号 "public: __cdecl CSourceStream::CSourceStream(wchar_t *,long *,class CSource *,wchar_t const *)" (??0CSourceStream@@QAA@PA_WPAJPAVCSource@@PB_W@Z),该符号在函数 "public: __cdecl CMyOutPin::CMyOutPin(long *,class CMyFilter *,wchar_t const *)" (??0CMyOutPin@@QAA@PAJPAVCMyFilter@@PB_W@Z) 中被引用
error LNK2019: 无法解析的外部符号 "public: virtual long __cdecl CBasePin::QueryId(wchar_t * *)" (?QueryId@CBasePin@@UAAJPAPA_W@Z),该符号在函数 "public: virtual long __cdecl CMyOutPin::QueryId(wchar_t * *)" (?QueryId@CMyOutPin@@UAAJPAPA_W@Z) 中被引用

wutfans
驱动牛犊
驱动牛犊
  • 注册日期2007-05-16
  • 最后登录2008-12-29
  • 粉丝0
  • 关注0
  • 积分4分
  • 威望5点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2008-10-16 20:32
你这是因为使用错了库,库的名字可能对了,但可能只是标准版的。
没有做过6.0的dshow,在5.0下都是需要自己定制BSP,添加dshow的catalog,然后导出sdk,并把sdk安装后的路径加入到vs2005的搜索路径中的。
游客

返回顶部