aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-02-18 02:52:29 +0000
committerJustin Clark-Casey (justincc)2012-02-18 02:52:29 +0000
commit9846a1e56e28a5668d4a0a4076f02a9e359eef1a (patch)
tree14a98c359306c1748c8579d4a2f5ad76a2a85551 /OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC-9846a1e56e28a5668d4a0a4076f02a9e359eef1a.zip
opensim-SC-9846a1e56e28a5668d4a0a4076f02a9e359eef1a.tar.gz
opensim-SC-9846a1e56e28a5668d4a0a4076f02a9e359eef1a.tar.bz2
opensim-SC-9846a1e56e28a5668d4a0a4076f02a9e359eef1a.tar.xz
Report an error if the required native Windows ODE library can't be found.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 6ee2714..e8bb476 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -75,7 +75,10 @@ namespace OpenSim.Region.Physics.OdePlugin
75 nativeLibraryPath = "lib32/ode.dll"; 75 nativeLibraryPath = "lib32/ode.dll";
76 76
77 m_log.DebugFormat("[ODE PLUGIN]: Loading native Windows ODE library at {0}", nativeLibraryPath); 77 m_log.DebugFormat("[ODE PLUGIN]: Loading native Windows ODE library at {0}", nativeLibraryPath);
78 Util.LoadLibrary(nativeLibraryPath); 78
79 if (Util.LoadLibrary(nativeLibraryPath) == IntPtr.Zero)
80 m_log.ErrorFormat(
81 "[ODE PLUGIN]: Couldn't find native Windows ODE library at {0}", nativeLibraryPath);
79 } 82 }
80 83
81 // Initializing ODE only when a scene is created allows alternative ODE plugins to co-habit (according to 84 // Initializing ODE only when a scene is created allows alternative ODE plugins to co-habit (according to