Compile error in empty cocos2d 2.0 (iPhone)

后端 未结 3 567
走了就别回头了
走了就别回头了 2020-12-28 23:39

When I try to compile new cocos2d+box2d project in xcode4. I got error message like: /Users/bla-bla/Cocos2d testing/Cocos2d testing/libs/cocos2d/CCDirector.h:32:9: fatal er

3条回答
  •  执笔经年
    2020-12-29 00:11

    did you check in Finder to see if there is a real folder named kazmath in the same path as where CCNode is ? if not, there is probably a flaw in the templates install script for that version of coco. But dont rely on the 'tree view' of the Xcode project navigator to really know whether a file is present or not. If the path is wrong in the include, suggest you report it to the coco team. You could temporarily fix the import statements to get going, but that would be throw-away code :) when coco issues another release candidate, presumably fixed.

提交回复
热议问题