[ODE] Fwd: Building on MacOSX (and now Linux)
Jon Watte (ODE)
hplus-ode at mindcontrol.org
Fri Apr 28 19:08:09 MST 2006
When you compile C++ with gcc, you have to remember to pass -lstdc++ on
the command line, else you'll get link errors for runtime support
symbols. Was that what you're looking for?
Cheers,
/ h+
Russel wrote:
> 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
>>
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
>
More information about the ODE
mailing list