Unable to compile C Client for windows

21 views
Skip to first unread message

Udi Ben Senior

unread,
Jun 8, 2013, 6:02:00 AM6/8/13
to rabbitmq...@googlegroups.com

Hi,

I've been trying to build the c/c++ client library for windows but didn't succeed although following your instructions (see error below after running 'bash-3.1$ etc/build-ms.sh').

I was wondering maybe you can help me with a compiled client version for windows. (i.e. lib, dll, h - for 32/64 bit)

Thanks,

Udi


Result of running  'bash-3.1$ etc/build-ms.sh':

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

checking for cl.exe option to accept ISO C99... unsupported

checking for inline... __inline

checking if compiler accepts '-Wall'... yes

checking if compiler accepts '-Wextra'... no

checking if compiler accepts '-pedantic'... yes

checking if compiler accepts '-Wstrict-prototypes'... no

checking if compiler accepts '-Wcast-align'... no

checking if compiler accepts '-fno-common'... yes

checking if compiler accepts '-fvisibility=hidden'... yes

checking if linker accepts '-no-undefined'... yes

checking for library containing getaddrinfo... no

checking for socket in -lgetaddrinfo... no

configure: error: cannot find name resolution library (library with getaddrinfo

symbol)

bash-3.1$

Alan Antonuk

unread,
Jun 8, 2013, 2:47:01 PM6/8/13
to Discussions about RabbitMQ, rabbitmq...@googlegroups.com
The autotools build is known not to work on Win32. You need to build rabbitmq-c with CMake: 


-Alan


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq...@lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


Udi Ben Senior

unread,
Jun 9, 2013, 4:11:29 PM6/9/13
to rabbitmq...@googlegroups.com
:) thanks!
i'll try it out soon.


--
You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-discuss/pREL8aSQYHk/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to rabbitmq-discu...@googlegroups.com.
To post to this group, send email to rabbitmq...@googlegroups.com.
Visit this group at http://groups.google.com/group/rabbitmq-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages