[ODE] Compiling ode-lib

Wesley Smith wesley.hoke at gmail.com
Sun Mar 26 13:31:45 MST 2006


Thanks for the suggestion.  I was able to build libode.a.  Funny
enough it also attemted to build libode.so as well.  Obvioiusly, this
failed.  Wonder why it tried to build both?

best,
wes

On 3/26/06, Rodrigo Hernandez <kwizatz at aeongames.com> wrote:
>
> We probably have to change configure.in, add a new extension for OSX
> shared libraries, and remove the -shared flag when building for it,
> In the meantime, unless you totally MUST use the shared library, add
> --disable-shared when running configure.
>
>
>
> Wesley Smith wrote:
>
> >Hi again,
> >I cd'd into ode and typed make.  Everything compiled fine, but the
> >linking step failed.  Here's the error:
> >
> >g++ -I../../include -I../../include   -g   -o libode.so -shared -fPIC
> >obstack.o collision_util.o array.o ode.o error.o odemath.o
> >collision_kernel.o export-dif.o quickstep.o collision_quadtreespace.o
> >rotation.o collision_space.o collision_std.o joint.o step.o
> >collision_transform.o lcp.o stepfast.o mass.o testing.o mat.o timer.o
> >matrix.o util.o memory.o misc.o   fastldlt.o fastltsolve.o fastdot.o
> >fastlsolve.o   -lstdc++ -lm -lpthread
> >powerpc-apple-darwin8-g++-4.0.1: unrecognized option '-shared'
> >/usr/bin/ld: Undefined symbols:
> >_main
> >collect2: ld returned 1 exit status
> >
> >Looks like the switch for building the library was not the correct
> >valid. Anyone else on OSX know how to handle this?
> >
> >thanks,
> >wes
> >
> >_______________________________________________
> >ODE mailing list
> >ODE at q12.org
> >http://q12.org/mailman/listinfo/ode
> >
> >
> >
>
>



More information about the ODE mailing list