我是dshow的初学者,用VC6.0 directshow SDK(summer 2004)版本的,baseclasses也编译了,头文件和库文件目录也加进去了,但是编译总是出现同种类型的错误,比如编译Directshow编程指南的simpleplayer会出现以下错误:
CDXGraph.obj : error LNK2001: unresolved external symbol "int __cdecl wsprintfWInternal(unsigned short *,unsigned short const *,...)" (?wsprintfWInternal@@YAHPAGPBGZZ)
Debug/SimplePlayer.exe : fatal error LNK1120: 1 unresolved externals
编译FilterTitleOverlay会出现一大堆错误,错误的类型也是LNK2001,比如会出现下面错误:
strmbasd.lib(amfilter.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
strmbasd.lib(transfrm.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
strmbasd.lib(transip.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
PS:我用VS2008搭建的环境可以编译通过simpleplayer
CDXGraph.obj : error LNK2001: unresolved external symbol "int __cdecl wsprintfWInternal(unsigned short *,unsigned short const *,...)" (?wsprintfWInternal@@YAHPAGPBGZZ)
Debug/SimplePlayer.exe : fatal error LNK1120: 1 unresolved externals
编译FilterTitleOverlay会出现一大堆错误,错误的类型也是LNK2001,比如会出现下面错误:
strmbasd.lib(amfilter.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
strmbasd.lib(transfrm.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
strmbasd.lib(transip.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
PS:我用VS2008搭建的环境可以编译通过simpleplayer