compile AMQP example

242 views
Skip to first unread message

Walt Wang

unread,
Jun 18, 2016, 3:51:09 AM6/18/16
to rabbitmq-users
There is a error msg:myconnection.cpp:11:31: fatal error: copernica/network.h: No such file or directory
Who can help me ? thanks!

Michael Klishin

unread,
Jun 18, 2016, 4:13:40 AM6/18/16
to rabbitm...@googlegroups.com
I'm afraid nobody because you have provided virtually no information about what you're trying to do.

copernica/network.h is missing: are you sure all dependencies of the client you are trying to use are available?

On Sat, Jun 18, 2016 at 10:51 AM, Walt Wang <wangh...@gmail.com> wrote:
There is a error msg:myconnection.cpp:11:31: fatal error: copernica/network.h: No such file or directory
Who can help me ? thanks!

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Walt Wang

unread,
Jun 18, 2016, 4:32:26 AM6/18/16
to rabbitmq-users
I get this pack from :https://github.com/CopernicaMarketingSoftware/AMQP-CPP
But I can't compile .../AMQP-CPP-master/tests
Because it can't find: copernica/network.h



在 2016年6月18日星期六 UTC+8下午4:13:40,Michael Klishin写道:

Tom Molesworth

unread,
Jun 18, 2016, 6:34:38 AM6/18/16
to rabbitm...@googlegroups.com
On 18/06/16 09:32, Walt Wang wrote:
> I get this pack from
> :https://github.com/CopernicaMarketingSoftware/AMQP-CPP
> But I can't compile .../AMQP-CPP-master/tests
> Because it can't find: copernica/network.h

Yes, see
https://github.com/CopernicaMarketingSoftware/AMQP-CPP/blob/master/tests/README.md
- you won't be able to compile the tests without making some changes.

Try the examples instead, they use Boost.Asio -
https://github.com/CopernicaMarketingSoftware/AMQP-CPP/blob/master/examples/rabbitmq_tutorials/README.md

cheers,

Tom

Walt Wang

unread,
Jun 20, 2016, 7:34:05 AM6/20/16
to rabbitmq-users
thanks!

在 2016年6月18日星期六 UTC+8下午6:34:38,tom写道:
Reply all
Reply to author
Forward
0 new messages