出现错误:& quot;CorePlot-CocoaTouch.h:没有这样的文件或目录.在iPhone SDK中实现Core-Plot时 [英] Getting Error : " CorePlot-CocoaTouch.h: No such file or directory" while implementing Core-Plot in iPhone SDK
问题描述
当我尝试在iPhone应用程序中实现Core-Plot时,出现以下错误.
I am getting the following error when I try to implement Core-Plot in my iPhone app.
CorePlot-CocoaTouch.h:没有这样的文件或目录
CorePlot-CocoaTouch.h: No such file or directory
我从下面的链接下载了安装Core-plot程序包
I downloaded installed the Core-plot package from the below link
http://code.google.com/p/core-plot/w/list
尽管如此,它似乎仍然无法正常工作,并且出现了如上所述的错误.
Still it does not seem to work and gives error as mentioned above.
有什么问题吗?
推荐答案
使用此 link ,并在其他链接器标记中添加 -all_load
和 -Objc
(获取信息->构建(在链接部分中,您会找到其他链接器标记)).
Use this link, and add -all_load
and -Objc
in other linker Flags (get info -> build (in linking section you find other linker flags)).
并在您的核心图框架的标头搜索路径(在搜索路径部分中)中提供完整路径.看起来像 .../core-plot/framework
.
And give complete path in header search paths (in search path section) for your core-plot framework. Looks like .../core-plot/framework
.
这篇关于出现错误:& quot;CorePlot-CocoaTouch.h:没有这样的文件或目录.在iPhone SDK中实现Core-Plot时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!