I try this library but i have the follow error:
"obj/Debug/main.o: In function `boost::detail::sp_if_not_arrayAmqpClient::Channel::type boost::make_shared<AmqpClient::Channel, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int&>(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int&)':"
My main class only have this line (as in the example)
AmqpClient::Channel::ptr_t connection = AmqpClient::Channel::Create("localhost");
I dont understand the error. This error appear when i try to build
the code in codeblocks. I have the SimplesAmqpClient.h include and not
appear any error before i build the code.
I use this library (SimpleAmqpClient), rabbitmq-c-0.8.0 and Ubuntu 16.04.1 LTS.
It is important to refer when this error occurs, the codeblocks open the "make_shared_object.hpp" and show -> See the image please.
Thanks. I expected an answer! ;)
--
You received this message because you are subscribed to the Google Groups "simpleamqpclient-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simpleamqpclient-...@googlegroups.com.
To post to this group, send email to simpleamqpc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/simpleamqpclient-users/652b21dc-dca4-4db5-97a3-63b951dfacdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Be sure to look at the whole error message. The key part of the message is "undefined reference to `AmqpClient::Channel::Channel`, which is defined in the library.Make sure that you also link against the SimpleAmqpClient library when building your executable.-Alan
On Tue, Nov 15, 2016 at 12:33 AM Ruben Ferreira <rubenffe...@gmail.com> wrote:
hi :)--
I try this library but i have the follow error:
"obj/Debug/main.o: In function `boost::detail::sp_if_not_arrayAmqpClient::Channel::type boost::make_shared<AmqpClient::Channel, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int&>(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int&)':"
My main class only have this line (as in the example)
AmqpClient::Channel::ptr_t connection = AmqpClient::Channel::Create("localhost");
I dont understand the error. This error appear when i try to build the code in codeblocks. I have the SimplesAmqpClient.h include and not appear any error before i build the code.
I use this library (SimpleAmqpClient), rabbitmq-c-0.8.0 and Ubuntu 16.04.1 LTS.
It is important to refer when this error occurs, the codeblocks open the "make_shared_object.hpp" and show -> See the image please.
Thanks. I expected an answer! ;)
You received this message because you are subscribed to the Google Groups "simpleamqpclient-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simpleamqpclient-users+unsub...@googlegroups.com.
simpleamqpclient-build
?--
You received this message because you are subscribed to the Google Groups "simpleamqpclient-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simpleamqpclient-...@googlegroups.com.
To post to this group, send email to simpleamqpc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/simpleamqpclient-users/ac8cec83-67ac-4158-a672-4cf38c68576b%40googlegroups.com.