Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode and OpenAL framework



On Apr 28, 2007, at 12:07 PM, email@hidden wrote:

I have encountered some strange behaviour using Xcode to try to build
a project with the OpenAL framework which comes in /System/Library/
Frameworks. The source compiles without errors. Then I get a single
error message:

Command /usr/bin/g++-4.0 failed with exit code 1

Looking at the transcript I see:
/usr/bin/ld: can't locate framework for: -framework OpenAL
collect2: ld returned 1 exit status

I have no idea why this is. I have added the OpenAL framework to the
project. The project also uses OpenGL and several other frameworks
and it does not seem to generate errors relating to those.

It sounds like you're compiling against the installed System version of the framework, but I believe the linker will attempt to link against the one in the SDK you're targeting. If that's the case, keep in mind that OpenAL is only going to be in the SDKs for 10.4u; it's not in 10.3 or the 10.3.x SDKs.


--
Brad Oliver
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.