当前位置:编程学习 > C#/ASP.NET >>

vs2005.net 中用directshow遇到的一些问题,求高人指教。“法解析的外部符号”

下面这些到底该怎么办啊?有很多版本的strmbasd.lib,和网上有些朋友说的,在属性里面加入这个文件,我也加了,各个版本我也试了很多都没有用。
请高人指教。
strmbasd.lib(wxutil.obj) : error LNK2019: 无法解析的外部符号 ___CxxFrameHandler3,该符号在函数 __ehhandler$??0CAMThread@@QAE@XZ 中被引用
strmbasd.lib(wxlist.obj) : error LNK2001: 无法解析的外部符号 ___CxxFrameHandler3
wavdest.obj : error LNK2001: 无法解析的外部符号 ___CxxFrameHandler3
strmbasd.lib(transfrm.obj) : error LNK2001: 无法解析的外部符号 ___CxxFrameHandler3
strmbasd.lib(wxdebug.obj) : error LNK2001: 无法解析的外部符号 ___CxxFrameHandler3
strmbasd.lib(amfilter.obj) : error LNK2001: 无法解析的外部符号 ___CxxFrameHandler3
wavdest.obj : error LNK2019: 无法解析的外部符号 __alloca_probe_16,该符号在函数 "public: virtual long __thiscall CWavDestFilter::StopStreaming(void)" (?StopStreaming@CWavDestFilter@@UAEJXZ) 中被引用
strmbasd.lib(amvideo.obj) : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp
strmbasd.lib(wxlist.obj) : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp
strmbasd.lib(mtype.obj) : error LNK2019: 无法解析的外部符号 __RTC_CheckEsp,该符号在函数 "public: __thiscall FOURCCMap::FOURCCMap(unsigned long)" (??0FOURCCMap@@QAE@K@Z) 中被引用
strmbasd.lib(wxutil.obj) : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp
strmbasd.lib(dllsetup.obj) : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp
strmbasd.lib(dllentry.obj) : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp
strmbasd.lib(transfrm.obj) : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp
strmbasd.lib(wxdebug.obj) : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp
strmbasd.lib(amfilter.obj) : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp
strmbasd.lib(combase.obj) : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp
strmbasd.lib(amvideo.obj) : error LNK2001: 无法解析的外部符号 __RTC_Shutdown
strmbasd.lib(wxlist.obj) : error LNK2019: 无法解析的外部符号 __RTC_Shutdown,该符号在函数 "protected: struct __POSITION * __thiscall CBaseList::AddTailI(void *)" (?AddTailI@CBaseList@@IAEPAU__POSITION@@PAX@Z) 中被引用
strmbasd.lib(mtype.obj) : error LNK2001: 无法解析的外部符号 __RTC_Shutdown
strmbasd.lib(wxutil.obj) : error LNK2001: 无法解析的外部符号 __RTC_Shutdown
strmbasd.lib(dllsetup.obj) : error LNK2001: 无法解析的外部符号 __RTC_Shutdown
strmbasd.lib(dllentry.obj) : error LNK2001: 无法解析的外部符号 __RTC_Shutdown
strmbasd.lib(transfrm.obj) : error LNK2001: 无法解析的外部符号 __RTC_Shutdown
strmbasd.lib(wxdebug.obj) : error LNK2001: 无法解析的外部符号 __RTC_Shutdown
strmbasd.lib(amfilter.obj) : error LNK2001: 无法解析的外部符号 __RTC_Shutdown
strmbasd.lib(combase.obj) : error LNK2001: 无法解析的外部符号 __RTC_Shutdown
strmbasd.lib(amvideo.obj) : error LNK2019: 无法解析的外部符号 __RTC_InitBase,该符号在函数 "public: __thiscall FOURCCMap::FOURCCMap(unsigned long)" (??0FOURCCMap@@QAE@K@Z) 中被引用
strmbasd.lib(wxlist.obj) : error LNK2001: 无法解析的外部符号 __RTC_InitBase
strmbasd.lib(mtype.obj) : error LNK2001: 无法解析的外部符号 __RTC_InitBase
strmbasd.lib(wxutil.obj) : error LNK2001: 无法解析的外部符号 __RTC_InitBase
strmbasd.lib(dllsetup.obj) : error LNK2001: 无法解析的外部符号 __RTC_InitBase
strmbasd.lib(dllentry.obj) : error LNK2001: 无法解析的外部符号 __RTC_InitBase
strmbasd.lib(transfrm.obj) : error LNK2001: 无法解析的外部符号 __RTC_InitBase
strmbasd.lib(wxdebug.obj) : error LNK2001: 无法解析的外部符号 __RTC_InitBase
strmbasd.lib(amfilter.obj) : error LNK2001: 无法解析的外部符号 __RTC_InitBase
strmbasd.lib(combase.obj) : error LNK2001: 无法解析的外部符号 __RTC_InitBase
strmbasd.lib(wxlist.obj) : error LNK2001: 无法解析的外部符号 @_RTC_CheckStackVars@8
strmbasd.lib(wxutil.obj) : error LNK2001: 无法解析的外部符号 @_RTC_CheckStackVars@8
strmbasd.lib(dllsetup.obj) : error LNK2001: 无法解析的外部符号 @_RTC_CheckStackVars@8
strmbasd.lib(dllentry.obj) : error LNK2001: 无法解析的外部符号 @_RTC_CheckStackVars@8
strmbasd.lib(amvideo.obj) : error LNK2001: 无法解析的外部符号 @_RTC_CheckStackVars@8
strmbasd.lib(transfrm.obj) : error LNK2019: 无法解析的外部符号 @_RTC_CheckStackVars@8,该符号在函数 "public: virtual class CBasePin * __thiscall CTransformFilter::GetPin(int)" (?GetPin@CTransformFilter@@UAEPAVCBasePin@@H@Z) 中被引用
strmbasd.lib(wxdebug.obj) : error LNK2001: 无法解析的外部符号 @_RTC_CheckStackVars@8
strmbasd.lib(amfilter.obj) : error LNK2001: 无法解析的外部符号 @_RTC_CheckStackVars@8
strmbasd.lib(combase.obj) : error LNK2001: 无法解析的外部符号 @_RTC_CheckStackVars@8
strmbasd.lib(wxutil.obj) : error LNK2019: 无法解析的外部符号 __RTC_UninitUse,该符号在函数 "public: int __thiscall CAMMsgEvent::WaitMsg(unsigned long)" (?WaitMsg@CAMMsgEvent@@QAEHK@Z) 中被引用
Debug\wavdest.ax : fatal error LNK1120: 7 个无法解析的外部命令 --------------------编程问答-------------------- directshow的源码没有正常编译,该包含到系统路径里去的要加。 --------------------编程问答-------------------- 不知道要正常编译哪些源码?有没有相关资料?谢谢 --------------------编程问答-------------------- 能不能说详细点,我也遇到了这样的问题 --------------------编程问答-------------------- 1>正在链接...
1>public.lib(IBSSException.obj) : error LNK2019: 无法解析的外部符号 ___CxxFrameHandler3,该符号在函数 "public: __thiscall IBSSException::IBSSException(char const *)" (??0IBSSException@@QAE@PBD@Z) 中被引用
1>inputxml.obj : error LNK2001: 无法解析的外部符号 ___CxxFrameHandler3
1>intfcommon.lib(xmlparse.obj) : error LNK2001: 无法解析的外部符号 ___CxxFrameHandler3
1>intfcommon.lib(imexception1.obj) : error LNK2001: 无法解析的外部符号 ___CxxFrameHandler3
1>public.lib(DOMTreeErrorReporter.obj) : error LNK2001: 无法解析的外部符号 ___CxxFrameHandler3
1>public.lib(IBSSException.obj) : error LNK2019: 无法解析的外部符号 __RTC_CheckEsp,该符号在函数 __ehhandler$??0IBSSException@@QAE@PBD@Z 中被引用
1>inputxml.obj : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp
1>intfcommon.lib(xmlparse.obj) : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp
1>intfcommon.lib(imexception1.obj) : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp
1>public.lib(DOMTreeErrorReporter.obj) : error LNK2001: 无法解析的外部符号 __RTC_CheckEsp
1>public.lib(IBSSException.obj) : error LNK2001: 无法解析的外部符号 __RTC_Shutdown
1>inputxml.obj : error LNK2001: 无法解析的外部符号 __RTC_Shutdown
1>intfcommon.lib(xmlparse.obj) : error LNK2019: 无法解析的外部符号 __RTC_Shutdown,该符号在函数 "public: __thiscall CXMLParse::CXMLParse(void)" (??0CXMLParse@@QAE@XZ) 中被引用
1>intfcommon.lib(imexception1.obj) : error LNK2001: 无法解析的外部符号 __RTC_Shutdown
1>public.lib(DOMTreeErrorReporter.obj) : error LNK2001: 无法解析的外部符号 __RTC_Shutdown
1>public.lib(IBSSException.obj) : error LNK2001: 无法解析的外部符号 __RTC_InitBase
1>inputxml.obj : error LNK2001: 无法解析的外部符号 __RTC_InitBase
1>intfcommon.lib(xmlparse.obj) : error LNK2019: 无法解析的外部符号 __RTC_InitBase,该符号在函数 "public: __thiscall CXMLParse::CXMLParse(void)" (??0CXMLParse@@QAE@XZ) 中被引用
1>intfcommon.lib(imexception1.obj) : error LNK2001: 无法解析的外部符号 __RTC_InitBase
1>public.lib(DOMTreeErrorReporter.obj) : error LNK2001: 无法解析的外部符号 __RTC_InitBase
1>public.lib(IBSSException.obj) : error LNK2001: 无法解析的外部符号 "const type_info::`vftable'" (??_7type_info@@6B@)
1>inputxml.obj : error LNK2001: 无法解析的外部符号 "const type_info::`vftable'" (??_7type_info@@6B@)
1>intfcommon.lib(xmlparse.obj) : error LNK2001: 无法解析的外部符号 "const type_info::`vftable'" (??_7type_info@@6B@)
1>intfcommon.lib(imexception1.obj) : error LNK2001: 无法解析的外部符号 "const type_info::`vftable'" (??_7type_info@@6B@)
1>public.lib(DOMTreeErrorReporter.obj) : error LNK2019: 无法解析的外部符号 "const type_info::`vftable'" (??_7type_info@@6B@),该符号在函数 "public: virtual void __thiscall DOMTreeErrorReporter::error(class xercesc_2_2::SAXParseException const &)" (?error@DOMTreeErrorReporter@@UAEXABVSAXParseException@xercesc_2_2@@@Z) 中被引用
1>inputxml.obj : error LNK2019: 无法解析的外部符号 "void __cdecl operator delete(void *)" (??3@YAXPAX@Z),该符号在函数 "public: virtual void * __thiscall CInputXml::`scalar deleting destructor'(unsigned int)" (??_GCInputXml@@UAEPAXI@Z) 中被引用
1>intfcommon.lib(xmlparse.obj) : error LNK2001: 无法解析的外部符号 "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
1>intfcommon.lib(imexception1.obj) : error LNK2001: 无法解析的外部符号 "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
1>inputxml.obj : error LNK2019: 无法解析的外部符号 __imp__atoi,该符号在函数 "private: class xercesc_2_2::DOMNode * __thiscall CInputXml::getResultNode(int)" (?getResultNode@CInputXml@@AAEPAVDOMNode@xercesc_2_2@@H@Z) 中被引用
1>inputxml.obj : error LNK2019: 无法解析的外部符号 _strcmp,该符号在函数 "private: class xercesc_2_2::DOMNode * __thiscall CInputXml::getColChildNode(char *)" (?getColChildNode@CInputXml@@AAEPAVDOMNode@xercesc_2_2@@PAD@Z) 中被引用
1>intfcommon.lib(xmlparse.obj) : error LNK2001: 无法解析的外部符号 _strcmp
1>inputxml.obj : error LNK2019: 无法解析的外部符号 _memset,该符号在函数 "public: char * __thiscall CInputXml::getValue(int,int,int)" (?getValue@CInputXml@@QAEPADHHH@Z) 中被引用
1>intfcommon.lib(xmlparse.obj) : error LNK2001: 无法解析的外部符号 _memset
1>intfcommon.lib(imexception1.obj) : error LNK2001: 无法解析的外部符号 _memset
1>inputxml.obj : error LNK2019: 无法解析的外部符号 "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z),该符号在函数 "public: char * __thiscall CInputXml::getValue(int,int,int)" (?getValue@CInputXml@@QAEPADHHH@Z) 中被引用
1>intfcommon.lib(xmlparse.obj) : error LNK2001: 无法解析的外部符号 "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z)
1>inputxml.obj : error LNK2019: 无法解析的外部符号 @_RTC_CheckStackVars@8,该符号在函数 __catch$?getValue@CInputXml@@QAEPADHHH@Z$0 中被引用
1>intfcommon.lib(xmlparse.obj) : error LNK2001: 无法解析的外部符号 @_RTC_CheckStackVars@8
1>public.lib(DOMTreeErrorReporter.obj) : error LNK2001: 无法解析的外部符号 @_RTC_CheckStackVars@8
1>public.lib(IBSSException.obj) : error LNK2001: 无法解析的外部符号 @_RTC_CheckStackVars@8
1>inputxml.obj : error LNK2019: 无法解析的外部符号 __chkstk,该符号在函数 "public: char * __thiscall CInputXml::getValue(int,int,int)" (?getValue@CInputXml@@QAEPADHHH@Z) 中被引用
1>intfcommon.lib(xmlparse.obj) : error LNK2001: 无法解析的外部符号 __chkstk
1>LINK : error LNK2001: 无法解析的外部符号 _mainCRTStartup
1>intfcommon.lib(xmlparse.obj) : error LNK2019: 无法解析的外部符号 __imp__setlocale,该符号在函数 "public: __thiscall CXMLParse::CXMLParse(void)" (??0CXMLParse@@QAE@XZ) 中被引用
1>intfcommon.lib(xmlparse.obj) : error LNK2019: 无法解析的外部符号 "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z),该符号在函数 "public: void __thiscall CXMLParse::open(int)" (?open@CXMLParse@@QAEXH@Z) 中被引用
1>intfcommon.lib(imexception1.obj) : error LNK2001: 无法解析的外部符号 "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
1>msvcprtd.lib(newaop_s.obj) : error LNK2001: 无法解析的外部符号 "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
1>intfcommon.lib(xmlparse.obj) : error LNK2019: 无法解析的外部符号 __imp__atol,该符号在函数 "public: void __thiscall CXMLParse::subTree(class xercesc_2_2::DOMNode *)" (?subTree@CXMLParse@@QAEXPAVDOMNode@xercesc_2_2@@@Z) 中被引用
1>intfcommon.lib(xmlparse.obj) : error LNK2019: 无法解析的外部符号 __CxxThrowException@8,该符号在函数 "protected: void __thiscall CXMLParse::throwExecption(int,char const *)" (?throwExecption@CXMLParse@@IAEXHPBD@Z) 中被引用
1>intfcommon.lib(imexception1.obj) : error LNK2001: 无法解析的外部符号 __CxxThrowException@8
1>public.lib(DOMTreeErrorReporter.obj) : error LNK2001: 无法解析的外部符号 __CxxThrowException@8
1>public.lib(IBSSException.obj) : error LNK2001: 无法解析的外部符号 __CxxThrowException@8
1>intfcommon.lib(xmlparse.obj) : error LNK2019: 无法解析的外部符号 __imp___invalid_parameter,该符号在函数 "public: class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >::operator+=(int)" (??Y?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@H@Z) 中被引用
1>intfcommon.lib(xmlparse.obj) : error LNK2019: 无法解析的外部符号 __imp___CrtDbgReportW,该符号在函数 "public: class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >::operator+=(int)" (??Y?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@H@Z) 中被引用
1>intfcommon.lib(imexception1.obj) : error LNK2019: 无法解析的外部符号 __imp__strncpy,该符号在函数 "public: __thiscall CIMException::CIMException(int,char const *)" (??0CIMException@@QAE@HPBD@Z) 中被引用
1>public.lib(DOMTreeErrorReporter.obj) : error LNK2019: 无法解析的外部符号 __imp__sprintf,该符号在函数 "public: virtual void __thiscall DOMTreeErrorReporter::error(class xercesc_2_2::SAXParseException const &)" (?error@DOMTreeErrorReporter@@UAEXABVSAXParseException@xercesc_2_2@@@Z) 中被引用
1>public.lib(IBSSException.obj) : error LNK2019: 无法解析的外部符号 _strcpy,该符号在函数 "public: __thiscall IBSSException::IBSSException(char const *)" (??0IBSSException@@QAE@PBD@Z) 中被引用
1>public.lib(IBSSException.obj) : error LNK2019: 无法解析的外部符号 _strlen,该符号在函数 "public: __thiscall IBSSException::IBSSException(char const *)" (??0IBSSException@@QAE@PBD@Z) 中被引用 --------------------编程问答-------------------- 缺少文件 --------------------编程问答-------------------- 就是不知缺少哪个文件啊,有没有人知道? --------------------编程问答-------------------- 工程属性 -> 配置属性 -> 常规 -> ATL的使用 设置为 静态链接到ATL

