`
zl4393753
  • 浏览: 334512 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

五个步骤配置coreplot

阅读更多
Five Steps to CorePlot

1. Copy the CorePlotSDK directory to ~/Library/SDKs/

2. Add to your project's .PCH file:

#import <CorePlot/CorePlot.h>

3. Open Project -> Edit Project Settings and for All Configurations:

3a. Add to Additional SDKS:

$HOME/Library/SDKs/CorePlotSDK/${PLATFORM_NAME}.sdk

3b. Add to Other Linker Flags:

-ObjC -all_load -lCorePlot

4. Add the QuartzCore framework to the project.

5. Add a CPGraph to your application.

最后不要忘记“项目Build Info中,C/C++ Compiler Version必须使用LLVM GCC 4.2,而不能使用GCC 4.2”!
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics