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
> <[email protected]>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
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to