码迷,mamicode.com
首页 > 其他好文 > 详细

boost 引用错误 无法解析的外部符号

时间:2017-08-22 21:45:31      阅读:349      评论:0      收藏:0      [点我收藏+]

标签:boost

严重性 代码 说明 项目 文件 禁止显示状态

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TWinsockSingleton.obj 1

错误 LNK1120 9 个无法解析的外部命令 libthrift E:\thriftserver\Debug\libthrift.dll 1

错误 LNK2019 无法解析的外部符号 "bool __cdecl boost::this_thread::interruptible_wait(void *,struct boost::detail::timeout)" (?interruptible_wait@this_thread@boost@@YA_NPAXUtimeout@detail@2@@Z),该符号在函数 "public: bool __thiscall boost::detail::basic_cv_list_entry::wait(struct boost::detail::timeout)" (?wait@basic_cv_list_entry@detail@boost@@QAE_NUtimeout@23@@Z) 中被引用 libthrift E:\thriftserver\thriftserver\BoostMonitor.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\WinFcntl.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TTransportUtils.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\GetTimeOfDay.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\SocketPair.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\StdAfx.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TServerSocket.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TSimpleFileTransport.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TSocket.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TTransportException.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\THttpServer.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\THttpTransport.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TPipe.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TPipeServer.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TBufferTransports.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TFDTransport.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TFileTransport.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\THttpClient.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TSimpleServer.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TThreadPoolServer.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TApplicationException.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\Thrift.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TBase64Utils.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TDebugProtocol.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TDenseProtocol.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TJSONProtocol.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\ThreadManager.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TimerManager.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\Util.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\PeekProcessor.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TAsyncChannel.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\BoostMonitor.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\BoostMutex.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\BoostThreadFactory.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TWinsockSingleton.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\WinFcntl.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TTransportUtils.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\GetTimeOfDay.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\SocketPair.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\StdAfx.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TServerSocket.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TSimpleFileTransport.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TSocket.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TTransportException.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\THttpServer.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\THttpTransport.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TPipe.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TPipeServer.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TBufferTransports.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TFDTransport.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TFileTransport.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\THttpClient.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TSimpleServer.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TThreadPoolServer.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TApplicationException.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\Thrift.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TBase64Utils.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TDebugProtocol.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TDenseProtocol.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TJSONProtocol.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\ThreadManager.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TimerManager.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\Util.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\PeekProcessor.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\TAsyncChannel.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\BoostMonitor.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\BoostMutex.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) libthrift E:\thriftserver\thriftserver\BoostThreadFactory.obj 1

错误 LNK2001 无法解析的外部符号 "class boost::thread::id __cdecl boost::this_thread::get_id(void)" (?get_id@this_thread@boost@@YA?AVid@thread@2@XZ) libthrift E:\thriftserver\thriftserver\TFileTransport.obj 1

错误 LNK2019 无法解析的外部符号 "class boost::thread::id __cdecl boost::this_thread::get_id(void)" (?get_id@this_thread@boost@@YA?AVid@thread@2@XZ),该符号在函数 "public: class boost::thread::id __thiscall apache::thrift::concurrency::BoostThreadFactory::Impl::getCurrentThreadId(void)const " (?getCurrentThreadId@Impl@BoostThreadFactory@concurrency@thrift@apache@@QBE?AVid@thread@boost@@XZ) 中被引用 libthrift E:\thriftserver\thriftserver\BoostThreadFactory.obj 1

错误 LNK2001 无法解析的外部符号 "private: bool __thiscall boost::thread::join_noexcept(void)" (?join_noexcept@thread@boost@@AAE_NXZ) libthrift E:\thriftserver\thriftserver\TFileTransport.obj 1

错误 LNK2019 无法解析的外部符号 "private: bool __thiscall boost::thread::join_noexcept(void)" (?join_noexcept@thread@boost@@AAE_NXZ),该符号在函数 "public: void __thiscall boost::thread::join(void)" (?join@thread@boost@@QAEXXZ) 中被引用 libthrift E:\thriftserver\thriftserver\BoostThreadFactory.obj 1

