[zeromq-dev] Running ZMQ on win64
Matthias Kluwe
mkluwe at gmail.com
Wed Apr 9 17:07:07 CEST 2014
Am 08.04.2014 19:01, schrieb Prasoon Shukla:
> ... Continuing message.
>
> 3. Copied everything in ZMQ's include dir to MinGW's include dir.
> Ditto for the directories lib and bin.
>
> 4. Tried to compile the *hwserver.c *example given here:
> http://zguide.zeromq.org/page:all#Ask-and-Ye-Shall-Receive
>
> The code doesn't compile. Here's the output:
> http://picpaste.com/pics/test-ANJ8z2do.1396976305.png
>
> Please tell me how to why this isn't working.
Because you're not telling gcc to link with libzmq. gcc server.c -lzmq
probably does want you want (it does on my Linux box, and according to
http://www.mingw.org/wiki/Specify_the_libraries_for_the_linker_to_use
it's the same with MinGW and a DLL, given it's in the library search paths).
Regards,
Matthias
> On Tue, Apr 8, 2014 at 10:23 PM, Prasoon Shukla
> <prasoon92.iitr at gmail.com>wrote:
>
>> Hi
>>
>> I am trying to get 0MQ to run on windows. I'm using a minGW based
>> gcc compiler for building. Here are the steps I took:
>>
>> 1. Installed MinGW. 2. Installed ZeroMQ using windows binaries. 3.
>> Copied
More information about the zeromq-dev
mailing list