Wiki

Clone wiki

oakfoam / Install

Install

These are the instructions for installation of Oakfoam.

For pre-built Linux and Windows builds, please refer to the main website at oakfoam.com.

Requirements

You will need the following minimum requirements to build Oakfoam:

On Ubuntu, you can get the above requirements by typing: $ sudo apt-get install g++ libboost-all-dev.

In order to use the code repository, you will also need:

Create a Local Repo

This is only required if you want to work with the newest code version.

$ hg clone http://bitbucket.org/francoisvn/oakfoam
$ cd oakfoam

Get a Current Dump

This is useful if you just want to quickly try out Oakfoam.

$ wget http://bitbucket.org/francoisvn/oakfoam/get/tip.tar.gz
$ tar -xzf tip.tar.gz
$ cd francoisvn-oakfoam-tip

Build

$ ./configure
$ make

Build Options

When running configure, a number of options can alter the build process. In order to enable the web interface, include --with-web. In order to use the Hoard memory allocator, include --with-hoard=<libdir>. For example: ./configure --with-web --with-hoard=/opt/hoard/src will setup a build process to build Oakfoam with the web interface and using Hoard (pre-built) in the /opt/hoard directory.

Hoard is an open-source memory allocator. To download it, go to hoard.org.

Run

$ ./oakfoam

Change to a Specific Version

$ hg up v0.0.x

Note: use $ hg tags to see available versions

Get the Latest Changes from the Main Repo

$ hg pull
$ hg up tip

Updated