Download

LATEST RELEASE

0.8-beta, released on November 20th, 2015

Releases with downloadable archives can be found on the github releases page.

POSIX Platforms

On POSIX platforms, nanomsg uses the standard autotools build procedure.

To build and install the library, unpack the package, ensure your system has a C compiler installed, and proceed with the following steps:

  1. Run ./configure, then make to build the library.
  2. Optionally, run make check to run the built-in test suite.
  3. Run make install as root.
  4. On Linux or other platforms which use ld.so for dynamic linking, run ldconfig or equivalent as root to update your systems shared library cache.

OSX platforms

OSX is a POSIX-compliant platform and so it should be built accordingly.

One special OSX feature though are universal libraries. If you want to build an universal library for both i386 and x86_64 architectures you should replace the ./configure line with the following:

CFLAGS="-arch i386 -arch x86_64" ./configure -disable-dependency-tracking

Windows Platforms

On Windows platforms, nanomsg uses the CMake build system.

To build and install the library, unpack the package, ensure your system has CMake and MSVC compiler installed, and proceed with the following steps:

  1. Run cmake . to build the MSVC project.
  2. Open the solution nanomsg.sln in MSVC IDE.
  3. Build the entire solution.
  4. Optionally, build RUN_TESTS project to run the test suite.

Language Bindings

For the list of bindings to different programming languages check the documentation section.

More Information

Refer to the README and INSTALL files included with the nanomsg distribution, or ask on the mailing list.