开发者

Errors when importing SimpleAudioEngine

开发者 https://www.devze.com 2023-03-30 18:20 出处:网络
When I import SimpleAudioEngine.h: #import \"SimpleAudioEngine.h\" I get six errors. 3 开发者_JS百科of them are related to CVPixelBuffer.h and 3 are related to CMFormatDescription.h.

When I import SimpleAudioEngine.h:

#import "SimpleAudioEngine.h"

I get six errors. 3 开发者_JS百科of them are related to CVPixelBuffer.h and 3 are related to CMFormatDescription.h.

How can I fix this?


What version of cocs2d are you using? I would suggest you reinstall the codebase and then see if you get the error. I use SimpleAudioEngine.h in a few games and have not seen an error simply by including the .h file.

Also check if you have the AudioToolbox.framework

0

精彩评论

暂无评论...
验证码 换一张
取 消