[ODE] FOUND IT!!!: build 0.9 under msys + mingw fails due to opcode

Paulo Lopes pmlopes at gmail.com
Fri Oct 26 01:39:36 MST 2007


Sorry for the spam, but it all works out of the box if i edit the
makefile on ode/src and replace all the full paths to relative paths,
then make "knows how to make" OPCODE and GIMPACT!!!

On 10/26/07, Bram Stolk <b.stolk at gmail.com> wrote:
> If you got the 0.9 release (as oposed to the SVN tree), it should already
> come with a premade configure
> Doesn't that one work either?
>
>   Bram
>
>
> On 10/25/07, Paulo Lopes <pmlopes at gmail.com> wrote:
> >
> > Hi,
> >
> > 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:
> >
> > ./configure
> > make
> >
> > 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?
> >
> > Thanks,
> > Paulo
> > _______________________________________________
> > ODE mailing list
> > ODE at ode.org
> > http://ode.org/mailman/listinfo/ode
> >
>
>
>
> --
> Zapp: Captain's log, stardate...er..
> Kif: Ohhh. April 13th.
> Zapp: April 13th. Point 2.


-- 
Paulo Lopes
www.scratchydreams.com


More information about the ODE mailing list