The problem is single vs. double precision - by default it is set to double on OS X. I'm working on a fix, think it's just a matter of adding compiler flag -dSINGLE

let you know in a sec if it works

On Jan 6, 2010, at 12:01 PM, gabor papp wrote:

I can't reproduce this with ode 0.11.1 - is there a particular command
which crashes? I've ran self-test, collide-seq.scm and
physics-joints.scm ok.
on osx i tried ode 0.11.1 with this script:

(define b (build-cube))
(active-box b)

got the following crash:

ODE Message 2: mass must be > 0 in dMassCheck() File mass.cpp Line 49

ODE Message 2: mass must be > 0 in dMassCheck() File mass.cpp Line 49

ODE Message 2: mass must be > 0 in dMassCheck() File mass.cpp Line 49

ODE INTERNAL ERROR 1: assertion "dMassCheck(mass)" failed in dBodySetMass() [ode.cpp]
Abort trap

best,
gabor

Evan Raskob
ML Studio
4-8 Arcola Street
London E8 2DJ
United Kingdom

http://mlstudio.co.uk
http://pixelist.info

Reply via email to