Libraries depending on dev-games/ode can either be compiled using SINGLE or DOUBLE precision (float/double). The default is most often SINGLE, since this gives a performance boost, especially on slower, more ancient machines (and games need to be universal). Sadly, ODE is set to compile with DOUBLE precision by default, which causes incompatibilities of the kind that all depending libraries 'freak out' and fail to perform anything expected. A "double-precision" use flag should be added (just like on the dev-games/ogre ebuild). Or, setting the default back to SINGLE (preferably, the first, of course).
and how exactly does one configure it to use double versus single ?
Lyndir ode-0.5 # less INSTALL 1 2 here are the steps to buid ODE: 3 [...] 12 (2) edit the settings in the file config/user-settings. the list of supported 13 platforms is given in that file. Lyndir ode-0.5 # cat config/user-settings # ODE user settings: the following variables must be set by the user [...] # (2) the floating point precision to use (either "SINGLE" or "DOUBLE") PRECISION=SINGLE #PRECISION=DOUBLE Wasn't too hard :P
in cvs