Installing the mongocxx driver

Prerequisites

  • Any standard Unix platform, or Windows 7 SP1+
  • A compiler that supports C++11 (gcc, clang, or Visual Studio)
  • CMake 3.2 or later
  • boost headers (optional)

We currently test the driver on the following platforms:

  • Linux with clang 3.8 and 6.0, GCC 5.4 and 7.5
  • macOS with Apple clang 11.0 using Boost 1.70.0
  • Windows with Visual Studio 2015 using Boost 1.60.0 and Visual Studio 2017

Versions older than the ones listed may not work and are not supported; use them at your own risk.

Versions newer than the ones listed above should work; if you have problems, please file a bug report via JIRA.

Installation

To configure and install the driver, follow the instructions for your platform:

Advanced Options