Download

Linking ASIO from Boost

I am working on a plugin that is using boost as a 3rd party library. I have successfully built the static libraries for boost and everything seems to be working okay. However when I actually use ASIO from boost I get some linking problems. ASIO from boost has a header only option and that is what I am using because boost does not compile ASIO to a static lib.



Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "public: unsigned __int64 __cdecl AMQP::ConnectionImpl::p****(class AMQP::Buffer const &)" (?parse@ConnectionImpl@AMQP@@QEAA_KAEBVBuffer@2@@Z) referenced in function "public: void __cdecl boost::asio::detail::binder2<class <lambda_964ba24e575d2a71045a46539768307d>,class boost::system::error_code,unsigned __int64>::operator()(void)" (??R?$binder2@V<lambda_964ba24e575d2a71045a46539768307d>@@Verror_code@system@boost@@_K@detail@asio@boost@@QEAAXXZ) MyProject5 C:\Users\reine\Documents\Unreal Projects\MyProject5\Intermediate\ProjectFiles\Module.ue_amqp_trans.cpp.obj 1


I’m not great at interpreting linker errors. But what I gather so far is that my AMQP class which depends on asio components cannot link the asio components.