rabbitmq-c icon indicating copy to clipboard operation
rabbitmq-c copied to clipboard

Conan.io package

Open Ivan-Igorevich opened this issue 4 years ago • 0 comments

Hello, I found a link to this repository in https://conan.io/center/rabbitmq-c and guess I can get some help here.

I tried to use conan to build my application with rabbitmq-c by copying example/amqp_producer.c to my main.cpp file, and copying example/utils.c and -h files to the project root folder. added utils to add_executable() and tried to build it.

The only thing I get is

fatal error: amqp.h: No such file or directory
#include <amqp.h>
         ^~~~~~~~
compilation terminated.

As far as i can understand - the problem is that conan doesn't install librabbitmq as a dependency. If I'm wrong, please, help me understanding where to find a problem, or if I'm right, please, help me building that library correctly with conan. Thanks in advance.

Ivan-Igorevich avatar Feb 08 '21 10:02 Ivan-Igorevich