Steve,
Thanks for the reply. I tried originally just adding the files (simpler is better!), but I got 38 linking errors then (sorry about the long post):
"_alSourcePlay", referenced from:
-[CDSoundEngine _startSound:channelId:pitchVal:panVal:gainVal:looping:checkState:] in CocosDenshion.o
"_AudioSessionSetProperty", referenced from:
-[CDAudioManager init:channelGroupDefinitions:channelGroupTotal:] in CDAudioManager.o
-[CDAudioManager init:channelGroupDefinitions:channelGroupTotal:] in CDAudioManager.o
-[CDAudioManager audioSessionResumed] in CDAudioManager.o
-[CDSoundEngine init:channelGroupTotal:audioSessionCategory:] in CocosDenshion.o
-[CDSoundEngine audioSessionResumed] in CocosDenshion.o
"_alcMakeContextCurrent", referenced from:
-[CDAudioManager audioSessionInterrupted] in CDAudioManager.o
-[CDAudioManager audioSessionResumed] in CDAudioManager.o
-[CDSoundEngine _initOpenAL] in CocosDenshion.o
-[CDSoundEngine audioSessionInterrupted] in CocosDenshion.o
-[CDSoundEngine audioSessionResumed] in CocosDenshion.o
"_alSourcef", referenced from:
-[CDSoundEngine _startSound:channelId:pitchVal:panVal:gainVal:looping:checkState:] in CocosDenshion.o
-[CDSoundEngine _startSound:channelId:pitchVal:panVal:gainVal:looping:checkState:] in CocosDenshion.o
-[CDSourceWrapper setPitch:] in CocosDenshion.o
-[CDSourceWrapper setGain:] in CocosDenshion.o
"_alSourcei", referenced from:
-[CDSoundEngine unloadBuffer:] in CocosDenshion.o
-[CDSoundEngine _startSound:channelId:pitchVal:panVal:gainVal:looping:checkState:] in CocosDenshion.o
-[CDSoundEngine _startSound:channelId:pitchVal:panVal:gainVal:looping:checkState:] in CocosDenshion.o
-[CDSourceWrapper setLooping:] in CocosDenshion.o
"_alGetListenerf", referenced from:
-[CDSoundEngine masterGain] in CocosDenshion.o
"_alListenerf", referenced from:
-[CDSoundEngine setMasterGain:] in CocosDenshion.o
"_AudioFileReadBytes", referenced from:
_loadWaveAudioData in CocosDenshion.o
"_alBufferData", referenced from:
-[CDSoundEngine loadBuffer:filePath:] in CocosDenshion.o
"_alSourceStop", referenced from:
-[CDSoundEngine unloadBuffer:] in CocosDenshion.o
-[CDSoundEngine _startSound:channelId:pitchVal:panVal:gainVal:looping:checkState:] in CocosDenshion.o
-[CDSoundEngine stopChannelGroup:] in CocosDenshion.o
-[CDSoundEngine stopSound:] in CocosDenshion.o
"_alcGetContextsDevice", referenced from:
-[CDSoundEngine dealloc] in CocosDenshion.o
"_alcCreateContext", referenced from:
-[CDSoundEngine _initOpenAL] in CocosDenshion.o
"_ExtAudioFileSetProperty", referenced from:
_loadCafAudioData in CocosDenshion.o
"_AudioSessionGetProperty", referenced from:
-[CDAudioManager init:channelGroupDefinitions:channelGroupTotal:] in CDAudioManager.o
"_alcDestroyContext", referenced from:
-[CDSoundEngine dealloc] in CocosDenshion.o
"_AudioSessionSetActive", referenced from:
-[CDAudioManager init:channelGroupDefinitions:channelGroupTotal:] in CDAudioManager.o
-[CDAudioManager init:channelGroupDefinitions:channelGroupTotal:] in CDAudioManager.o
-[CDAudioManager init:channelGroupDefinitions:channelGroupTotal:] in CDAudioManager.o
-[CDAudioManager audioSessionInterrupted] in CDAudioManager.o
-[CDAudioManager audioSessionResumed] in CDAudioManager.o
-[CDSoundEngine audioSessionInterrupted] in CocosDenshion.o
-[CDSoundEngine audioSessionResumed] in CocosDenshion.o
"_alGenSources", referenced from:
-[CDSoundEngine _initOpenAL] in CocosDenshion.o
"_alSourcefv", referenced from:
-[CDSoundEngine _startSound:channelId:pitchVal:panVal:gainVal:looping:checkState:] in CocosDenshion.o
-[CDSourceWrapper setPan:] in CocosDenshion.o
"_alDeleteSources", referenced from:
-[CDSoundEngine dealloc] in CocosDenshion.o
"_alcCloseDevice", referenced from:
-[CDSoundEngine dealloc] in CocosDenshion.o
"_alGenBuffers", referenced from:
-[CDSoundEngine _initOpenAL] in CocosDenshion.o
-[CDSoundEngine unloadBuffer:] in CocosDenshion.o
"_OBJC_CLASS_$_AVAudioPlayer", referenced from:
__objc_classrefs__DATA@0 in CDAudioManager.o
"_alDeleteBuffers", referenced from:
-[CDSoundEngine dealloc] in CocosDenshion.o
-[CDSoundEngine unloadBuffer:] in CocosDenshion.o
"_ExtAudioFileGetProperty", referenced from:
_loadCafAudioData in CocosDenshion.o
_loadCafAudioData in CocosDenshion.o
"_alGetSourcei", referenced from:
-[CDSoundEngine playSound:channelGroupId:pitch:pan:gain:loop:] in CocosDenshion.o
-[CDSoundEngine _startSound:channelId:pitchVal:panVal:gainVal:looping:checkState:] in CocosDenshion.o
-[CDSourceWrapper isPlaying] in CocosDenshion.o
"_AudioSessionInitialize", referenced from:
-[CDAudioManager init:channelGroupDefinitions:channelGroupTotal:] in CDAudioManager.o
-[CDSoundEngine init:channelGroupTotal:audioSessionCategory:] in CocosDenshion.o
"_AudioFileClose", referenced from:
_loadWaveAudioData in CocosDenshion.o
"_AudioFileOpenURL", referenced from:
_loadWaveAudioData in CocosDenshion.o
"_ExtAudioFileRead", referenced from:
_loadCafAudioData in CocosDenshion.o
"_alGetError", referenced from:
-[CDAudioManager audioSessionInterrupted] in CDAudioManager.o
-[CDAudioManager audioSessionInterrupted] in CDAudioManager.o
-[CDAudioManager audioSessionResumed] in CDAudioManager.o
-[CDAudioManager audioSessionResumed] in CDAudioManager.o
-[CDSoundEngine _initOpenAL] in CocosDenshion.o
-[CDSoundEngine _initOpenAL] in CocosDenshion.o
-[CDSoundEngine _initOpenAL] in CocosDenshion.o
-[CDSoundEngine dealloc] in CocosDenshion.o
-[CDSoundEngine dealloc] in CocosDenshion.o
-[CDSoundEngine unloadBuffer:] in CocosDenshion.o
-[CDSoundEngine unloadBuffer:] in CocosDenshion.o
-[CDSoundEngine unloadBuffer:] in CocosDenshion.o
-[CDSoundEngine unloadBuffer:] in CocosDenshion.o
-[CDSoundEngine loadBuffer:filePath:] in CocosDenshion.o
-[CDSoundEngine loadBuffer:filePath:] in CocosDenshion.o
-[CDSoundEngine _startSound:channelId:pitchVal:panVal:gainVal:looping:checkState:] in CocosDenshion.o
-[CDSoundEngine _startSound:channelId:pitchVal:panVal:gainVal:looping:checkState:] in CocosDenshion.o
-[CDSoundEngine audioSessionInterrupted] in CocosDenshion.o
-[CDSoundEngine audioSessionInterrupted] in CocosDenshion.o
-[CDSoundEngine audioSessionResumed] in CocosDenshion.o
-[CDSoundEngine audioSessionResumed] in CocosDenshion.o
"_alcOpenDevice", referenced from:
-[CDSoundEngine _initOpenAL] in CocosDenshion.o
"_alcGetCurrentContext", referenced from:
-[CDSoundEngine dealloc] in CocosDenshion.o
"_ExtAudioFileOpenURL", referenced from:
_loadCafAudioData in CocosDenshion.o
"_alcSuspendContext", referenced from:
-[CDAudioManager audioSessionInterrupted] in CDAudioManager.o
-[CDSoundEngine audioSessionInterrupted] in CocosDenshion.o
"_alDistanceModel", referenced from:
-[CDSoundEngine _initOpenAL] in CocosDenshion.o
"_alcProcessContext", referenced from:
-[CDAudioManager audioSessionResumed] in CDAudioManager.o
-[CDSoundEngine audioSessionResumed] in CocosDenshion.o
"_AudioFileGetProperty", referenced from:
_loadWaveAudioData in CocosDenshion.o
_loadWaveAudioData in CocosDenshion.o
"_ExtAudioFileDispose", referenced from:
_loadCafAudioData in CocosDenshion.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Build failed (38 errors)
And you're right that there were duplicate files -- the CocosDenshion files were added to my game Target and then also linked in as the static lib (I forgot to remove the original references once it wasn't working. However, once I did remove them, I'm right back to the 38-error scenario.