Skip to the content.

Building OpenSim from Source

This covers getting the source and compiling it. If you just want to run it, you still need to build (OpenSim does not ship prebuilt binaries in this repository).

1. Get the source

git clone git://opensimulator.org/git/opensim
cd opensim

Or clone from the GitHub mirror if you prefer. Use a fresh checkout – do not build inside a directory with spaces in the path.

2. Generate project files

OpenSim uses prebuild to generate the .csproj/solution files from prebuild.xml.

Windows:

runprebuild.bat

Linux / macOS:

./runprebuild.sh

This produces OpenSim.sln and the per-folder project files.

3. Build

dotnet build --configuration Release OpenSim.sln

The compiled output lands in the bin/ directory. You can also open OpenSim.sln in Visual Studio and build the solution there.

4. What ends up in bin/

After a build, bin/ contains the executables and the default configuration files:

5. First run & configuration

You configure OpenSim by copying the .example files to real .ini files and editing them. The two main choices are:

The build itself does not need configuration; configuration happens in bin/ after the build, as described in those pages.

Troubleshooting the build