Skip to content
István Papp edited this page Dec 20, 2016 · 5 revisions

ZeroMQ notes

Install ZeroMQ library

Install JZMQ - Java binging for ZeroMQ

JZMQ-API - abstracting over ZMQ protocol implementation

ZeroMQ tooling

  • zmq-spy - simple command line application to spying a zmq socket

    • Compatible socket types: REQ, REP, DEALER, and ROUTER

  • ZMCat - python command line tool

  • ZProject - project generation

Build on Windows 10 x64

  • Build libzmq with vs2015

    • Download libzmq sources from github: https://github.com/zeromq/libzmq/releases

    • Unpack it to C:\zeromq

    • Set ZEROMQ_HOME environment variable to C:\zeromq

    • Open Visual Studio 2015 solution in $ZEROMQ_HOME\builds\msvc\vs2015\ folder.

    • Change profile to 'DynRelease' and select platform (x64)

    • Build the project.

  • Build jzmq with vs2015:

    • Download jzmq sources from github: https://github.com/zeromq/jzmq/releases

    • Create $ZEROMQ_HOME/java folder and unpack sources into it.

    • Open Visual Studio solution in $ZEROMQ_HOME\builds\msvc folder.

    • Change profile to 'Release' and select platform (x64)

    • Open jzmq project properties and add the following paths in VC++ directories:

  • Include directories: ..\;$ZEROMQ_HOME\java\builds\msvc;$ZEROMQ_HOME\include;$JAVA_HOME\include\win32;$JAVA_HOME\include

  • Library directories: $ZEROMQ_HOME\bin\x64\Release\v140\dynamic;$JAVA_HOME\lib

    • Build the project.