开发者

missing required architecture i386 in file. Error

I am using a code to make 3d Rotation

CATransform3DMakeRotation(M_PI, 0.0f, 0.0f, 1.0f) :

If I remove this line from my proj开发者_开发问答ect it works perfectly. But if I add it an error comes i.e

Undefined symbols for architecture i386: "_CATransform3DMakeRotation", referenced

ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status

What Should I do to make it work..


I think you have to import QuartzCore framework (choose your application target and then under "link binary with libraries" add that framework)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