Can't link to the OpenAL lib

View previous topic View next topic Go down

Can't link to the OpenAL lib

Post  cgriffin on Thu Oct 09, 2008 11:20 am

I'm trying to run tutorial 1. When I try to compile it reports symbol not found errors for what looks like all the OpenAL calls. I have checked to be sure the framework is included and points to the right version in the iPhone SDK. Any ideas what could be wrong?

Thanks,
Chris

cgriffin

Posts : 5
Join date : 2008-10-09

View user profile

Back to top Go down

Re: Can't link to the OpenAL lib

Post  sio2interactive on Thu Oct 09, 2008 4:05 pm

OpenAL comes by default with XCode... maybe reinstall?
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Can't link to the OpenAL lib

Post  cgriffin on Thu Oct 09, 2008 4:46 pm

I tried removing it and re-adding it to the project to no avail. Sad

I've tried other tutorials with the same result so maybe my version is bad.

cgriffin

Posts : 5
Join date : 2008-10-09

View user profile

Back to top Go down

Re: Can't link to the OpenAL lib

Post  sio2interactive on Thu Oct 09, 2008 7:15 pm

Dude, I have absolutely no idea... maybe reinstall Xcode from scratch this is like a basic framework that comes with the iPhone SDK, I don't see any reason why it would be missing or be unavailable at compilation time...

If someone have a better guess than me on this one please share it in order to help Chris...

Sorry,

Cheers,
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Can't link to the OpenAL lib

Post  cgriffin on Fri Oct 10, 2008 11:50 am

OK for anyone who runs into this later here is the answer:

http://forums.macrumors.com/showthread.php?p=6280337#post6280337

It's the last post. The quick answer is to rename the OpenAL.framework folder that is in /Libraries/Frameworks. For some reason XCode is trying to link the iPhone (ARM processor) with Mac OS X (Intel processor) libraries.

cgriffin

Posts : 5
Join date : 2008-10-09

View user profile

Back to top Go down

Re: Can't link to the OpenAL lib

Post  sio2interactive on Fri Oct 10, 2008 4:56 pm

Interesting... tks for sharing the solution!
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Can't link to the OpenAL lib

Post  lane on Thu Oct 30, 2008 12:53 pm

cgriffin wrote:OK for anyone who runs into this later here is the answer:

http://forums.macrumors.com/showthread.php?p=6280337#post6280337

It's the last post. The quick answer is to rename the OpenAL.framework folder that is in /Libraries/Frameworks. For some reason XCode is trying to link the iPhone (ARM processor) with Mac OS X (Intel processor) libraries.
You can also simply remove the OpenAL framework in /Libraries/Frameworks, at least in my experience. This install does not seem to be part of the standard system, but I never could figure out what installed it.

lane

Posts : 2
Join date : 2008-10-30

View user profile

Back to top Go down

Re: Can't link to the OpenAL lib

Post  sio2interactive on Thu Oct 30, 2008 4:21 pm

It is it comes by default with the official iPhone SDK... since beta4 (the one that receive GL), I fully upgrade every new version and reinstall from scratch every time and I never had to select anything to add the OpenAL framework... it always been installed by default with the rest.

Cheers,
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Can't link to the OpenAL lib

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum