2011-12-16 102 views
0

希望只是一个快速的。在XCode中,试图导入一个名为cocos2d.h的文件,它位于我的目录中并被复制,而不仅仅是引用,即它被复制到项目目录中。但是,当我尝试#import "cocos2d.h",它说找不到”目录中的文件无法找到

[[Error in red with the actual header file itself in view on the left directly next to it]] 

'cocos2d.h'文件希望有人知道是怎么回事!

Error in red with the actual header file itself in view on the left directly next to it

回答

1

所以我工作这么一走出一天! 所有你需要做的就是在这种情况下指定文件夹

import“cocos2d/cocos2d.h”

希望这可以帮助别人!

相关问题