2011-09-29 63 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