Reputation: 11
Hi I am writing a game with cocos2d and using the ipad 5.0 simulator. at compiling I am getting this link error which says the CGRectIntersectsRect symbol is not found for architecture i386. I think I am missing the right framework to get rid of this error. Any ideas?
Upvotes: 0
Views: 153
Reputation:
I think I am missing the right framework
Right, the framework you'll want to link against is CoreGraphics.
Note that you must also correctly
#import <CoreGraphics/CoreGraphics.h>
in order inline functions to work/be compiled properly.
Upvotes: 2