FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DerelictODE Updated

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Mon Mar 09, 2009 10:31 pm    Post subject: DerelictODE Updated Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
aliloko



Joined: 31 Jan 2008
Posts: 15

PostPosted: Sat Mar 21, 2009 6:18 am    Post subject: Reply with quote

Nice !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group