vs2010 开发遇到的一个问题,请教高手
用VS2010开发一个程序。加入头文件和LIB库,编译后出现了很多错误,不知道怎么回事?
ua client.obj : error LNK2028: 无法解析的标记(0A0003BA) "void * __cdecl operator new[](unsigned int)" (??_U@$$FYAPAXI@Z),该标记在函数 "public: void __thiscall UaObjectArray<class UaClientSdk::DeleteRawModifiedDetail>::create(unsigned long)" (?create@?$UaObjectArray@VDeleteRawModifiedDetail@UaClientSdk@@@@$$FQAEXK@Z) 中被引用
1>ua client.obj : error LNK2028: 无法解析的标记(0A000410) "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@$$FYAXPB_W0I@Z),该标记在函数 "public: void __thiscall std::_Iterator_base12::_Orphan_me(void)" (?_Orphan_me@_Iterator_base12@std@@$$FQAEXXZ) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A0003C3) "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@$$FYAXPB_W0I@Z),该标记在函数 "public: void __thiscall std::_Iterator_base12::_Orphan_me(void)" (?_Orphan_me@_Iterator_base12@std@@$$FQAEXXZ) 中被引用
1>ua client.obj : error LNK2028: 无法解析的标记(0A000412) "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@$$FQAE@H@Z),该标记在函数 "public: void __thiscall std::_Iterator_base12::_Adopt(struct std::_Container_base12 const *)" (?_Adopt@_Iterator_base12@std@@$$FQAEXPBU_Container_base12@2@@Z) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A000355) "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@$$FQAE@H@Z),该标记在函数 "public: __thiscall std::_Iterator_base12::~_Iterator_base12(void)" (??1_Iterator_base12@std@@$$FQAE@XZ) 中被引用
1>ua client.obj : error LNK2028: 无法解析的标记(0A00049F) "void __cdecl __ExceptionPtrCopy(void *,void const *)" (?__ExceptionPtrCopy@@$$FYAXPAXPBX@Z),该标记在函数 "public: __thiscall std::_Exception_ptr::_Exception_ptr(class std::_Exception_ptr const &)" (??0_Exception_ptr@std@@$$FQAE@ABV01@@Z) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A00032B) "void __cdecl __ExceptionPtrCopy(void *,void const *)" (?__ExceptionPtrCopy@@$$FYAXPAXPBX@Z),该标记在函数 "public: __thiscall std::_Exception_ptr::_Exception_ptr(class std::_Exception_ptr const &)" (??0_Exception_ptr@std@@$$FQAE@ABV01@@Z) 中被引用
1>ua client.obj : error LNK2028: 无法解析的标记(0A0004A6) "extern "C" void __cdecl _wassert(wchar_t const *,wchar_t const *,unsigned int)" (?_wassert@@$$J0YAXPB_W0I@Z),该标记在函数 "public: unsigned char & __thiscall UaStackTypeArray<unsigned char,&void __cdecl ClearNothing(void *)>::operator[](unsigned long)const " (??A?$UaStackTypeArray@E$1?ClearNothing@@$$FYAXPAX@Z@@$$FQBEAAEK@Z) 中被引用
1>ua client.obj : error LNK2028: 无法解析的标记(0A00050E) "void __cdecl operator delete[](void *)" (??_V@$$FYAXPAX@Z),该标记在函数 "public: void * __thiscall UaClientSdk::DeleteRawModifiedDetail::`vector deleting destructor'(unsigned int)" (??_EDeleteRawModifiedDetail@UaClientSdk@@$$FQAEPAXI@Z) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A0002DF) "void __cdecl operator delete[](void *)" (??_V@$$FYAXPAX@Z),该标记在函数 "public: virtual void * __thiscall std::runtime_error::`vector deleting destructor'(unsigned int)" (??_Eruntime_error@std@@$$FUAEPAXI@Z) 中被引用
1>MSVCMRTD.lib(mstartup.obj) : error LNK2028: 无法解析的标记(0A000098) "extern "C" void __cdecl __security_init_cookie(void)" (?__security_init_cookie@@$$J0YAXXZ),该标记在函数 "private: void __thiscall <CrtImplementationDetails>::LanguageSupport::InitializeNative(void)" (?InitializeNative@LanguageSupport@<CrtImplementationDetails>@@$$FAAEXXZ) 中被引用
1>MSVCMRTD.lib(mstartup.obj) : error LNK2020: 无法解析的标记(0A00009A) __native_vcclrit_reason
1>MSVCMRTD.lib(mstartup.obj) : error LNK2020: 无法解析的标记(0A0000A2) __native_startup_state
1>MSVCMRTD.lib(mstartup.obj) : error LNK2020: 无法解析的标记(0A00010A) __native_startup_lock
1>MSVCMRTD.lib(mstartup.obj) : error LNK2020: 无法解析的标记(0A00010B) __native_dllmain_reason
1>MSVCMRTD.lib(managdeh.obj) : error LNK2028: 无法解析的标记(0A00003D) "extern "C" int __cdecl __FrameUnwindFilter(struct _EXCEPTION_POINTERS *)" (?__FrameUnwindFilter@@$$J0YAHPAU_EXCEPTION_POINTERS@@@Z),该标记在函数 "extern "C" void __clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)" (?___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A000075) "public: __thiscall std::_Container_base12::_Container_base12(void)" (??0_Container_base12@std@@$$FQAE@XZ),该标记在函数 "public: __thiscall std::_String_val<wchar_t,class std::allocator<wchar_t> >::_String_val<wchar_t,class std::allocator<wchar_t> >(class std::allocator<wchar_t>)" (??0?$_String_val@_WV?$allocator@_W@std@@@std@@$$FQAE@V?$allocator@_W@1@@Z) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A000077) "public: __thiscall std::_Container_base12::~_Container_base12(void)" (??1_Container_base12@std@@$$FQAE@XZ),该标记在函数 "public: __thiscall std::_String_val<wchar_t,class std::allocator<wchar_t> >::_String_val<wchar_t,class std::allocator<wchar_t> >(class std::allocator<wchar_t>)" (??0?$_String_val@_WV?$allocator@_W@std@@@std@@$$FQAE@V?$allocator@_W@1@@Z) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A00007F) "public: void __thiscall std::_Container_base12::_Orphan_all(void)" (?_Orphan_all@_Container_base12@std@@$$FQAEXXZ),该标记在函数 "public: __thiscall std::_String_val<wchar_t,class std::allocator<wchar_t> >::~_String_val<wchar_t,class std::allocator<wchar_t> >(void)" (??1?$_String_val@_WV?$allocator@_W@std@@@std@@$$FQAE@XZ) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A00029C) "void * __cdecl operator new(unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" (??2@$$FYAPAXIABU_DebugHeapTag_t@std@@PADH@Z),该标记在函数 "private: static void __cdecl std::locale::facet::_Facet_Register_m(class std::locale::facet *)" (?_Facet_Register_m@facet@locale@std@@$$FCAXPAV123@@Z) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A0002A5) "extern "C" int __cdecl __CxxQueryExceptionSize(void)" (?__CxxQueryExceptionSize@@$$J0YAHXZ),该标记在函数 "public: void __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::_Copy(unsigned int,unsigned int)" (?_Copy@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@$$FQAEXII@Z) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A0002A7) "extern "C" int __cdecl __CxxDetectRethrow(void *)" (?__CxxDetectRethrow@@$$J0YAHPAX@Z),该标记在函数 __catch$?_Copy@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@$$FQAEXII@Z$0 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A0002CD) "extern "C" void __cdecl __CxxUnregisterExceptionObject(void *,int)" (?__CxxUnregisterExceptionObject@@$$J0YAXPAXH@Z),该标记在函数 __catch$?_Copy@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@$$FQAEXII@Z$0 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A0002CF) "void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const &,char *,int)" (??3@$$FYAXPAXABU_DebugHeapTag_t@std@@PADH@Z),该标记在函数 "private: static void __cdecl std::locale::facet::_Facet_Register_m(class std::locale::facet *)" (?_Facet_Register_m@facet@locale@std@@$$FCAXPAV123@@Z) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A0002DB) "extern "C" int __cdecl __CxxExceptionFilter(void *,void *,int,void *)" (?__CxxExceptionFilter@@$$J0YAHPAX0H0@Z),该标记在函数 __catch$?_Copy@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@$$FQAEXII@Z$0 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A000305) "extern "C" int __cdecl __CxxRegisterExceptionObject(void *,void *)" (?__CxxRegisterExceptionObject@@$$J0YAHPAX0@Z),该标记在函数 __catch$?_Copy@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@$$FQAEXII@Z$0 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A00034C) "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@$$FYAXPBD@Z),该标记在函数 "public: void __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::_Xlen(void)const " (?_Xlen@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@$$FQBEXXZ) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A000357) "public: static void __cdecl std::_Lockit::_Lockit_ctor(int)" (?_Lockit_ctor@_Lockit@std@@$$FSAXH@Z),该标记在函数 __catch$?_Fac_tidy@?A0x665323c6@@$$FYAXXZ$0 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A000358) "public: static void __cdecl std::_Lockit::_Lockit_dtor(int)" (?_Lockit_dtor@_Lockit@std@@$$FSAXH@Z),该标记在函数 __catch$?_Fac_tidy@?A0x665323c6@@$$FYAXXZ$0 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A00035F) "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@$$FYAXPBD@Z),该标记在函数 "public: void __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::_Xran(void)const " (?_Xran@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@$$FQBEXXZ) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A000371) "public: __thiscall std::exception::exception(class std::exception const &)" (??0exception@std@@$$FQAE@ABV01@@Z),该标记在函数 "public: __thiscall std::runtime_error::runtime_error(class std::runtime_error const &)" (??0runtime_error@std@@$$FQAE@ABV01@@Z) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A000373) "public: __thiscall std::exception::exception(char const * const &)" (??0exception@std@@$$FQAE@ABQBD@Z),该标记在函数 "public: __thiscall std::bad_alloc::bad_alloc(char const *)" (??0bad_alloc@std@@$$FQAE@PBD@Z) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A000374) "public: virtual __thiscall std::exception::~exception(void)" (??1exception@std@@$$FUAE@XZ),该标记在函数 "public: __thiscall std::bad_alloc::bad_alloc(char const *)" (??0bad_alloc@std@@$$FQAE@PBD@Z) 中被引用
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2028: 无法解析的标记(0A0003B6) "struct std::_DebugHeapTag_t const & __cdecl std::_DebugHeapTag_func(void)" (?_DebugHeapTag_func@std@@$$FYAABU_DebugHeapTag_t@1@XZ),该标记在函数 "private: static void __cdecl std::locale::facet::_Facet_Register_m(class std::locale::facet *)" (?_Facet_Register_m@facet@locale@std@@$$FCAXPAV123@@Z) 中被引用