这个错误是什么引起的?
xilink6: executing 'H:\PROGRA~1\MICROS~1\VC98\bin\link.exe'
LINK : fatal error LNK1104: cannot open file "D:\Documents.obj"
Error executing xilink6.exe.
stereo.exe - 1 error(s), 0 warning(s)
这什么引起的?
还有一个:(是不是动态链接库没加?但是我已经加了.lib,是不是设置不对)
Linking...
xilink6: executing 'H:\PROGRA~1\MICROS~1\VC98\bin\link.exe'
dshowutil.obj : error LNK2005: "long __cdecl FindRenderer(struct IGraphBuilder *,struct _GUID const *,struct IBaseFilter * *)" (?FindRenderer@@YAJPAUIGraphBuilder@@PBU_GUID@@PAPAUIBaseFilter@@@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "long __cdecl FindAudioRenderer(struct IGraphBuilder *,struct IBaseFilter * *)" (?FindAudioRenderer@@YAJPAUIGraphBuilder@@PAPAUIBaseFilter@@@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "long __cdecl FindVideoRenderer(struct IGraphBuilder *,struct IBaseFilter * *)" (?FindVideoRenderer@@YAJPAUIGraphBuilder@@PAPAUIBaseFilter@@@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "long __cdecl CountFilterPins(struct IBaseFilter *,unsigned long *,unsigned long *)" (?CountFilterPins@@YAJPAUIBaseFilter@@PAK1@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "long __cdecl CountTotalFilterPins(struct IBaseFilter *,unsigned long *)" (?CountTotalFilterPins@@YAJPAUIBaseFilter@@PAK@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "long __cdecl GetPin(struct IBaseFilter *,enum _PinDirection,int,struct IPin * *)" (?GetPin@@YAJPAUIBaseFilter@@W4_PinDirection@@HPAPAUIPin@@@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "struct IPin * __cdecl GetInPin(struct IBaseFilter *,int)" (?GetInPin@@YAPAUIPin@@PAUIBaseFilter@@H@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "struct IPin * __cdecl GetOutPin(struct IBaseFilter *,int)" (?GetOutPin@@YAPAUIPin@@PAUIBaseFilter@@H@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "long __cdecl FindOtherSplitterPin(struct IPin *,struct _GUID,int,struct IPin * *)" (?FindOtherSplitterPin@@YAJPAUIPin@@U_GUID@@HPAPAU1@@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "long __cdecl SeekNextFrame(struct IMediaSeeking *,double,long)" (?SeekNextFrame@@YAJPAUIMediaSeeking@@NJ@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "long __cdecl AddGraphToRot(struct IUnknown *,unsigned long *)" (?AddGraphToRot@@YAJPAUIUnknown@@PAK@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "void __cdecl RemoveGraphFromRot(unsigned long)" (?RemoveGraphFromRot@@YAXK@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "void __cdecl ShowFilenameByCLSID(struct _GUID const &,char *)" (?ShowFilenameByCLSID@@YAXABU_GUID@@PAD@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "long __cdecl GetFileDurationString(struct IMediaSeeking *,char *)" (?GetFileDurationString@@YAJPAUIMediaSeeking@@PAD@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "int __cdecl SupportsPropertyPage(struct IBaseFilter *)" (?SupportsPropertyPage@@YAHPAUIBaseFilter@@@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "long __cdecl ShowFilterPropertyPage(struct IBaseFilter *,struct HWND__ *)" (?ShowFilterPropertyPage@@YAJPAUIBaseFilter@@PAUHWND__@@@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "int __cdecl CanFrameStep(struct IGraphBuilder *)" (?CanFrameStep@@YAHPAUIGraphBuilder@@@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "void __cdecl UtilDeleteMediaType(struct _AMMediaType *)" (?UtilDeleteMediaType@@YAXPAU_AMMediaType@@@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "void __cdecl UtilFreeMediaType(struct _AMMediaType &)" (?UtilFreeMediaType@@YAXAAU_AMMediaType@@@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "long __cdecl SaveGraphFile(struct IGraphBuilder *,unsigned short *)" (?SaveGraphFile@@YAJPAUIGraphBuilder@@PAG@Z) already defined in stereoDlg.obj
dshowutil.obj : error LNK2005: "long __cdecl LoadGraphFile(struct IGraphBuilder *,unsigned short const *)" (?LoadGraphFile@@YAJPAUIGraphBuilder@@PBG@Z) already defined in stereoDlg.obj
stereoDlg.obj : error LNK2001: unresolved external symbol _IID_ISampleGrabberCB
stereoDlg.obj : error LNK2001: unresolved external symbol _CLSID_SampleGrabber
stereoDlg.obj : error LNK2001: unresolved external symbol _CLSID_CaptureGraphBuilder2
Debug/stereo.exe : fatal error LNK1120: 3 unresolved externals
Error executing xilink6.exe.
stereo.exe - 25 error(s), 0 warning(s)