[Openal] MacOSX & iPhone OpenAL linking issue

E. Wing ewmailing at gmail.com
Wed Apr 30 14:39:57 PDT 2008


On 4/30/08, stevew at rtassoc.com <stevew at rtassoc.com> wrote:
> I'm using the OpenALExample that's meant for deployment to 10.5 so this
> isn't iPhone Specific, only meant to understand why it's not linking
> correctly for OpenAL in general.  I figure understanding the problems
> associated with the one will give me info for the other.
> Thanks for the reply.  I did try removing the -framework OpenAL and took out
> the OpenAL.Framework from XCode, then added OpenAL.Framework by going
> through the contextual menu Add->Existing Frameworks from
> /System/Library/Frameworks/OpenAL.Framework and the same issue still
> appears.  I also just tried it using XCode 2.5 and also am seeing the same
> issue...  So I think I'm doing something wrong here.

Very odd. The OepnALExample builds right out of the box for me (Xcode
3). No linking problems. Xcode 2.5 and Xcode 3 each come with their
own developer examples folder so you should have two different copies
of the example. Did you try compiling both or just one of them. Do you
have a pristine copy of the original? You might try just building it
again (don't touch any settings).

One last thing to check, in the 'Detail View' (right-side-top pane of
main Xcode window), look for the OpenAL.framework in the list and make
sure it is checked (on).

-Eric


More information about the Openal mailing list