绘图奇怪的错误

时间:2011-12-24 20:31:54

标签: 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 invocation)

这个错误是什么意思?这似乎发生在这条线上?

GContextSetFillColorWithColor(ctx, [[UIColor colorWithRed:1.0 green:0.5 blue:0 alpha:1.0] CGColor]);

1 个答案:

答案 0 :(得分:0)

这意味着你拼错了。您应该收到编译器的警告。