Build Instructions

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Subversion Repository)
Line 3: Line 3:
 
==MS Windows==
 
==MS Windows==
  
OpenSim requires either the .Net framework version 2.0, or the latest Mono.
+
OpenSim requires either the .Net framework version 2.0, or the latest Mono. It also is compiled with the C# and not the C++ IDE for those who are using the no-cost Express Editions from MS.
  
 
=== Subversion Repository ===
 
=== Subversion Repository ===
Line 20: Line 20:
  
 
Double-click on the OpenSim.exe executable file in the 'bin' directory. This will start up OpenSim in standalone mode.
 
Double-click on the OpenSim.exe executable file in the 'bin' directory. This will start up OpenSim in standalone mode.
 +
 +
The debugger in VS2005 C# may be used to step through the code. For those that use a Cygwin shell, you may find that one or more dll's have permissions that cause problems running. Most find that a "chmod 777 *" from the bin directory solves this.
  
 
==Linux==
 
==Linux==

Revision as of 15:28, 4 August 2007

Contents

Installing from source

MS Windows

OpenSim requires either the .Net framework version 2.0, or the latest Mono. It also is compiled with the C# and not the C++ IDE for those who are using the no-cost Express Editions from MS.

Subversion Repository

1. Get the source code from the svn repository:

svn://opensecondlife.org/opensim/trunk

Building

2. In the top-level directory, run the 'runprebuild.bat' file. This will create both a VS2005 solution file, and a nant build file.

3. Open the resulting sln file with visual studio, and build it there, or if you prefer to use nant, run nant in the same top-level directory. This will build the executables.

Running

Double-click on the OpenSim.exe executable file in the 'bin' directory. This will start up OpenSim in standalone mode.

The debugger in VS2005 C# may be used to step through the code. For those that use a Cygwin shell, you may find that one or more dll's have permissions that cause problems running. Most find that a "chmod 777 *" from the bin directory solves this.

Linux

Subversion Repository

To check out the latest revision:

svn co svn://opensecondlife.org/opensim/trunk opensim.new/trunk

Building (Mono)

cd opensim.new/trunk
mono bin/Prebuild.exe /target nant
nant -buildfile:OpenSim.build

Running (Mono)

cd bin
mono OpenSim.exe

Binary releases

Some recent pre-compiled releases are available at OpenSim binaries. These are usually a few revs out-of-date.

Personal tools
General
About This Wiki