[Openal] MacOSX OpenAL 1.1 & FreeALUT problems &
Mauti
mauti at damnr6.com
Thu Jul 5 12:12:37 PDT 2007
Hi George,
thanks for your detailed answer. My project used always the 10.4
universal SDK, however you are right I obviously linked against the
system frameworks and not the SDK frameworks, because when I added a
framework I used the "add existing framework" cmd and I thought it
leads me to the correct frameworks. But it seems that per default it
opens the System framework directory and not the chosen SDK System
frameworks directory. That was the fault.
I think that happens if you have never done a project in Xcode before.
Thanks,
Mauti
Am 05.07.2007 um 20:11 schrieb George Warner:
> 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