On Mon, Mar 30, 2009 at 10:06:00PM +0200, Vincent Bernat wrote:
> OoO La  nuit ayant déjà  recouvert d'encre ce  jour du dimanche  29 mars
> 2009, vers 23:40, Gonéri Le Bouder <[email protected]> disait :
> 
> > Since libode 0.11-1, double precision is enabled, and so the -DdDOUBLE
> > CFLAG must be passed to gcc to unable it.
> > Libode-dev provide a ode-config script, please use it to get the correct
> > CFLAGS.
> 
> Hi!
> 
> When compiling with -DdDOUBLE, I get:
> 
> ode_check.h:13:2: error: #error Soya requires ODE to be configured with 
> PRECISION=SINGLE
> 
> The comment in this file says:
> /*
>  *   Check that ODE is configured to use floats and not doubles.
>  *   Otherwise chunk_add_float_endian_safe gets passed pointers
>  *   of the wrong type.
>  *
>  *   Greg Ewing, March 2007
>  *   [email protected]
>  */
It's something I missed when I unabled the double precision in ODE. In
definitions/ode/ctype.pxd, dReal needs to be changed to long. Some
adjustment are needed in the code too.

Cheers,

      Gonéri

Attachment: signature.asc
Description: Digital signature

Reply via email to