CZMQ comes as source code, licensed under the Mozilla Public License version 2 (MPLv2).
Next Release Candidate
The next release candidate is v3.0.0, from 2014/10/15:
We recommend this release for new development, as it has a simpler and cleaner socket API. The V2 API is still supported, and marked as "deprecated".
Main changes over v2.2.2:
- New zsock class that works without contexts, and has smart constructors (create and connect/bind in one step).
- New zactor class for multithreaded development, evolved from old zthread attached threads.
- New zgossip discovery service.
- New zrex class for regular expressions.
- New process management functions in zsys.
These V2 classes are deprecated: zauth (rewritten as actor), zbeacon (rewritten as actor), zctx (deprecated), zmonitor (rewritten as actor), zmutex (deprecated), zproxy (rewritten as actor), zsocket (deprecated by zsock), zsockopt (deprecated by zsock_option), zthread (deprecated by zactor).
The current stable release is v2.2.0, from 2014/04/23:
If you want the latest master, get it from here:
git clone git://github.com/zeromq/czmq
Then do ./autogen.sh before continuing with the normal build process.
CZMQ has many language bindings, as projects on Github.
To build on UNIX-like systems
If you have free choice, the most comfortable OS for developing with ØMQ is probably Linux.
- Make sure that libtool, autoconf, automake are installed.
- Check whether uuid-dev package, uuid/e2fsprogs RPM or equivalent on your system is installed.
- Unpack the .tar.gz source archive.
- Run ./configure, followed by make.
- To install ØMQ system-wide run sudo make install.
- On Linux, run sudo ldconfig after installing CZMQ.
To see configuration options, run ./configure --help. Read INSTALL for more details.
To build on Windows
- You need Microsoft Visual C++ 2008 or newer.
- Unpack the .zip source archive.
- In Visual C++ open the solution builds/msvc/vsxxxx/czmq.sln.
- Build the solution.
- CZMQ will be in the lib subdirectory.