From 4561acf35ad5537000269969f1b5d3ade77508b1 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 24 Oct 2003 11:42:07 +0000 Subject: [PATCH] updated the build instructions. --- docs/index.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs/index.html b/docs/index.html index c612b1c64..eea54ca7e 100755 --- a/docs/index.html +++ b/docs/index.html @@ -73,6 +73,39 @@ path where boost is installed (e.g. c:\boost_1_30_2 on windows). Then you can ju bjam in the libtorrent directory.

+

+The Jamfile doesn't work yet. On unix-systems you can use the makefile however. You +first have to build boost.thread and boost.filesystem. You do this by, in the directory +'boost-1.30.2/tools/build/jam_src' run the build script ./build.sh. This should +produce at least one folder with the 'bin' prefix (and the rest of the name describes +your platform). Put the files in that folder somewhere in your path. +

+ +

+You can then invoke bjam in the directories 'boost-1.30.2/libs/thread/build' and +'boost-1.30.2/libs/filesystem/build'. That will produce the needed libraries. Put these +libraries in the libtorrent root directory. You then have to modify the makefile to use +you prefered compiler and to have the correct path to your boost istallation. +

+ +

+Then the makefile should be able to do the rest. +

+ +

+When building (with boost 1.30.2) on linux and solaris however, I found that I had to make the following +modifications to the boost.date-time library. In the file: +'boost-1.30.2/boost/date_time/gregorian_calendar.hpp' line 59. Add 'boost/date_time/' +to the include path. +

+ +

And the second modification was in the file: +'boost-1.30.2/boost/date_time/microsec_time_clock.hpp' add the following include at the top +of the file: +

+ +#include "boost/cstdint.hpp" +

TODO: more detailed build instructions.