On Nov 29, 2009, at 8:12 AM, Jari Häkkinen wrote: > On 2009-11-28 23.01, Erik Hofman wrote: >> Jari Häkkinen wrote: >>> My comments was to elaborate on the consequences of the removed alut >>> support by Apple. It is dangerous to use any alut.h you find on the web. >>> As you point out using Creatives alut.h may make things simpler >>> (macports.org is another option). I used freealuts alut.h which made the >>> compiler to choose an unexpected path (for macs) in the source during >>> compilation. The path chosen by the compiler required more alut >>> functionality than provided by my mac. However, using freealut libs and >>> alut.h, and Apples OpenAL framework works perfectly, I have done that >>> for a while. (Now I changed strategy as outlined in other postings in >>> this thread.) >>> >> From what I understand Apple is depreciating those old alut functions >> (but still keeps hem in the library for backwards compatibility) and is >> encouraging everyone to use the freealut package instead. And so do I. >> >> Erik > > Yes, you are right.
FYI, Here is Apple's policy on ALUT thing. http://developer.apple.com/mac/library/qa/qa2006/qa1504.html I believe we have a few options to use ALUT thingie in your code on Mac. 1) Use OpenAL.framework's backward compatibility (You need alut.h that comes with Creative's OpenAL.framework) 2) Use OpenAL framework + free-alut (You need to change some API names for avoiding name conflicts) 3) Change your code not to use ALUT (without embedding ALUT source code) One thing you must avoid is to add free-alut's alut.h to Apple's OpenAL.framework since this causes linker errors due to version mismatch. Anyway, I'll make a patch for configure.ac so we can support case 1 and 2 above so you can safely use free-alut. Best, Tat ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

