手动集成superplay 的时候 把TXLiteAVSDK_Professional.frame 导入项目 编译报错
Undefined symbols for architecture arm64:
"_alGetSourcefv", referenced from:
-[TRAECDSoundSource pan] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alSourcePause", referenced from:
-[TRAECDSoundEngine pauseSound:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundSource pause] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alSourcePlay", referenced from:
-[TRAECDSoundEngine playSound:TRAEsourceGroupId:pitch:pan:gain:loop:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine resumeSound:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundSource play] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alListenerf", referenced from:
-[TRAECDSoundEngine setMasterGain:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine setMute:] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alGetListenerf", referenced from:
-[TRAECDSoundEngine masterGain] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alDeleteSources", referenced from:
-[TRAECDSoundEngine dealloc] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alBufferData", referenced from:
-[TRAECDSoundEngine loadBufferFromData:soundData:format:size:freq:] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alcGetContextsDevice", referenced from:
-[TRAECDSoundEngine dealloc] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alSourceStop", referenced from:
-[TRAECDSoundEngine unloadBuffer:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine playSound:TRAEsourceGroupId:pitch:pan:gain:loop:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine _soundSourceAttachToBuffer:soundId:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine stopTRAEsourceGroup:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine stopSound:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine stopAllSounds] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundSource stop] in TXLiteAVSDK_Professional(CocosDenshion.o)
...
"_alSourcefv", referenced from:
-[TRAECDSoundEngine playSound:TRAEsourceGroupId:pitch:pan:gain:loop:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundSource setPan:] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alcGetCurrentContext", referenced from:
-[TRAECDAudioManager badAlContextHandler] in TXLiteAVSDK_Professional(CDAudioManager.o)
-[TRAECDAudioManager audioSessionInterrupted] in TXLiteAVSDK_Professional(CDAudioManager.o)
-[TRAECDAudioManager audioSessionResumed] in TXLiteAVSDK_Professional(CDAudioManager.o)
-[TRAECDSoundEngine dealloc] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine playSound:TRAEsourceGroupId:pitch:pan:gain:loop:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundSource play] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alcMakeContextCurrent", referenced from:
-[TRAECDAudioManager audioSessionInterrupted] in TXLiteAVSDK_Professional(CDAudioManager.o)
-[TRAECDAudioManager audioSessionResumed] in TXLiteAVSDK_Professional(CDAudioManager.o)
-[TRAECDSoundEngine _initOpenAL] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine dealloc] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alcDestroyContext", referenced from:
-[TRAECDSoundEngine dealloc] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alcOpenDevice", referenced from:
-[TRAECDSoundEngine _initOpenAL] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alDeleteBuffers", referenced from:
-[TRAECDSoundEngine dealloc] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine unloadBuffer:] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alcCreateContext", referenced from:
-[TRAECDSoundEngine _initOpenAL] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alGenBuffers", referenced from:
-[TRAECDSoundEngine _generateBuffers:endIndex:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine unloadBuffer:] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alSourcef", referenced from:
-[TRAECDSoundEngine _testGetGain] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine playSound:TRAEsourceGroupId:pitch:pan:gain:loop:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine setGainOfEffect:withgain:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundSource setPitch:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundSource setGain:] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alcGetProcAddress", referenced from:
_TRAEalBufferDataStaticProc in TXLiteAVSDK_Professional(CocosDenshion.o)
_TRAEalcMacOSXMixerOutputRateProc in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine _initOpenAL] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alGetSourcef", referenced from:
-[TRAECDSoundEngine _testGetGain] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundSource pitch] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundSource gain] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundSource looping] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alSourceRewind", referenced from:
-[TRAECDSoundSource rewind] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alGetSourcei", referenced from:
-[TRAECDSoundEngine _getSourceIndexForTRAEsourceGroup:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine playSound:TRAEsourceGroupId:pitch:pan:gain:loop:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine _soundSourceAttachToBuffer:soundId:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine resumeSound:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundSource isPlaying] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alGenSources", referenced from:
-[TRAECDSoundEngine _generateSources] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alSourcei", referenced from:
-[TRAECDSoundEngine _generateSources] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine dealloc] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine unloadBuffer:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine playSound:TRAEsourceGroupId:pitch:pan:gain:loop:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine _soundSourceAttachToBuffer:soundId:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundSource setLooping:] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alcCloseDevice", referenced from:
-[TRAECDSoundEngine dealloc] in TXLiteAVSDK_Professional(CocosDenshion.o)
"_alGetError", referenced from:
-[TRAECDAudioManager audioSessionInterrupted] in TXLiteAVSDK_Professional(CDAudioManager.o)
-[TRAECDAudioManager audioSessionResumed] in TXLiteAVSDK_Professional(CDAudioManager.o)
-[TRAECDSoundEngine _generateSources] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine _generateBuffers:endIndex:] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine _initOpenAL] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine dealloc] in TXLiteAVSDK_Professional(CocosDenshion.o)
-[TRAECDSoundEngine unloadBuffer:] in TXLiteAVSDK_Professional(CocosDenshion.o)
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
相似问题