[zeromq-dev] Static library in Visual Studio

Martin Sustrik sustrik at 250bpm.com
Mon Nov 8 08:45:20 CET 2010


On 11/07/2010 07:33 PM, Ivan Pechorin wrote:
> 2010/11/7 Joshua Foster<jhawk28 at 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 0MQ
> itself as a static library instead of DLL.
>    
Building statically linked libraries is not trivial on Windows. There 
have been a thread about it on the mailing list. Try checking it.

Martin




More information about the zeromq-dev mailing list