ArangoDB v2.8 reached End of Life (EOL) and is no longer supported.
This documentation is outdated. Please see the most recent version here: Try latest
Compiling ArangoDB under Windows
I want to compile ArangoDB under Windows.
Note: For this recipe you need ArangoDB 2.3. or a version below. For ArangoDB since 2.4 look at the new Compiling ArangoDB under Windows.
While compiling ArangoDB under Linux is straight forward - simply execute
make - compiling under Windows
is a bit more demanding.
For this recipe, you need to install the following programs under Windows:
You need at least
makefrom cygwin. Cygwin also offers a
cmakedo not install this version.
Either version 2.8.12 or 3.0.2 should work. Make sure to download the 64bit version.
Please note that there are different versions of Visual Studio. The
Visual Studio for Windowswill not work. You need to install
Visual Studio (Express) for Windows Desktop. You must configure your path in such a way that the compiler can be found. One way is to execute the
vcvarsall.batscript from the
Building the required libraries
First of all, start a
bash from cygwin and clone the repository
and switch into the directory
arangodb-windows-libraries. This repository contains the open-source libraries which
are needed by ArangoDB.
- Google’s V8
- etcd from CoreOS
In order to build the corresponding 32bit and 64bit versions of the library, execute
make make install make 3rdParty
This will create a folder
3rdParty-Windows containing the headers and libraries.
Building ArangoDB itself
Clone the repository
and copy the
3rdParty-Windows folder into this directory
Now switch into the
ArangoDB folder and execute
in order to build the installer file for either 32bit or 64bit.
If you do not need the installer file, you can use the
cmake to build the executables. Instead of
mkdir Build32 cd Build32 cmake -G "Visual Studio 12" ..
This will create a solution file in the
Build32 folder. You can now start Visual Studio and open this
cmake to build the executables.
cmake --build . --config Release
Author: Frank Celler