开发者

Errors when importing SimpleAudioEngine

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