Re: [zeromq-dev] Static library in Visual Studio (SOLVED)

2010-11-10 Thread Martin Sustrik
On 9/11/2010, Pieter Hintjens p...@imatix.com wrote: On Tue, Nov 9, 2010 at 10:40 PM, malist mailing.l...@manageapp.com wrote: It is better to: a) add static and static debug targets to master b) let someone who knows what he/she is doing also explain it :) I've no idea... :-) Have a

Re: [zeromq-dev] Static library in Visual Studio (SOLVED)

2010-11-09 Thread malist
How can I can stop in my own project breakpoints? I answer my own question. After more Googling I found: http://social.msdn.microsoft.com/Forums/en/vsdebug/thread/132b7383-7941-4665-b0f1-ccf024b9c601 * I changed libzmq debug project so that it generated libzmq_debug.lib and libzmq_debug.pdb.

Re: [zeromq-dev] Static library in Visual Studio (SOLVED)

2010-11-09 Thread Pieter Hintjens
Hi Pasi, Would you like to create a wiki page for this on the zeromq.org site, maybe in the docs section? Then people can use your experience, and turn that into a guide. Thanks Pieter On Tue, Nov 9, 2010 at 11:02 AM, malist mailing.l...@manageapp.com wrote: How can I can stop in my own

Re: [zeromq-dev] Static library in Visual Studio (SOLVED)

2010-11-09 Thread malist
Hi Pasi, Would you like to create a wiki page for this on the zeromq.org site, maybe in the docs section? Then people can use your experience, and turn that into a guide. Thanks Pieter Hi Pieter. It is better to: a) add static and static debug targets to master b) let someone who

Re: [zeromq-dev] Static library in Visual Studio (SOLVED)

2010-11-09 Thread Pieter Hintjens
On Tue, Nov 9, 2010 at 10:40 PM, malist mailing.l...@manageapp.com wrote: It is better to: a) add static and static debug targets to master b) let someone who knows what he/she is doing also explain it :) I've no idea... :-) -Pieter ___ zeromq-dev

Re: [zeromq-dev] Static library in Visual Studio (SOLVED)

2010-11-08 Thread malist
Here is what I have done to get zmq to compile as static library using Visual Studio Express 2008 in WinXP: First I had to add 2 more includes to my project to be able to compile in Windows: #if VERSIONWIN #include ..\zmq\zeromq2\src\stdint.hpp // for windows

[zeromq-dev] Static library in Visual Studio

2010-11-07 Thread malist
Hello. I'm also zmq newbie and this project seems fantastic. I have been able to compile and use zmq in OSX, but I need a little advice for windows. How can I comple zeromq as static library in Visual Studio? Pasi Mankinen Finland ___ zeromq-dev

Re: [zeromq-dev] Static library in Visual Studio

2010-11-07 Thread Joshua Foster
You need to set the Runtime library to MT instead of MD. You can get to this by right clicking the project, selecting properties. Then Configruation Properties - C/C++ - Code Generation. Joshua On 11/7/2010 11:41 AM, malist wrote: Hello. I'm also zmq newbie and this project seems fantastic.

Re: [zeromq-dev] Static library in Visual Studio

2010-11-07 Thread Martin Sustrik
On 11/07/2010 07:33 PM, Ivan Pechorin wrote: 2010/11/7 Joshua Fosterjhaw...@gmail.com: You need to set the Runtime library to MT instead of MD. Sorry, but this is just plain wrong: switching MD to MT will link the runtime libraries statically into the 0MQ library, but won't link