[Openal] MacOSX OpenAL 1.1 & FreeALUT problems &

George Warner geowar at apple.com
Thu Jul 5 11:11:02 PDT 2007


On Wed, 4 Jul 2007 15:56:59 +0200, Mauti <mauti at damnr6.com> wrote:

> Well, I'm on 10.4.9 and it tells me that OpenAL is a PowerPC
> document. [...]
> However does anyone have a clue how to compile it as universal binary
> or what I'm doing wrong?

Your problem is that you're linking against the system frameworks (Not UB on
PPC) instead of the SDK frameworks (which are UB everywhere).

Open your XCode project and then in the "Project" menu select the "Edit
Project Settings" item. In the window that appears select the "General" tab
and then in the "Cross-Develop Using Target SDK:" pop-up menu select "Mac OS
X 10.4 (Universal)" (or later).

You should now be building against the 10.4u SDK that includes UB stubs for
OpenAL. Just to check open the terminal and type:

term> cd /Developer/SDKs/MacOSX10.4u.sdk/System/Library/
term> cd Frameworks/OpenAL.framework/Versions/Current/
term> file OpenAL

OpenAL: Mach-O fat file with 2 architectures
OpenAL (for architecture i386): Mach-O dynamically linked shared library
stub i386
OpenAL (for architecture ppc):  Mach-O dynamically linked shared library
stub ppc

-- 
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)
 




More information about the Openal mailing list