Getting started

svenstaro edited this page Jul 30, 2011 · 8 revisions

Dependencies

In order to use Ducttape, you need to acquire and compile its dependencies somehow. Depending on your environment, there are different ways to do so.

Installation

OS independent

If you just want to get a look at Ducttape without having to set up anything, you can use the Ducttape Development Environment. It is a virtual machine with everything set up already for you. The only requirement is that you have a processor with virtualisation hardware extensions or you will get an error on start-up.

If you have no idea how to use a virtual machine, just download VirtualBox, choose File -> Import and then select this OVA.

Arch Linux

pacman -S sfml bullet ogre boost mygui

Now just run cmake on Ducttape and compile it.

Ubuntu

The lowest supported Ubuntu version is Oneiric (11.10).

Add this PPA for Bullet. Next:

sudo apt-get update && sudo apt-get install bullet libboost-all-dev libogre-dev libois-dev git cmake doxygen graphviz checkinstall

Last task is getting SFML. Get it from git:

git clone https://github.com/LaurentGomila/SFML.git
cd SFML && mkdir build && cd build
cmake .. && make -j3 && sudo checkinstall
sudo dpkg -r sfml

Now just run cmake on Ducttape and compile it.

Windows

Download the most recent dependency package from our downloads section and drop the included "dependencies" dir into the Ducttape Engine root dir. Then just run CMake on it and it will automagically work.

OSX

Get gcc46 from macports and compile all dependencies, then compile Ducttape using cmake. You are on your own here for now, good luck.