错误 LNK2001 无法解析的外部符号 "private: bool __thiscall boost::thread::start_thread_noexcept(void)" (?start_thread_noexcept@thread@boost@@AAE_NXZ) libthrift E:\thriftserver\thriftserver\TFileTransport.obj 1

错误 LNK2019 无法解析的外部符号 "private: bool __thiscall boost::thread::start_thread_noexcept(void)" (?start_thread_noexcept@thread@boost@@AAE_NXZ),该符号在函数 "private: void __thiscall boost::thread::start_thread(void)" (?start_thread@thread@boost@@AAEXXZ) 中被引用 libthrift E:\thriftserver\thriftserver\BoostThreadFactory.obj 1

错误 LNK2001 无法解析的外部符号 "public: class boost::thread::id __thiscall boost::thread::get_id(void)const " (?get_id@thread@boost@@QBE?AVid@12@XZ) libthrift E:\thriftserver\thriftserver\TFileTransport.obj 1

错误 LNK2019 无法解析的外部符号 "public: class boost::thread::id __thiscall boost::thread::get_id(void)const " (?get_id@thread@boost@@QBE?AVid@12@XZ),该符号在函数 "public: virtual class boost::thread::id __thiscall apache::thrift::concurrency::BoostThread::getId(void)" (?getId@BoostThread@concurrency@thrift@apache@@UAE?AVid@thread@boost@@XZ) 中被引用 libthrift E:\thriftserver\thriftserver\BoostThreadFactory.obj 1

错误 LNK2001 无法解析的外部符号 "public: virtual __thiscall boost::detail::thread_data_base::~thread_data_base(void)" (??1thread_data_base@detail@boost@@UAE@XZ) libthrift E:\thriftserver\thriftserver\TFileTransport.obj 1

错误 LNK2019 无法解析的外部符号 "public: virtual __thiscall boost::detail::thread_data_base::~thread_data_base(void)" (??1thread_data_base@detail@boost@@UAE@XZ),该符号在函数 "public: virtual __thiscall boost::detail::thread_data<class boost::_bi::bind_t<void *,void * (__cdecl*)(void *),class boost::_bi::list1<class boost::_bi::value<void *> > > >::~thread_data<class boost::_bi::bind_t<void *,void * (__cdecl*)(void *),class boost::_bi::list1<class boost::_bi::value<void *> > > >(void)" (??1?$thread_data@V?$bind_t@PAXP6APAXPAX@ZV?$list1@V?$value@PAX@_bi@boost@@@_bi@boost@@@_bi@boost@@@detail@boost@@UAE@XZ) 中被引用 libthrift E:\thriftserver\thriftserver\BoostThreadFactory.obj 1

错误 LNK2001 无法解析的外部符号 "public: void __thiscall boost::thread::detach(void)" (?detach@thread@boost@@QAEXXZ) libthrift E:\thriftserver\thriftserver\TFileTransport.obj 1

错误 LNK2019 无法解析的外部符号 "public: void __thiscall boost::thread::detach(void)" (?detach@thread@boost@@QAEXXZ),该符号在函数 "public: __thiscall boost::thread::~thread(void)" (??1thread@boost@@QAE@XZ) 中被引用 libthrift E:\thriftserver\thriftserver\BoostThreadFactory.obj 1


bool interruptible_wait(detail::win32::handle handle_to_wait_for,detail::timeout target_time)

怀疑是boost版本之间的问题,主要是原本采用了1.58.0版本,后来使用了1.64.0版本的代码,初步认为

是两者之间的线程代码出现了分歧,导致无法找到函数的定义,实际上并没有出现这种情况








boost 引用错误 无法解析的外部符号

标签:boost

原文地址:http://fengyuzaitu.blog.51cto.com/5218690/1958341

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!