Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.

Developing Arrow C++ on Windows

System setup, conda, and conda-forge

Since some of the Arrow developers work in the Python ecosystem, we are investing time in maintaining the thirdparty build dependencies for Arrow and related C++ libraries using the conda package manager. Others are free to add other development instructions for Windows here.

Visual Studio

Microsoft provides the free Visual Studio 2017 Community edition. When doing development, you must launch the developer command prompt using

1 "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" -arch=amd64

It's easiest to configure a console emulator like cmder to automatically launch this when starting a new development console.

conda and package toolchain

Miniconda is a minimal Python distribution including the conda package manager. To get started, download and install a 64-bit distribution.

We recommend using packages from conda-forge

1 conda config --add channels conda-forge

Now, you can bootstrap a build environment

1 conda create -n arrow-dev cmake git boost

Building with NMake

Activate your conda build environment:

1 activate arrow-dev

Now, do an out of source build using nmake:

1 cd cpp
2 mkdir build
3 cd build
4 cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release ..
5 nmake

When using conda, only release builds are currently supported.

Build using Visual Studio (MSVC) Solution Files

To build on the command line by instead generating a MSVC solution, instead run:

1 cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=Release ..
2 cmake --build . --config Release