2011-09-29 71 views
0

我想提请在iphone线图和正在使用S7GraphView为它。但是当我编译我的应用程序是露出像这么多的错误:不能正常工作,而使用S7GraphView

"CGContextSetFillColorWithColor", referenced from: 
     -[S7GraphView drawRect:] in S7GraphView.o 
    "_CGContextFillRect", referenced from: 
     -[S7GraphView drawRect:] in S7GraphView.o 
    "_CGContextSetLineDash", referenced from: 
     -[S7GraphView drawRect:] in S7GraphView.o 
    "_CGContextSetLineWidth", referenced from: 
     -[S7GraphView drawRect:] in S7GraphView.o 
    "_CGContextMoveToPoint", referenced from: 
     -[S7GraphView drawRect:] in S7GraphView.o 
    "_CGContextAddLineToPoint", referenced from: 
     -[S7GraphView drawRect:] in S7GraphView.o 
    "_CGContextClosePath", referenced from: 
     -[S7GraphView drawRect:] in S7GraphView.o 
    "_CGContextSetStrokeColorWithColor", referenced from: 
     -[S7GraphView drawRect:] in S7GraphView.o 
    "_CGContextStrokePath", referenced from: 
     -[S7GraphView drawRect:] in S7GraphView.o 
    "_CGContextFillPath", referenced from: 
     -[S7GraphView drawRect:] in S7GraphView.o 

任何人可以帮助我?

+0

我找到答案我自己。谢谢大家帮助我。我没有正确添加CoreGraphics框架。当我通过构建阶段添加它,它工作:) – user964502

回答

0

尝试将您的申请链接到Quartz.framework和/或QuartzCore.framework

+0

是的。我已经添加QuartzCore框架。但现在也显示相同的错误 – user964502