Iphone 奇怪的绘图错误

Iphone 奇怪的绘图错误,iphone,ios5,xcode4.2,quartz-graphics,Iphone,Ios5,Xcode4.2,Quartz Graphics,这个错误意味着什么?好像是在这条线上发生的 "_GContextSetFillColorWithColor", referenced from: -[GraphView drawLineGraphWithContext:] in GraphView.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocat

这个错误意味着什么?好像是在这条线上发生的

"_GContextSetFillColorWithColor", referenced from:
  -[GraphView drawLineGraphWithContext:] in GraphView.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

意思是你拼错了。你应该得到编译器的警告。

是的,就是这样。警告不是很清楚:函数的隐式声明在C99中无效
GContextSetFillColorWithColor(ctx, [[UIColor colorWithRed:1.0 green:0.5 blue:0 alpha:1.0] CGColor]);