Hello,
I ran into the same problem today. I got drawstuff to compile on Snow
Leopard without changing the source code the latest ODE checkout from
SVN (rev 1706). I used the following script 'myconfigure'.
#!/bin/bash
# myconfigure
export CPPFLAGS=-I/usr/X11/include
export LDFLAGS="-L/usr/X11/lib -lGL -lGLU -lglut -lX11"
./configure --with-drawstuff=X11 --enable-demos "$@"
This will build the drawstuff library and most of the demos
correctly. However, it does fail on 'demo_ode.cpp' with the following
series of errors:
g++ -DHAVE_CONFIG_H -I. -I../../ode/src -I/Users/shane/Desktop/ode-
svn/include -DDRAWSTUFF_TEXTURE_PATH="\"/Users/shane/Desktop/ode-svn/
drawstuff/textures\"" -DdTRIMESH_ENABLED -I/usr/X11/include -DdSINGLE
-g -O2 -MT demo_ode.o -MD -MP -MF .deps/demo_ode.Tpo -c -o demo_ode.o
demo_ode.cpp
demo_ode.cpp:333:31: error: macro "dFactorCholesky" requires 3
arguments, but only 2 given
demo_ode.cpp:358:31: error: macro "dFactorCholesky" requires 3
arguments, but only 2 given
demo_ode.cpp:363:28: error: macro "dSolveCholesky" requires 4
arguments, but only 3 given
demo_ode.cpp:384:36: error: macro "dInvertPDMatrix" requires 4
arguments, but only 3 given
demo_ode.cpp:408:47: error: macro "dIsPositiveDefinite" requires 3
arguments, but only 2 given
demo_ode.cpp:409:47: error: macro "dIsPositiveDefinite" requires 3
arguments, but only 2 given
demo_ode.cpp:476:33: error: macro "dLDLTAddTL" requires 6 arguments,
but only 5 given
demo_ode.cpp:548:58: error: macro "dLDLTRemove" requires 9 arguments,
but only 8 given
Hope that helps.
-Shane
On Sep 8, 10:53 pm, hiroaki <
hiro...@mamemilk.com> wrote:
> im trying to compile drawstuff onSnowLeopard(version 10.6), but it