[Fluxus] ode 0.11 on osx

gabor papp gabor.lists at mndl.hu
Fri Sep 11 02:02:07 PDT 2009


hi,

a couple of days ago macports updated ode to version 0.11. fluxus does 
not work with ode versions above 0.9.
a script like this:

(clear)

(active-box (build-cube))

crashes fluxus with this message:

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

ODE INTERNAL ERROR 1: assertion "bNormalizationResult" failed in 
_dNormalize4() [../../include/ode/odemath.h]
Abort trap

until we fix this, here's a workaround:

- download old ode portfile
curl -O 
http://trac.macports.org/export/47430/trunk/dports/devel/ode/Portfile
mkdir files
cd files/
curl -O 
http://trac.macports.org/export/47430/trunk/dports/devel/ode/files/patch-configure.diff
curl -O 
http://trac.macports.org/export/47430/trunk/dports/devel/ode/files/patch-include-ode-config.h.in.diff
cd ..

- if you have ode 0.11 installed, deactivate it
sudo port deactivate ode

- install ode 0.9
sudo port install

- when typing 'sudo port installed ode' you should see something like this:

The following ports are currently installed:
ode @0.9_1+darwin_9 (active)
ode @0.11.1_0

- don't forget to remove .sconf_temp and .sconsign_dblite from the 
fluxus directory before recompiling

- for some reason libode.dylib is compiled into the files instead of 
/opt/local/lib/libode.dylib, i'm not sure why. change install names to 
fix this:

install_name_tool -change libode.dylib /opt/local/lib/libode.dylib ./fluxus
install_name_tool -change libode.dylib /opt/local/lib/libode.dylib 
modules/fluxus-engine/fluxus-engine_ss.dylib





More information about the Fluxus mailing list