Skip to content

Build Instructions (Mac OSX)

afiedler edited this page Jun 22, 2012 · 3 revisions

How to build on Mac OS X

Introduction

To install this software on Mac OS X, first get and install XCode. Also install the homebrew package manager.

Install libraries

You'll need to install a bunch of libraries to build TSDB.

First, install Qt to get qmake, which is the Makefile system used by this project. Qt is also used for the TSDB GUI. Install it via homebrew with brew install qt.

Next, install the Boost C++ library, with brew install boost.

You'll need to install the TinyXML++ library, which unfortunately doesn't have a homebrew forumla. So, we'll build it from source. Install the premake build system: brew install premake. Checkout the TinyXML++ source code like this: svn checkout http://ticpp.googlecode.com/svn/trunk/ ticpp. Switch to the ticpp folder, and run premake: premake4 gmake. Now, build with make CONFIG=Release.

Finally, install HDF5: brew install hdf5.

Build TSDB

Clone the repository and run premake4 gmake, then make. You can also run premake4 xcode3 to make an XCode project.