[ODE] Compiling/running in Mac OS X

Michael Keith nifta at mac.com
Sat Feb 1 12:40:02 2003


there's actually an error in test_ode.cpp

in the function testSmallMatrixMultiply(), the variable x (which is a 
dVector3) is initialised by calling:

dMakeRandomMatrix (x,MSIZE,1,1.0);

whereas it should in fact be:

dMakeRandomVector (x,3,1.0);


Mike



On Saturday, February 1, 2003, at 08:55  AM, Peggy Skelly wrote:

> I just got ode-0.035 to compile on Mac OS X using the makefile. (Took 
> a little editting to get it to find the X11 and GL headers, then to 
> get the c++ test programs to link.)
>
> Everything seems to build ok, but when I run test_ode.exe, it gets up 
> to testSmallMatrixMultiply(), passes it 6 times, then "Segmentation 
> fault." Thinking it could be associated with the stack overflow 
> problems, I tried relinking with the exta flags: -Wl,-stack_size 
> -Wl,10000000 -Wl,-stack_addr -Wl,c0000000. But I still get the same 
> segmentation fault at the same point. Any suggestions?
>
> Thanks,
> Peggy
>
> _______________________________________________
> ODE mailing list
> ODE@q12.org
> http://q12.org/mailman/listinfo/ode