Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vcpkg link error #338

Open
vanehu opened this issue Jun 30, 2020 · 0 comments
Open

vcpkg link error #338

vanehu opened this issue Jun 30, 2020 · 0 comments

Comments

@vanehu
Copy link

vanehu commented Jun 30, 2020

anyone know how to deal with this? and how complie with boost example ?
Client.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall AMQP::TcpConnection::TcpConnection(class AMQP::TcpHandler *,class AMQP::Address const &)" (??0TcpConnection@AMQP@@QAE@PAVTcpHandler@1@ABVAddress@1@@z),该符号在函数 _main 中被引用
1>amqpClient.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall AMQP::TcpConnection::~TcpConnection(void)" (??1TcpConnection@AMQP@@UAE@XZ),该符号在函数 _main 中被引用
1>amqpClient.obj : error LNK2019: 无法解析的外部符号 "public: void __thiscall AMQP::TcpConnection::process(int,int)" (?process@TcpConnection@AMQP@@QAEXHH@Z),该符号在函数 "private: static void __cdecl AMQP::LibEventHandler::Watcher::callback(int,short,void *)" (?callback@Watcher@LibEventHandler@AMQP@@CAXHFPAX@Z) 中被引用
1>amqpClient.obj : error LNK2019: 无法解析的外部符号 "public: bool __thiscall AMQP::TcpConnection::close(bool)" (?close@TcpConnection@AMQP@@QAE_N_N@Z),该符号在函数 "public: void __thiscall <lambda_89775d0c02f317182639c5d1137af266>::operator()(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,unsigned int,unsigned int)const " (??R<lambda_89775d0c02f317182639c5d1137af266>@@QBEXABV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@ii@Z) 中被引用
1>H:\emoney\amqpClient\Debug\amqpClient.exe : fatal error LNK1120: 4 个无法解析的外部命令

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant