First, "--enable-release" doesn't exist anymore; there's a
"--disable-asserts", that disables the internal asserts. Other
optimizations should be passed through CFLAGS, CXXFLAGS and LDFLAGS,
like usual for automake-based packages.
>>> visualisation part), I get the following error message:
>>> ODE INTERNAL ERROR 1: assertion "bNormalizationResult" failed in
>>> _dNormalize4() [../../include/ode/odemath.h]
>>> Asking the net, I found that this happens if the dimensions and
>>> weights of the objects are not chosen with care.
Actually, this is a pretty generic error. Normalization routines are
called from everywhere inside ODE; it can be caused by bad user data,
memory corruption, miss-compilation of buggy code (but I hope we fixed
all of it by now), single/double mismatch and so on. Your best bet is to
run your program in a debugger and let it catch the SIGABRT signal. Then
have a look at the stack backtrace to see which part of the code is
failing - and probably inspect the data too, watch out for infinity and NaN.
You might want to run configure as:
./configure --with-x --with-drawstuff=OSX --enable-demos --enable-shared
--enable-double-precision CFLAGS="-Wall -g3" CXXFLAGS="-Wall -g3"
LDFLAGS="-g3"
so you get useful information from the debugger. Running the program on
valgrind to check for memory corruption might be a good idea also.
--
Daniel K. O.
"The only way to succeed is to build success yourself"