I do know how linking works. I added the path to the lib, but still have linking issues. My guess is that the lib doesn't have the relevant implementation. I would like to confirm that.
Did anyone try C++ library for communicating with a RabbitMQ message broker from nuget?
I tried the x64 2.6.1.4 and even 2.6.1.3 versions on Windows 10 using Visual Studio 2015 but I get link errors:
1>amqp-cpp.lib(tcpconnection.obj) : error LNK2001: unresolved external symbol "int __cdecl AMQP::tcp::Errno(void)" (?Errno@tcp@AMQP@@YAHXZ)
1>amqp-cpp.lib(tcpconnection.obj) : error LNK2001: unresolved external symbol "char const * __cdecl AMQP::tcp::StrError(int)" (?StrError@tcp@AMQP@@YAQEBDH@Z)
1>amqp-cpp.lib(tcpconnection.obj) : error LNK2001: unresolved external symbol "int __cdecl AMQP::tcp::Close(unsigned __int64)" (?Close@tcp@AMQP@@YAH_K@Z)
Did anyone encounter with this issue?
UPDATE1
I've uploaded the project with the package to here.
I've also uploaded the dump of the lib and I can see that indeed those symbols are missing (there is UNDEF
near those symbols) from the lib
1B4 00000000 UNDEF notype () External | ?Errno@tcp@AMQP@@YAHXZ (int __cdecl AMQP::tcp::Errno(void))
1B5 00000000 UNDEF notype () External | ?StrError@tcp@AMQP@@YAQEBDH@Z (char const * __cdecl AMQP::tcp::StrError(int))
1B6 00000000 UNDEF notype () External | ?Close@tcp@AMQP@@YAH_K@Z (int __cdecl AMQP::tcp::Close(unsigned __int64))