[zeromq-dev] FYI: ZeroMQ 3.3.0 development tree Windows builds

Dimiter 'malkia' Stanev malkia at gmail.com
Thu Jun 14 04:56:37 CEST 2012

There seems to be some mapping of keys depending on the process bit-ness 
reading them.

Not related to libzmq directly, but this batch file below discovers the 
location of the Windows WDK:

@echo off
rem Try the 32-bit version on 64-bit machine (in SysWOW64)
set LB_REG_EXE=%SystemRoot%\SysWOW64\reg.exe
rem If it's not found, then we are on 32-bit machine, and then the file 
below is 32-bit too (and on 64-bit it's 64-bit).
if not exist %LB_REG_EXE% set LB_REG_EXE=%SystemRoot%\System32\reg.exe

rem LB_WDK_ROOT (from %3 by default)
for /F "skip=2 usebackq tokens=3*" %%i in (`%LB_REG_EXE% QUERY 
/v setup-install-location`) do set LB_WDK_ROOT=%%i


the key above is available for 32-bit space, for 64-bit Wow6432Node has 
to be put like \SOFTWARE\Wow6432Node\Microsoft

Replace the key above with

and put it in a batch file, it should print out the location.

On 6/13/2012 7:17 PM, Steven McCoy wrote:
> On 13 June 2012 21:11, MinRK <benjaminrk at gmail.com
> <mailto:benjaminrk at gmail.com>> wrote:
>     Where does this dist put libzmq/zmq.h?  I might as well support that
>     as a default path when building pyzmq.
> Typically it is going to install to %ProgramFiles%/ZeroMQ
> 3.3.0/include/zmq.h
> The directory is available as a registry key:
> This is clearly wrong on Win64 and whilst the path can be fixed (from
> x86 suffix) I'm not sure the key can when using a 32-bit installer?
> Ooh, just found NSIS64 fork:
> https://bitbucket.org/dgolub/nsis64
> --
> Steve-o
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list