我和你一样的问题这样就解决了 --------------------编程问答-------------------- 工程属性 -> 配置属性 -> 常规 -> ATL的使用 设置为 静态链接到ATL

我和你一样的问题这样就解决了 --------------------编程问答-------------------- 穷啊,没积分了,再来一分就好啊! --------------------编程问答--------------------
引用 8 楼 hanbso 的回复:
工程属性 -> 配置属性 -> 常规 -> ATL的使用 设置为 静态链接到ATL

我和你一样的问题这样就解决了

我的怎么没解决啊 --------------------编程问答--------------------
引用 8 楼 hanbso 的回复:
工程属性 -> 配置属性 -> 常规 -> ATL的使用 设置为 静态链接到ATL

我和你一样的问题这样就解决了


不好使啊 --------------------编程问答-------------------- LIB 不正确  __CxxFrameHandler3 是异常句柄  可能是LIB版本不对比如VS2003编译的LIB要用在2003的项目中  也可能是LIB路径不对什么的 反正就是LIB不对导致的 --------------------编程问答-------------------- 你再试下下面的两种方法哦:
1. 包含头文件 #include <atltypes.h>
2. 打开Project -> Properties -> Configuration Properties -> General,在右边的Project  Defaults中,Use of MFC 选为 Use MFC in a Static Library --------------------编程问答-------------------- 在项目属性->链接器->输入->附加依赖项 加入你用到的.lib(或.obj)等静态库。
因为你在程序中用了某些库,却没写入来源。程序调用的时候找不到,所以出问题了。如果加入后又出现error LNK2005,则是重复定义了某些代码,http://blog.csdn.net/IeSneaker/archive/2009/03/03/3951903.aspx。 --------------------编程问答-------------------- 将工程属性UNICODE设置成未使用即可!! --------------------编程问答-------------------- VC2008 引用了以前版本的代码 --------------------编程问答-------------------- 根据提示的内容,应该是缺少库文件(lib)。 --------------------编程问答-------------------- 帮顶一下吧 --------------------编程问答-------------------- DEBUG版本的需要msvcrt库,release版本的不需要。
这样设置就好了:
打开工作属性--》链接器-->输入--》忽略特定库--》删除MSVCRT。 --------------------编程问答-------------------- 或者LIBC之类 的库,这类问题都是链接的时候输入的库的问题,一般需要注意地方就是上边那个地方。 --------------------编程问答-------------------- 我也遇到了一样的问题,有成功解决的没有 --------------------编程问答-------------------- 有吗有吗有吗有吗有吗? --------------------编程问答-------------------- 请问怎么解决啊 --------------------编程问答-------------------- 1>正在链接...
1>softset.obj : error LNK2019: 无法解析的外部符号 _linphone_core_get_audio_codecs,该符号在函数 "public: void __thiscall SoftSet::initSet(void)" (?initSet@SoftSet@@QAEXXZ) 中被引用
1>softset.obj : error LNK2001: 无法解析的外部符号 _the_core
1>D:\zss\test\BlueTelSurface\BlueTelCc\Debug\BlueTelCc.exe : fatal error LNK1120: 2 个无法解析的外部命令
这是我的问题   请问怎么解决 --------------------编程问答-------------------- 经常遇到。有的时候,不是缺少了文件,而是在Class文件中,出现了没有使用类头标识的函数。新手经常干这种事情,我也刚摆脱这个阶段。

举个例子:

//student.cpp

Student:: student()
{

}

Student:: beatJapan()
{

}

beatUSA()
{

}


这个beatUSA() 因为没有声明,就会出错了。beatJapan还是可以用的。

如果是用类引导添加的,可能不会出错。我的破VS不能用类引导新建函数了,就自己写,经常忘了类的标识,会出现这种情况。

看看你的,是不是这样的? --------------------编程问答-------------------- 应该是找不到需要引入的lib文件吧,你把directshow sdk的库文件目录什么指定下
补充:.NET技术 ,  VC.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,