aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Mon Mar 09, 2009 10:31 pm Post subject: DerelictODE Updated |
|
|
DerelictODE has been updated to ODE version 0.11. It now uses the non-typedef function pointer syntax (forgot to put that in the commit log). Internally, the 17 files that existed have been condensed into 2: odetypes.d and odefuncs.d. This doesn't break anything, as users can (and should) still import derelict.ode.ode as before. This is going to become the standard for (most) Derelict packages. I'll be doing the same for SDL soon.
After examining the build configuration for ODE and actually building it from source myself (on Windows), I realized it would be a good idea to add some library names to the list that Derelict looks for by default. Now, if you have version=DerelictODE_DoublePrecision set, the loader will look for ode_double.dll on Win and libode_double.so on Linux. If not, it will look for ode_single.dll on Win and libode_single.so on Linux. These names were prepended to the existing lists, so if they aren't found the loader will still search for the existing names. It's up to the user to make sure that Derelict is compiled with the same dReal precision as the ode dll that gets loaded. _________________ The One With D | The One With Aldacron | D Bits |
|