[ODE] Fwd: Building on MacOSX (and now Linux)

Russel russel at appliedminds.net
Fri Apr 28 14:59:34 MST 2006


Meant to send this to the list, sorry.
> From: Russel <russel at appliedminds.net>
> To: Ryan Gardner <ryebrye at gmail.com>
>
>
>> I found an m4 script on the web that may or may not help solve  
>> this problem. It's located here:
>>
>> http://autoconf-archive.cryp.to/ax_check_gl.html
>>
>>
>
> It doesn't help much.  I was able to get this part to work by  
> putting a test in for OS X and then forcing CFLAGS and LDFLAGS  
> appropriately.  I didn't try AGL or GLUT, but it worked with the  
> libraries in /usr/X11R6/.  The check I added adds X_CFLAGS and  
> X_LIBS to CFLAGS and LDFLAGS, then I had to modify Makefile.am in  
> drawstuff and dstest to incorporate these changes.
>
>> ld: Undefined symbols:
>> __Unwind_Resume
>>
>
> Getting rid of this was even uglier, if you can believe that.  I  
> ended up manually editing the Makefile to do _ALL_ the compilation  
> with g++ instead of gcc.  There must be some library you can link  
> in to avoid this, but I couldn't find it.
>
> Russel
>



More information about the ODE mailing list