------ 已启动生成: 项目: PushSource, 配置: Debug Win32 ------
正在链接...
正在创建库 Debug/PushSource.lib 和对象 Debug/PushSource.exp
PushSourceBitmap.obj : error LNK2019: 无法解析的外部符号 "void __cdecl DbgLogInfo(unsigned long,unsigned long,wchar_t const *,...)" (?DbgLogInfo@@YAXKKPB_WZZ),该符号在函数 "public: __thiscall CPushPinBitmap::CPushPinBitmap(long *,class CSource *)" (??0CPushPinBitmap@@QAE@PAJPAVCSource@@@Z) 中被引用
PushSourceBitmapSet.obj : error LNK2001: 无法解析的外部符号 "void __cdecl DbgLogInfo(unsigned long,unsigned long,wchar_t const *,...)" (?DbgLogInfo@@YAXKKPB_WZZ)
PushSourceDesktop.obj : error LNK2001: 无法解析的外部符号 "void __cdecl DbgLogInfo(unsigned long,unsigned long,wchar_t const *,...)" (?DbgLogInfo@@YAXKKPB_WZZ)
PushSourceBitmap.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall CSourceStream::CSourceStream(wchar_t const *,long *,class CSource *,wchar_t const *)" (??0CSourceStream@@QAE@PB_WPAJPAVCSource@@0@Z),该符号在函数 "public: __thiscall CPushPinBitmap::CPushPinBitmap(long *,class CSource *)" (??0CPushPinBitmap@@QAE@PAJPAVCSource@@@Z) 中被引用
PushSourceBitmapSet.obj : error LNK2001: 无法解析的外部符号 "public: __thiscall CSourceStream::CSourceStream(wchar_t const *,long *,class CSource *,wchar_t const *)" (??0CSourceStream@@QAE@PB_WPAJPAVCSource@@0@Z)
PushSourceDesktop.obj : error LNK2001: 无法解析的外部符号 "public: __thiscall CSourceStream::CSourceStream(wchar_t const *,long *,class CSource *,wchar_t const *)" (??0CSourceStream@@QAE@PB_WPAJPAVCSource@@0@Z)
PushSourceBitmap.obj : error LNK2019: 无法解析的外部符号 "void __stdcall DbgAssert(wchar_t const *,wchar_t const *,int)" (?DbgAssert@@YGXPB_W0H@Z),该符号在函数 "public: virtual long __thiscall CPushPinBitmap::FillBuffer(struct IMediaSample *)" (?FillBuffer@CPushPinBitmap@@UAEJPAUIMediaSample@@@Z) 中被引用
PushSourceBitmapSet.obj : error LNK2001: 无法解析的外部符号 "void __stdcall DbgAssert(wchar_t const *,wchar_t const *,int)" (?DbgAssert@@YGXPB_W0H@Z)
PushSourceDesktop.obj : error LNK2001: 无法解析的外部符号 "void __stdcall DbgAssert(wchar_t const *,wchar_t const *,int)" (?DbgAssert@@YGXPB_W0H@Z)
PushSourceBitmap.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall CSource::CSource(wchar_t const *,struct IUnknown *,struct _GUID)" (??0CSource@@QAE@PB_WPAUIUnknown@@U_GUID@@@Z),该符号在函数 "private: __thiscall CPushSourceBitmap::CPushSourceBitmap(struct IUnknown *,long *)" (??0CPushSourceBitmap@@AAE@PAUIUnknown@@PAJ@Z) 中被引用
PushSourceBitmapSet.obj : error LNK2001: 无法解析的外部符号 "public: __thiscall CSource::CSource(wchar_t const *,struct IUnknown *,struct _GUID)" (??0CSource@@QAE@PB_WPAUIUnknown@@U_GUID@@@Z)
PushSourceDesktop.obj : error LNK2001: 无法解析的外部符号 "public: __thiscall CSource::CSource(wchar_t const *,struct IUnknown *,struct _GUID)" (??0CSource@@QAE@PB_WPAUIUnknown@@U_GUID@@@Z)
Debug/PushSource.dll : fatal error LNK1120: 4 个无法解析的外部命令
生成日志保存在“file://c:/Program Files/Microsoft SDKs/Windows/v7.0/Samples/multimedia/directshow/filters/pushsource/Debug/BuildLog.htm”
PushSource - 13 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========
解决方法:属性页-常规-字符集 把"使用Unicode字符集"改成"使用多字节字符集".