Building From Source

From Radegast

Jump to: navigation, search

Contents

Windows

Prerequisites

  1. Subversion (SVN) client such as Tortoise SVN
  2. Visual Studio 2008 or 2010, or the free Visual C# Express Edition

Getting the Source

First create a new folder somewhere on disk, let's call it rad_build.

Now you need to checkout both Radegast and LibOMV source code in that folder.

In Tortoise SVN you would open rad_build folder in Explorer, then right click on it and select SVN Checkout.

  1. Do it first using the http://radegast.googlecode.com/svn/trunk/ as URL of repository field to checkout Radegast and specify radegast as the checkout folder name inside rad_build.
  2. Then repeat the same for LibOMV using http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk/ URL and folder name libopenmetaverse.

If you are using a command line svn tool you would do (and you can skip the next section about compiling):

c:
mkdir c:\rad_build
cd c:\rad_build
svn checkout http://radegast.googlecode.com/svn/trunk/ radegast
svn checkout http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk/ libopenmetaverse
cd radegast
runprebuild2008.bat
compile.bat

Compiling

  1. Open rad_build\radegast folder in Explorer.
  2. Double click on runprebuild2008.bat (this should create Radegast.sln and compile.bat files, and bin folder).
  3. Double click on Radegast.sln which should open Visual Studio IDE.
  4. Press F6 (or Build -> Build Solution from the menu), and this should produce Radegast binaries.

Alternatively after clicking on runprebuild2008.bat you can double-click compile.bat which should produce compiled version in the bin folder.


Unix

Prerequisites

  1. mono version 2.4 or 2.6
  2. nant (version 0.86beta1 or better, 0.85 will not work)
  3. Subversion client

Getting the source

You need to checkout LibOMV and Radegast source in the same dir:

mkdir rad_build
cd rad_build
svn checkout http://radegast.googlecode.com/svn/trunk/ radegast
svn checkout http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk/ libopenmetaverse


Compiling and running

Change into the directory where Radegast source was checked out:

cd radegast
./runprebuild.sh
nant Release build

Note: It's safe to ignore errors in building the voice plugin. It does not currently build on Unix.

To start Radegast change to newly created bin directory:

cd bin
mono Radegast.exe
Personal tools