|
|
发表于 2025-12-6 11:21:26
|
显示全部楼层
江苏省连云港市
大佬2.0版本可以静编译,现在3.0版本无法静编了!什么原因?
CommonSupport_static.lib(CommonSupport.obj) : error LNK2019: 无法解析的外部符号 "public: int __thiscall type_info::operator==(class type_info const &)const " (??8type_info@@QBEHABV0@@Z),该符号在函数 "public: virtual void * __thiscall boost::detail::sp_counted_impl_pd<int *,struct boost::checked_array_deleter<int> >::get_deleter(class type_info const &)" (?get_deleter@?$sp_counted_impl_pd@PAHU?$checked_array_deleter@H@boost@@@detail@boost@@UAEPAXABVtype_info@@@Z) 中被引用
CommonSupport_static.lib(ThreadPool.obj) : error LNK2001: 无法解析的外部符号 "public: int __thiscall type_info::operator==(class type_info const &)const " (??8type_info@@QBEHABV0@@Z)
CommonSupport_static.lib(ThreadPool.obj) : error LNK2019: 无法解析的外部符号 "public: __thiscall std::ios_base::Init::Init(void)" (??0Init@ios_base@std@@QAE@XZ),该符号在函数 _$E14 中被引用
CommonSupport_static.lib(ThreadPool.obj) : error LNK2019: 无法解析的外部符号 "public: __thiscall std::ios_base::Init::~Init(void)" (??1Init@ios_base@std@@QAE@XZ),该符号在函数 _$E15 中被引用
CommonSupport_static.lib(ThreadPool.obj) : error LNK2019: 无法解析的外部符号 "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z),该符号在函数 "public: __thiscall boost::detail::shared_count::shared_count(class boost::detail::weak_count const &)" (??0shared_count@detail@boost@@QAE@ABVweak_count@12@@Z) 中被引用
CommonSupport_static.lib(ThreadPool.obj) : error LNK2019: 无法解析的外部符号 "public: __thiscall exception::exception(void)" (??0exception@@QAE@XZ),该符号在函数 "public: __thiscall boost::detail::shared_count::shared_count(class boost::detail::weak_count const &)" (??0shared_count@detail@boost@@QAE@ABVweak_count@12@@Z) 中被引用
CommonSupport_static.lib(ThreadPool.obj) : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall exception::~exception(void)" (??1exception@@UAE@XZ),该符号在函数 "public: virtual __thiscall boost::bad_weak_ptr::~bad_weak_ptr(void)" (??1bad_weak_ptr@boost@@UAE@XZ) 中被引用 |
|