高分求救!一个DirectShow的编译连接错误
报错信息如下:
Linking...
Creating library Debug/HqAudMx.lib and object Debug/HqAudMx.exp
CMixedOutputPin.obj : error LNK2001: unresolved external symbol "public: __thiscall CTransInPlaceOutputPin::CTransInPlaceOutputPin(char *,class CTransInPlaceFilter *,long *,unsigned short const *)" (??0CTransInPlaceOutputPin@@QAE@PADPAVCTransInPlace
Filter@@PAJPBG@Z)
CMixingPassThru.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CPosPassThru::GetTimeFormatA(struct _GUID *)" (?GetTimeFormatA@CPosPassThru@@UAGJPAU_GUID@@@Z)
CMixingPassThru.obj : error LNK2001: unresolved external symbol "public: __thiscall CPosPassThru::CPosPassThru(char const *,struct IUnknown *,long *,struct IPin *)" (??0CPosPassThru@@QAE@PBDPAUIUnknown@@PAJPAUIPin@@@Z)
FilterAudioMixer.obj : error LNK2001: unresolved external symbol "public: __thiscall CTransInPlaceInputPin::CTransInPlaceInputPin(char *,class CTransInPlaceFilter *,long *,unsigned short const *)" (??0CTransInPlaceInputPin@@QAE@PADPAVCTransInPlaceFi
lter@@PAJPBG@Z)
../Builds/Debug/HqAudMx.ax : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.
我安装的是DirectX9.0,并且按要求在VC中作了配置:
.在Tools->Options->Directories下include files加入了c:\dxsdk\include和C:\DXSDK\SAMPLES\C++\DIRECTSHOW\BASECLASSES,并且位置在最上
.在Tools->Options->Directories下library files加入了c:\dxsdk\lib,并且位置在最上。
.在project->Setting->link object/libaries modules中:strmbasd.lib msvcrtd.lib quartz.lib vfw32.lib winmm.lib kernel32.lib advapi32.lib version.lib largeint.lib user32.lib gdi32.lib comctl32.lib ole32.lib olepro32.lib oleaut32.lib uuid.lib
这样配置应该没错吧?而且我在编译DirectShow自带的例子程序都不会错啊。
实在是不知道错在哪里?还望这里的大虾指点迷津。thanx!