Skip to content

Instantly share code, notes, and snippets.

@michfield
Last active October 1, 2019 03:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michfield/4686876 to your computer and use it in GitHub Desktop.
Save michfield/4686876 to your computer and use it in GitHub Desktop.
The only way to install ZeroMQ in Windows
:: Download ZeroMQ for Windows [Installers for Microsoft Windows](http://www.zeromq.org/distro:microsoft-windows)
:: Use only 32bit install, even on 64bit Windows and only 2.2.0 version (not 3.x)
:: Make sure you're not using the 3.x beta version of zeromq - you must use the official 2.x libs
ZeroMQ-<whatever>.exe /S /D=c:\tools\zeromq && echo ZeroMQ for Windows installed
:: DLL must be renamed
copy c:\tools\zeromq\bin\libzmq-v100-mt.dll c:\tools\zeromq\bin\libzmq.dll
:: Install Ruby Gem zmq
gem install zmq -- --with-zmq-dir=c:\tools\zeromq --with-zmq-lib=c:\tools\zeromq\bin
@mikofski
Copy link

only works with zeromq<=3. see incompatible changes to zeromq-4.x and rbzmq issue #32.

instead of use gem install ffi-zmq or czmq

@mikofski
Copy link

only works with zeromq<=3. see incompatible changes to zeromq-4.x and rbzmq issue #32.

instead of use gem install ffi-rzmq or czmq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment