简体   繁体   English

为什么我看到有关核心情节的_OBJC_CLASS _ $ _ CPGraphHostingView的错误?

[英]Why am I seeing an error about _OBJC_CLASS_$_CPGraphHostingView with Core Plot?

I downloaded the Core Plot example application, but when I compile it I saw a few errors. 我下载了Core Plot示例应用程序,但是当我编译它时,我看到了一些错误。 I then added the Core Plot SDK, but in this SDK there is no class named CPGraphHostingView. 然后我添加了Core Plot SDK,但是在这个SDK中没有名为CPGraphHostingView的类。 Therefore, I added the class manually from this link . 因此,我从此链接手动添加了类。

However, I now see the following error: 但是,我现在看到以下错误:

ERROR -  "_OBJC_CLASS_$_CPGraphHostingView", referenced from:

How can I work around this to get the sample application to compile? 我如何解决这个问题以使示例应用程序编译?

Follow the step-by-step instructions on the Core Plot wiki and you should be fine. 按照Core Plot wiki上的分步说明进行操作 ,您应该没问题。

Note that the SDK install is considered experimental at this time, and I know that others have reported issues with using it, so I'd recommend following the instructions for using the static library instead. 请注意,SDK安装目前被认为是实验性的,我知道其他人已报告使用它的问题,因此我建议您遵循使用静态库的说明。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM