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
visual-studio-2012 linkage rabbitmq


source to share


No one has answered this question yet

Check out similar questions:

647
ActiveMQ or RabbitMQ or ZeroMQ or
505
Error "LINK: fatal error LNK1123: failed to convert to COFF: file is invalid or corrupted" after installing Visual Studio 2012 Release Preview
176
Can't install node modules that require compilation on Windows 7 x64 / VS2012
43
Compiling Qt 4.8.x for Visual Studio 2012
sixteen
CXX compiler id unknown
2
when trying to build sikuli from source on Windows 8 64-bit using Visual Studio 2012 for Windows Desktop, cmake raise following issues
1
Error "nvcc cannot find a supported cl version" when compiling CUDA 5 with VS2012
1
Compiler error in C ++ 11 commands in Visual Studio project configured with cmake
0
SFGUI / C ++ Compilation problems. Error 2019: unresolved external symbol
0
Fuzzylite on VS 2012 won't compile



All Articles
Loading...
X
Show
Funny
Dev
Pics