Hello,
I’m trying to compile ODE natives for Mac OS X by following the instructions in odejava-jni/src/readme.txt but I’m having problems compiling ode rev 996:
odejava/odejava-jni joh$ svn co https://svn.sourceforge.net/svnroot/opende/trunk opende -r 996
<snip>
odejava/odejava-jni joh$ cd opende/
odejava/odejava-jni/opende joh$ patch -p0 --dry-run < ../src/ode.patch
patching file include/ode/common.h
patching file include/ode/objects.h
patching file include/ode/odecpp.h
patching file ode/src/error.cpp
patching file ode/src/joint.cpp
patching file ode/src/joint.h
patching file ode/src/timer.cpp
odejava/odejava-jni/opende joh$ export CFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
odejava/odejava-jni/opende joh$ export CXXFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
odejava/odejava-jni/opende joh$ sh autogen.sh
<snip>
odejava/odejava-jni/opende joh$ ./configure --disable-dependency-tracking
<snip>
Configuration:
Target system type: powerpc-apple-darwin8.9.0
Build system type: powerpc-apple-darwin8.9.0
Host system type: powerpc-apple-darwin8.9.0
Use double precision: no
Use OPCODE: yes
Use gyroscopic term: yes
Is this a Pentium: no
Is the CPU x86-64: no
Is this a release build: no
Is this a debug build: no
Using SONAME: no
Headers will be installed in /usr/local/include/ode
Libraries will be installed in /usr/local/lib
odejava/odejava-jni/opende joh$ cd ode
odejava/odejava-jni/opende/ode joh$ make
<snip>
Making all in test
g++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I../../include -I../../include -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c -o test_collision.o test_collision.cpp
make[1]: *** No rule to make target `../../drawstuff/src/libdrawstuff.a', needed by `test_collision'. Stop.
make: *** [all-recursive] Error 1
Anyone know how I can fix this?
- joh