无法解析的外部符号 “__declspec(dllimport)

2023-07-08 14:53:28 浏览数 (3)

代码语言:javascript复制
1>libboost_system-vc80-mt-1_55.lib(error_code.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static unsigned int const std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::npos" (__imp_?npos@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@2IB),该符号在函数 "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall boost::system::`anonymous namespace'::system_error_category::message(int)const " (?message@system_error_category@?A0xcee97830@system@boost@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) 中被引用
1>libboost_thread-vc80-mt-gd-1_55.lib(thread.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator =(char const *)" (__imp_??Y?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@PBD@Z),该符号在函数 "public: virtual char const * __thiscall boost::system::system_error::what(void)const " (?what@system_error@system@boost@@UBEPBDXZ) 中被引用
1>libboost_thread-vc80-mt-gd-1_55.lib(thread.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Has_debug_it)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@U_Has_debug_it@01@@Z),该符号在函数 "public: __thiscall boost::system::system_error::system_error(class boost::system::error_code,char const *)" (??0system_error@system@boost@@QAE@Verror_code@12@PBD@Z) 中被引用
1>libboost_thread-vc80-mt-gd-1_55.lib(thread.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (__imp_?_Debug_message@std@@YAXPB_W0I@Z),该符号在函数 "public: void __thiscall std::_Iterator_base::_Orphan_me(void)" (?_Orphan_me@_Iterator_base@std@@QAEXXZ) 中被引用
1>libboost_thread-vc80-mt-gd-1_55.lib(thread.obj) : error LNK2019: 无法解析的外部符号 __imp___CrtDbgReportW,该符号在函数 "public: class boost::condition_variable_any * const & __thiscall std::list<class boost::condition_variable_any *,class std::allocator<class boost::condition_variable_any *> >::_Const_iterator<1>::operator*(void)const " (??D?$_Const_iterator@$00@?$list@PAVcondition_variable_any@boost@@V?$allocator@PAVcondition_variable_any@boost@@@std@@@std@@QBEABQAVcondition_variable_any@boost@@XZ) 中被引用
1>libboost_thread-vc80-mt-gd-1_55.lib(thread.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ),该符号在函数 "public: __thiscall std::_Vector_val<struct std::pair<class boost::condition_variable *,class boost::mutex *>,class std::allocator<struct std::pair<class boost::condition_variable *,class boost::mutex *> > >::~_Vector_val<struct std::pair<class boost::condition_variable *,class boost::mutex *>,class std::allocator<struct std::pair<class boost::condition_variable *,class boost::mutex *> > >(void)" (??1?$_Vector_val@U?$pair@PAVcondition_variable@boost@@PAVmutex@2@@std@@V?$allocator@U?$pair@PAVcondition_variable@boost@@PAVmutex@2@@std@@@2@@std@@QAE@XZ) 中被引用
1>libboost_thread-vc80-mt-gd-1_55.lib(thread.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static unsigned int __cdecl std::numeric_limits<unsigned int>::min(void)" (__imp_?min@?$numeric_limits@I@std@@SAIXZ),该符号在函数 "public: static class boost::date_time::int_adapter<unsigned int> const __cdecl boost::date_time::int_adapter<unsigned int>::neg_infinity(void)" (?neg_infinity@?$int_adapter@I@date_time@boost@@SA?BV123@XZ) 中被引用
1>libboost_thread-vc80-mt-gd-1_55.lib(thread.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall std::_Container_base::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base@std@@QBEXXZ),该符号在函数 "protected: void __thiscall std::vector<struct std::pair<class boost::condition_variable *,class boost::mutex *>,class std::allocator<struct std::pair<class boost::condition_variable *,class boost::mutex *> > >::_Tidy(void)" (?_Tidy@?$vector@U?$pair@PAVcondition_variable@boost@@PAVmutex@2@@std@@V?$allocator@U?$pair@PAVcondition_variable@boost@@PAVmutex@2@@std@@@2@@std@@IAEXXZ) 中被引用
1>libboost_thread-vc80-mt-gd-1_55.lib(thread.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static __int64 __cdecl std::numeric_limits<__int64>::max(void)" (__imp_?max@?$numeric_limits@_J@std@@SA_JXZ),该符号在函数 "public: static class boost::date_time::int_adapter<__int64> const __cdecl boost::date_time::int_adapter<__int64>::pos_infinity(void)" (?pos_infinity@?$int_adapter@_J@date_time@boost@@SA?BV123@XZ) 中被引用
1>libboost_thread-vc80-mt-gd-1_55.lib(thread.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static __int64 __cdecl std::numeric_limits<__int64>::min(void)" (__imp_?min@?$numeric_limits@_J@std@@SA_JXZ),该符号在函数 "public: static class boost::date_time::int_adapter<__int64> const __cdecl boost::date_time::int_adapter<__int64>::neg_infinity(void)" (?neg_infinity@?$int_adapter@_J@date_time@boost@@SA?BV123@XZ) 中被引用
1>libboost_thread-vc80-mt-gd-1_55.lib(thread.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ),该符号在函数 "protected: __thiscall std::_Vector_val<struct std::pair<class boost::condition_variable *,class boost::mutex *>,class std::allocator<struct std::pair<class boost::condition_variable *,class boost::mutex *> > >::_Vector_val<struct std::pair<class boost::condition_variable *,class boost::mutex *>,class std::allocator<struct std::pair<class boost::condition_variable *,class boost::mutex *> > >(class std::allocator<struct std::pair<class boost::condition_variable *,class boost::mutex *> >)" (??0?$_Vector_val@U?$pair@PAVcondition_variable@boost@@PAVmutex@2@@std@@V?$allocator@U?$pair@PAVcondition_variable@boost@@PAVmutex@2@@std@@@2@@std@@IAE@V?$allocator@U?$pair@PAVcondition_variable@boost@@PAVmutex@2@@std@@@1@@Z) 中被引用
1>D:developDebugArxDbg.Debug.v80.Win32.arx : fatal error LNK1120: 14 个无法解析的外部命令

附加依赖

代码语言:javascript复制
libCGAL-vc80-mt-gd-4.4-I-900.lib
libCGAL_Core-vc80-mt-gd-4.4-I-900.lib
libboost_system-vc80-mt-gd-1_55.lib
libboost_thread-vc80-mt-gd-1_55.lib
libboost_date_time-vc80-mt-gd-1_55.lib

libCGAL-vc80-mt-s-4.4-I-900.lib
libCGAL_Core-vc80-mt-s-4.4-I-900.lib
libboost_system-vc80-mt-s-1_55.lib
libboost_thread-vc80-mt-s-1_55.lib
libboost_date_time-vc80-mt-s-1_55.lib

libCGAL-vc80-mt-4.4-I-900.lib
libCGAL_Core-vc80-mt-4.4-I-900.lib
libboost_system-vc80-mt-1_55.lib
libboost_thread-vc80-mt-1_55.lib
libboost_date_time-vc80-mt-1_55.lib

忽略项

代码语言:javascript复制
<IgnoreSpecificDefaultLibraries>libcpmtd.lib;libcmtd.lib;msvcrtd.lib;msvcprt.lib;msvcprtd.lib;libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>

0 人点赞