Compiling rabbitmq-c on windows 7: "Search for htonll - not found"
I am trying to compile rabbitmq-c on a visual studio 2012 machine, with no success.
I follow the instructions in the readme:
mkdir build && cd build
cmake ..
cmake --build .
However, compilation returns a bunch of errors like this:
C:\rabbitmq-c-master\librabbitmq\amqp_private.h(277): error C2375: 'htonll' : redefinition; different linkage
I noticed that when I run the command "cmake .." I get "Search for htonll - not found". So for some reason rabbitmq-c doesn't find my htonll function and tries to update it.
How do I debug this?
Rabbitmq-c library link: https://github.com/alanxz/rabbitmq-c
+3
source to share
No one has answered this question yet
Check out similar questions:
sixteen