如何在我的项目中添加coreplot-cocoaTouch.xcodeproj? [英] How to add coreplot-cocoaTouch.xcodeproj to my project?
问题描述
我正在尝试使用CorPlot绘制饼图以显示数据,但是在设置项目时要尝试包含
I am trying to use CorPlot to draw pie charts to display the data but while setting up the project when i am trying to include
#import "CorePlot-CocoaTouch.h"
错误提示:没有此类文件或目录。虽然我正在做所有必要的步骤。
it's giving errors saying "No such file or directory". Although i am doing all the necessary steps.
请让我知道是否除了下面的步骤之外我还需要做其他事情。
1)下载mercurial并通过终端命令获取代码,并将其保存在文件夹中。
2)拖动n将coreplot-cocoaTouch.xcodeproj拖放到我的项目中。
3)添加直接依赖项并设置标题搜索路径和其他链接标记。
4)将libCoreplot-CocoaTouch.a拖动到目标下的链接器。
Please let me know if there is something else i need to do except below steps.
1) Download mercurial and get the code through terminal command and save it in a folder.
2) drag n drop the coreplot-cocoaTouch.xcodeproj to my project.
3) Add direct dependency and set the header search path and other linker flag.
4) drag the libCoreplot-CocoaTouch.a to the linker under targets.
请帮助!!!
推荐答案
您必须在标题搜索路径中设置递归标志。
You have to set the recursive flag in header search path.
这篇关于如何在我的项目中添加coreplot-cocoaTouch.xcodeproj?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!