use the following commands for OSX
$ brew install zmq
$ brew install czmquse the following commands for Linux (Ubuntu/Debian/Mint)
$ apt-get install libzmq3-dev
$ apt-get install libczmq-devAfter you download the code, open terminal in that folder and run the following commands
$ cmake CMakeLists.txtYou should see CMakeFiles folder and Makefile getting created. Run the next command to build the final executable.
$ make