Hi,

I have a small client-server system I have developed on Ubuntu. It works
fine there.

I am trying to port the server to Windows using minGW.

I have got everything to compile OK using gcc, but am having problems with
producing the final .exe

 

I know it is something I am doing wrong, but I can't figure out what. It
would be great if someone could point me in the right direction.

 

My gcc command looks like this:

 

gcc QV_EM_message_broker.c -I "C:\Program Files\ZeroMQ 3.2.2\include"
..\lib\QV_EM_DB_interface.o -L "C:\Program Files\PostgreSQL\9.2\lib"
..\lib\QV_EM_lib.o -L "C:\Program Files\ZeroMQ 3.2.2\lib"
-oQV_EM_message_broker.exe -lzmq

 

And gives the error: ... cannot find -lzmq.

 

If I remove the -lzmq then I get: .. undefined reference to
`_imp__zmq_ctx_new' - and the other zmq calls from my code.

 

I am sure I should be using something different from -lzmq, but I can't
figure out what.

 

Thanks,

Alan

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to