wince6 Direct show编译问题
由于想在wince6下测试一下direct show的source filter的例子.把asyncrdr.h asyncrdr.cpp asyncio.h asyncio.cpp加到自己的工程中编译.报如下链接错误,哪位大牛看看是怎么回事?
我已经在我的工程中加入strmiids.lib strmbase.lib 两个库了
Error 1 error LNK2005: "public: __cdecl CCritSec::CCritSec(void)" (??0CCritSec@@QAA@XZ) already defined in asyncio.obj strmbase.lib gg
Error 2 error LNK2005: "public: __cdecl CCritSec::~CCritSec(void)" (??1CCritSec@@QAA@XZ) already defined in asyncio.obj strmbase.lib gg
Error 3 error LNK2005: "public: void __cdecl CCritSec::Lock(void)" (?Lock@CCritSec@@QAAXXZ) already defined in asyncio.obj strmbase.lib gg
Error 4 error LNK2005: "public: void __cdecl CCritSec::Unlock(void)" (?Unlock@CCritSec@@QAAXXZ) already defined in asyncio.obj strmbase.lib gg
Error 5 error LNK2019: unresolved external symbol "public: __cdecl CBaseList::CBaseList(wchar_t *)" (??0CBaseList@@QAA@PA_W@Z) referenced in function "public: __cdecl CGenericList<class CAsyncRequest>::CGenericList<class CAsyncRequest>(wchar_t *)" (??0?$CGenericList@VCAsyncRequest@@@@QAA@PA_W@Z) asyncio.obj gg
Error 6 error LNK2001: unresolved external symbol "public: virtual long __cdecl CBasePin::QueryId(wchar_t * *)" (?QueryId@CBasePin@@UAAJPAPA_W@Z) asyncrdr.obj gg
Error 7 error LNK2019: unresolved external symbol "public: __cdecl CMemAllocator::CMemAllocator(wchar_t *,struct IUnknown *,long *)" (??0CMemAllocator@@QAA@PA_WPAUIUnknown@@PAJ@Z) referenced in function "protected: long __cdecl CAsyncOutputPin::InitAllocator(struct IMemAllocator * *)" (?InitAllocator@CAsyncOutputPin@@IAAJPAPAUIMemAllocator@@@Z) asyncrdr.obj gg
Error 8 error LNK2001: unresolved external symbol "public: virtual long __cdecl CBaseFilter::FindPin(wchar_t const *,struct IPin * *)" (?FindPin@CBaseFilter@@UAAJPB_WPAPAUIPin@@@Z) asyncrdr.obj gg
Error 9 error LNK2001: unresolved external symbol "public: virtual long __cdecl CBaseFilter::JoinFilterGraph(struct IFilterGraph *,wchar_t const *)" (?JoinFilterGraph@CBaseFilter@@UAAJPAUIFilterGraph@@PB_W@Z) asyncrdr.obj gg
Error 10 error LNK2001: unresolved external symbol "public: virtual long __cdecl CBaseFilter::QueryVendorInfo(wchar_t * *)" (?QueryVendorInfo@CBaseFilter@@UAAJPAPA_W@Z) asyncrdr.obj gg
Error 11 error LNK2019: unresolved external symbol "public: __cdecl CBasePin::CBasePin(wchar_t *,class CBaseFilter *,class CCritSec *,long *,wchar_t const *,enum _PinDirection)" (??0CBasePin@@QAA@PA_WPAVCBaseFilter@@PAVCCritSec@@PAJPB_WW4_PinDirection@@@Z) referenced in function "public: __cdecl CAsyncOutputPin::CAsyncOutputPin(long *,class CAsyncReader *,class CAsyncIo *,class CCritSec *)" (??0CAsyncOutputPin@@QAA@PAJPAVCAsyncReader@@PAVCAsyncIo@@PAVCCritSec@@@Z) asyncrdr.obj gg
Error 12 error LNK2019: unresolved external symbol "public: __cdecl CBaseFilter::CBaseFilter(wchar_t *,struct IUnknown *,class CCritSec *,struct _GUID const &,long *)" (??0CBaseFilter@@QAA@PA_WPAUIUnknown@@PAVCCritSec@@ABU_GUID@@PAJ@Z) referenced in function "public: __cdecl CAsyncReader::CAsyncReader(wchar_t *,struct IUnknown *,class CAsyncStream *,long *)" (??0CAsyncReader@@QAA@PA_WPAUIUnknown@@PAVCAsyncStream@@PAJ@Z) asyncrdr.obj gg
Error 13 fatal error LNK1120: 8 unresolved externals S_WE6R3_SDK gg