Re: [zeromq-dev] Compiling zmq inside program

2012-01-19 Thread Pasi Mankinen
I debugged this code with 2.1.11 and 3.1.1. and tracing packets with CocoaPacketAnalyzer. After connect and sleep (1) both versions have 7 packets transferred. First packet to have payload is packet number 4 [ACK,PUSH]. In v2.1.11: - packet 4: 0 07 7e 57 4f 52 4b 45 52

Re: [zeromq-dev] Compiling zmq inside program

2012-01-11 Thread Martin Sustrik
Hi Pasi, I tried to compile zqm as a static library but it is just too much work with every version. I was able to do it with older VisualStudio, but with VS2010 and zmq 3.1.1 I just can't get it to work any more. What's the error you are getting? a) In OSX 10.7 Xcode 4.2 it seems that

Re: [zeromq-dev] Compiling zmq inside program

2012-01-11 Thread Mikko Koppanen
On Wed, Jan 11, 2012 at 5:30 AM, Martin Sustrik sust...@250bpm.com wrote: c) To be able to compile in windows I need to change manually zmq.h and zmq_utils.h from: #   if defined DLL_EXPORT #       define ZMQ_EXPORT __declspec(dllexport) #   else #       define ZMQ_EXPORT __declspec(dllimport)

Re: [zeromq-dev] Compiling zmq inside program

2012-01-11 Thread malist imap
Martin Sustrik kirjoitti 11.tammi.2012 kello 13.30: Hi Pasi, I tried to compile zqm as a static library but it is just too much work with every version. I was able to do it with older VisualStudio, but with VS2010 and zmq 3.1.1 I just can't get it to work any more. What's the error you