我从链接GMFBridge - DirectShow 中的多个图形下载了一个直接显示项目
我添加了以下库
C:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses\Debug\strmbasd.lib
C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\winmm.lib
C:\ProgramFiles (x86)\Microsoft Visual Studio 10.0\VC\lib\comsuppw.lib
当我构建项目时,我收到了错误:-
error LNK2001: unresolved external symbol "public: virtual long __stdcall CBaseFilter::FindPin(unsigned short const *,struct IPin * *)" (?FindPin@CBaseFilter@@UAGJPBGPAPAUIPin@@@Z)
error LNK2001: unresolved external symbol "public: virtual long __stdcall CBaseFilter::FindPin(unsigned short const *,struct IPin * *)" (?FindPin@CBaseFilter@@UAGJPBGPAPAUIPin@@@Z) GMFBridge\source.obj GMFBridge
error LNK2001: unresolved external symbol "public: virtual long __stdcall CBaseFilter::QueryVendorInfo(unsigned short * *)" (?QueryVendorInfo@CBaseFilter@@UAGJPAPAG@Z) \GMFBridge\sink.obj GMFBridge
error LNK2001: unresolved external symbol "public: virtual long __stdcall CBaseFilter::QueryVendorInfo(unsigned short * *)" (?QueryVendorInfo@CBaseFilter@@UAGJPAPAG@Z) \GMFBridge\source.obj GMFBridge
error LNK2019: unresolved external symbol "public: virtual long __stdcall CBaseFilter::JoinFilterGraph(struct IFilterGraph *,unsigned short const *)" (?JoinFilterGraph@CBaseFilter@@UAGJPAUIFilterGraph@@PBG@Z) referenced in function "public: virtual long __stdcall BridgeSink::JoinFilterGraph(struct IFilterGraph *,unsigned short const *)" (?JoinFilterGraph@BridgeSink@@UAGJPAUIFilterGraph@@PBG@Z) \GMFBridge (1)\GMFBridge\sink.obj GMFBridge
error LNK2001: unresolved external symbol "public: virtual long __stdcall CBaseFilter::JoinFilterGraph(struct IFilterGraph *,unsigned short const *)" (?JoinFilterGraph@CBaseFilter@@UAGJPAUIFilterGraph@@PBG@Z) \GMFBridge\source.obj GMFBridge
error LNK2019: unresolved external symbol "public: __thiscall CBaseInputPin::CBaseInputPin(char const *,class CBaseFilter *,class CCritSec *,long *,unsigned short const *)" (??0CBaseInputPin@@QAE@PBDPAVCBaseFilter@@PAVCCritSec@@PAJPBG@Z) referenced in function "public: __thiscall BridgeSinkInput::BridgeSinkInput(class BridgeSink *,class BridgeStream *,class CCritSec *,long *,unsigned short const *)" (??0BridgeSinkInput@@QAE@PAVBridgeSink@@PAVBridgeStream@@PAVCCritSec@@PAJPBG@Z) \GMFBridge\sink.obj GMFBridge
error LNK2001: unresolved external symbol "public: virtual long __stdcall CBasePin::QueryId(unsigned short * *)" (?QueryId@CBasePin@@UAGJPAPAG@Z) GMFBridge\sink.obj GMFBridge
error LNK2001: unresolved external symbol "public: virtual long __stdcall CBasePin::QueryId(unsigned short * *)" (?QueryId@CBasePin@@UAGJPAPAG@Z) )\GMFBridge\source.obj GMFBridge
error LNK2019: unresolved external symbol "public: __thiscall CBaseOutputPin::CBaseOutputPin(char const *,class CBaseFilter *,class CCritSec *,long *,unsigned short const *)" (??0CBaseOutputPin@@QAE@PBDPAVCBaseFilter@@PAVCCritSec@@PAJPBG@Z) referenced in function "public: __thiscall BridgeSourceOutput::BridgeSourceOutput(class BridgeSource *,class BridgeStream *,class CCritSec *,long*,unsigned short const *)" (??0BridgeSourceOutput@@QAE@PAVBridgeSource@@PAVBridgeStream@@PAVCCritSec@@PAJPBG@Z) \GMFBridge\source.obj GMFBridge