On Windows automatically load the correct native ODE library depending on whether the process is 32-bit or 64-bit

In theory, this means that a 64-bit Windows OS user can now run OpenSim.exe with ODE and use more than 2 (or 3) GB of memory.
However, this is completely untested since I don't currently own a 64-bit Windows box.  Feedback appreciated.
Using OpenSim.32BitLaunch.exe should continue to work.  Other platforms are unaffected.
This will currently not work with sqlite - I will add that too if this works.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-02-18 00:33:52 +00:00
parent d03e878d53
commit b817c337dc
5 changed files with 64 additions and 5 deletions

View File

@@ -30,7 +30,8 @@ using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Nini.Config;
using log4net;
using log4net;
using OpenSim.Framework;
namespace OpenSim.Region.Physics.Manager
{