error LNK2001: unresolved external symbol解决方法

error LNK2001: unresolved external symbol
asyncrdr.obj   :   error   LNK2001:   unresolved   external   symbol   "public:   virtual   long   __cdecl   CBasePin::SetSink(struct   IQualityControl   *) "   (?SetSink@CBasePin@@UAAJPAUIQualityControl@@@Z)
asyncrdr.obj   :   error   LNK2001:   unresolved   external   symbol   "public:   virtual   long   __cdecl   CBasePin::Notify(struct   IBaseFilter   *,struct   tagQuality) "   (?Notify@CBasePin@@UAAJPAUIBaseFilter@@UtagQuality@@@Z)
asyncrdr.obj   :   error   LNK2001:   unresolved   external   symbol   "public:   virtual   long   __cdecl   CBasePin::NewSegment(__int64,__int64,double) "   (?NewSegment@CBasePin@@UAAJ_J0N@Z)
asyncrdr.obj   :   error   LNK2001:   unresolved   external   symbol   "public:   virtual  

编译陆其明老师的《directshow开发指南》下的代码出现如此错误,我只贴出3个,不过此类错误有几十个,望达人指教

------解决方案--------------------
CBasePin::SetSink等没有实现或库没加载。
------解决方案--------------------
缺少库文件
------解决方案--------------------
你需要amfilter.h/amfilter.cpp
------解决方案--------------------
没有加载lib