[ODE] help: build 0.9 under msys + mingw fails due to opcode

Paulo Lopes pmlopes at gmail.com
Thu Oct 25 12:07:54 MST 2007


I'm 100% new to ode, and i was trying to build it using my msys +
mingw environment since it helps me a lot to code for both linux and
windows with minimal code changes.

If i download the 0.9 src, run the autogen.sh script it will generate
me the configure script which once run will generate me the Makefile.
The problem is when i just run:


The build fails with this:

gcc -DHAVE_CONFIG_H -I. -I../../include/ode  -I../../include
-I../../include -g -O1 -fPIC -g -MT libfast_a-fastlsolve.o -MD -MP -MF
.deps/libfast_a-fastlsolve.Tpo -c -o libfast_a-fastlsolve.o `test -f
'fastlsolve.c' || echo './'`fastlsolve.c
fastlsolve.c:1: warning: -fPIC ignored for target (all code is
position independent)
mv -f .deps/libfast_a-fastlsolve.Tpo .deps/libfast_a-fastlsolve.Po
rm -f libfast.a
ar cru libfast.a libfast_a-fastldlt.o libfast_a-fastltsolve.o
libfast_a-fastdot.o libfast_a-fastlsolve.o
ranlib libfast.a
make[2]: Leaving directory `C:/msys/devel/extralibs/ode-0.9/ode/src'
make[2]: *** No rule to make target
`/devel/extralibs/ode-0.9/OPCODE/OPC_AABBCollider.cpp', needed by
`libOPCODE_a-OPC_AABBCollider.o'.  Stop.
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `C:/msys/devel/extralibs/ode-0.9/ode'
make: *** [all-recursive] Error 1

if i disable trimesh then it builds. I guess the makefile is missing
some build actions to make opcode first. Can someone give me some help
on where to enable it?


More information about the ODE mailing list