Build from source

Building Hypertable for Windows from source requires at least Microsoft Visual Studio 2010 Professional.

 

Browse through or download the ht4w source

Browse through or download the ht4w source from github. Alternatively, get the source from the repository, create a projects folder (the path must not contain any spaces) and use:

mkdir hypertable
cd hypertable
git clone git://github.com/andysoftdev/ht4w.git

 

Download and install boost

Download the latest boost version either from boost or from sourceforge. Unpack the content of the package (i.e. the content of the root folder, e.g. of the boost_1_54_0\) into ht4w\deps\boost\ and run:

ht4w\deps\boost\build-[v100|v110]-win32.bat
ht4w\deps\boost\build-[v100|v110]-x64.bat

When the build is successfully completed the intermediate files located in ht4w\build\deps\boost can be deleted.

 

Download and install Berkeley DB

Download the latest Berkeley DB from Oracle. Unpack the content of the package (i.e. the content of the root folder, e.g. of the db-6.0.20\) into ht4w\deps\db\ and run:

cscript ht4w\deps\db\libdb.js

 

Build Hypertable servers, clients and tools

Open the ht4w solution (ht4w\ht4w.sln) with Microsoft Visual Studio 2010 and build its configurations. Alternatively, open the Visual Studio command prompt and type:

cd ht4w
msbuild ht4w.buildproj

or, for a complete rebuild, type:

cd ht4w
msbuild ht4w.buildproj /t:Clean;Make