Table of Contents

Compiling

Linux

Get the latest version of Torium, and install the dependencies mentioned on the download page. Extract the archive and run the following:

$ ./configure
$ make
$ make install

The last command might require root privileges depending on where you are installing Torium. You can choose where to install by giving 'configure' the prefix option. By default, it will be installed to /usr/local, to switch to /usr by running the following:

$ ./configure --prefix=/usr

To build a debug version:

$ ./configure --enable-debug

Windows XP 32bit

Using Dev-C++

1. Compiling Boost

Extract boost_1_38_0 to a suitable directory, I used C:\src
Download boost-jam from here
Extract boost-jam to C:\src\jam
Open a cmd shell
Add boost-jam to your PATH environment variable

set PATH=%PATH%;C:\src\jam

Change your current directory to C:\src\boost_1_38_0

cd C:\src\boost_1_38_0

Start compiling

bjam threading=multi variant=release link=shared toolset=gcc --build-dir="C:\build\boost-binary" --prefix="C:\build" --without-python --without-mpi install

Get a pot of coffee, you'll need it
When you're done, jump to the next step, compiling libtorrent

2. Compiling Libtorrent

Extract libtorrent-rasterbar-0.14.2 to C:\src
Apply this patch to libtorrent-rasterbar-0.14.2
Change your current directory to C:\src\libtorrent-rasterbar-0.14.2

cd C:\src\libtorrent-rasterbar-0.14.2

Set the environment variable BOOST_ROOT to C:\src\boost_1_38_0

set BOOST_ROOT=C:\src\boost_1_38_0

Start compiling

bjam toolset=gcc boost=source openssl=off link=shared variant=release

Get half a pot of coffee

todo: fix more!