[Openal] MacOSX OpenAL 1.1 & FreeALUT problems & universal
binary issues
Mauti
mauti at damnr6.com
Wed Jul 4 13:24:28 PDT 2007
Alright I got it!!! =)
I downloaded the source code and compiled a clean universal binary
framework of OpenAL and replaced mine.
So back to my freealut issues: I tried again to build a lib with a
modified freealut code(I renamed the freealut functions that are
still in the MacOSX version of OpenAL to avoid multiple definition
errors) and out of the sudden finally my game has built in sound =)
Thanks for everyone who tried to help.
@ Peter: Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
OpenAL.framework/OpenAL is indeed a universal binary but it seems I
also had to replace Developer/SDKs/MacOSX10.4u.sdk/Library/
Frameworks/ which is an alias to Library/Frameworks/OpenAL with a
universal binary version. Don't know why, but it works so I don't
care ;-)
I just have to do some tests on other Macs and hope it works there too.
Thanks again to everyone. Next goal is to write an ogg loader so I
don't have to use large wav files.
Greetings from Vienna,
Mauti
Am 04.07.2007 um 19:25 schrieb Mauti:
> Hi Peter,
>
> well that's what I wanted to use. I just added the OpenAL framework
> that comes along with Tiger. When I compile it for PPC no big deal.
> However for an unkown reason as soon as I want to build it as
> universal binary I get the warning below:
>
> /usr/bin/ld: warning /Developer/SDKs/MacOSX10.4u.sdk/Library/
> Frameworks/OpenAL.framework/OpenAL cputype (18, architecture ppc)
> does not match cputype (7) for specified -arch flag: i386 (file not
> loaded)
>
> I don't have any troubles with OpenGL and GLUT, which also are
> just the standard PPC versions that came along with my version of
> Tiger. Do I miss something or why doesn't it compile right?
>
> Thanks,
>
> Mauti
>
>
> Am 04.07.2007 um 17:27 schrieb Peter Mulholland:
>
>> Hello Mauti,
>>
>> Wednesday, July 4, 2007, 2:56:59 PM, you wrote:
>>
>>
>>> Well I thought I could recreate the OpenAL framework in XCode as
>>> universal binary, because the complete(?) source code of OpenAL is
>>> available in the svn repository!?
>>
>>> However does anyone have a clue how to compile it as universal
>>> binary
>>> or what I'm doing wrong?
>>
>> Check out all of the code. The xcode project should already be setup
>> to build a UB.
>>
>> Also - if you are only targeting 10.4, why not just use the
>> OpenAL.framework that Apple ship with that OS ?
>>
>> --
>> Best regards,
>> Peter mailto:darkmatter at blueyonder.co.uk
>>
>> _______________________________________________
>> Openal mailing list
>> Openal at opensource.creative.com
>> http://opensource.creative.com/mailman/listinfo/openal
>>
>
> _______________________________________________
> Openal mailing list
> Openal at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal
>
More information about the Openal
mailing list