aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/BUILDING.md
blob: d5770f38aa41bc7e1fcbe2cd4d26175b3a419df5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Building on Windows

Steps:
 * runprebuild.bat
 * Load OpenSim.sln into Visual Studio .NET and build the solution.
 * chdir bin 
 * copy OpenSim.ini.example to OpenSim.ini and other appropriate files in config/config-include
 * run OpenSim.exe

# Building on Linux

Prereqs:
*	Mono >= 2.4.3
*	Nant >= 0.85
*	On some Linux distributions you may need to install additional packages.
	See http://opensimulator.org/wiki/Dependencies for more information.
*	May also use xbuild (included in mono distributions)
*	May use Monodevelop, a cross-platform IDE

From the distribution type:
 * ./runprebuild.sh
 * nant (or !* xbuild)
 * cd bin 
 * copy OpenSim.ini.example to OpenSim.ini and other appropriate files in config/config-include
 * run mono OpenSim.exe
 !* xbuild option switches
 !*          clean:  xbuild /target:clean
 !*          debug: (default) xbuild /property:Configuration=Debug
 !*          release: xbuild /property:Configuration=Release

# Using Monodevelop

From the distribution type:
 * ./runprebuild.sh
 * type monodevelop OpenSim.sln

# References
 
Helpful resources:
* http://opensimulator.org/wiki/Build_Instructions


# For Devuan ASCII (and likely Debian Stretch)

 * xbuild /p:TargetFrameworkVersion="v4.5"

For the shutdown hang, see -
    http://opensimulator.org/mantis/view.php?id=7743
	"Now for my purposes, I have replaced all instances of Environment.Exit, in ServicesServerBase.cs and BaseOpenSimServer.cs with System.Diagnostics.Process.GetCurrentProcess().Kill();"