[ODE] Compiling ode-lib

Rodrigo Hernandez kwizatz at aeongames.com
Sun Mar 26 14:09:57 MST 2006


I think I know why, I forgot there is a workaround not to use libtool to 
generate the shared libraries,
that needs to be fixed as well, shouldnt be much of a problem, but its 
not a 5 minute solution.



Wesley Smith wrote:

>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