以前编译通过,现在再编出错 error LNK2005 错误,大家帮忙看看
一个工程,以前编译通过,时隔几个月再编,出现很多error LNK2005错误, 向大家请教
mpl.obj : error LNK2005: _CLSID_BQ_SRCFilter already defined in DxGraph.obj
mpl.obj : error LNK2005: _IID_IDShowPlugin already defined in DxGraph.obj
mpl.obj : error LNK2005: _IID_IAMNetShowPreroll already defined in DxGraph.obj
mpl.obj : error LNK2005: _IID_IAMMediaContent2 already defined in DxGraph.obj
mpl.obj : error LNK2005: _IID_IAMMediaContent already defined in DxGraph.obj
mpl.obj : error LNK2005: _IID_IAMExtendedErrorInfo already defined in DxGraph.obj
mpl.obj : error LNK2005: _IID_IAMNetShowExProps already defined in DxGraph.obj
mpl.obj : error LNK2005: _IID_IAMExtendedSeeking already defined in DxGraph.obj
mpl.obj : error LNK2005: _IID_IAMNetworkStatus already defined in DxGraph.obj
mpl.obj : error LNK2005: _IID_IAMChannelInfo already defined in DxGraph.obj
mpl.obj : error LNK2005: _IID_IAMNetShowConfig already defined in DxGraph.obj
mpl.obj : error LNK2005: _LIBID_QuartzNetTypeLib already defined in DxGraph.obj
StdAfx.obj : error LNK2005: _IID_IDShowPlugin already defined in DxGraph.obj
StdAfx.obj : error LNK2005: _IID_IAMNetShowPreroll already defined in DxGraph.obj
StdAfx.obj : error LNK2005: _IID_IAMMediaContent2 already defined in DxGraph.obj
StdAfx.obj : error LNK2005: _IID_IAMMediaContent already defined in DxGraph.obj
StdAfx.obj : error LNK2005: _IID_IAMExtendedErrorInfo already defined in DxGraph.obj
StdAfx.obj : error LNK2005: _IID_IAMNetShowExProps already defined in DxGraph.obj
StdAfx.obj : error LNK2005: _IID_IAMExtendedSeeking already defined in DxGraph.obj
StdAfx.obj : error LNK2005: _IID_IAMNetworkStatus already defined in DxGraph.obj
StdAfx.obj : error LNK2005: _IID_IAMChannelInfo already defined in DxGraph.obj
StdAfx.obj : error LNK2005: _IID_IAMNetShowConfig already defined in DxGraph.obj
StdAfx.obj : error LNK2005: _LIBID_QuartzNetTypeLib already defined in DxGraph.obj
AsyncFilter.obj : error LNK2005: _CLSID_BQ_SRCFilter already defined in DxGraph.obj
AsyncFilter.obj : error LNK2005: _IID_IDShowPlugin already defined in DxGraph.obj
AsyncFilter.obj : error LNK2005: _IID_IAMNetShowPreroll already defined in DxGraph.obj
AsyncFilter.obj : error LNK2005: _IID_IAMMediaContent2 already defined in DxGraph.obj
[解决办法]
文件包含问题,重复定义
[解决办法]
文件包含问题,重复定义。注释掉包含文件或者包含文件中的定义试试?
[解决办法]
把obj文件全删掉,rebuild all看看
[解决办法]
既然弄好,就应该说明原因,“结贴去...”
[解决办法]
是的,一群人巴着你给点分啊,呵呵……