本文介绍了经典问题:CorePlot-CocoaTouch.h:没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请原谅我问这个老问题,但是我真的尝试过
在这个论坛上以及在stackoverflow上可以找到的每个解决方案,
仍然没有解决问题...请帮帮我:(
这就是我的工作:



1)我将'CorePlot 0.2.2.zip'下载到了我的项目文件夹中。



2)将 CorePlot-CocoaTouch.xcodeproj拖放到我的项目中。
取消选中复制项目...,然后更改相对于项目。



3)将 libCorePlot-CocoaTouch.a拖到目标的使用
库链接二进制文件文件夹中。



4)在直接
依赖项下添加 CorePlot-CocoaTouch(来自CorePlot ...)。



5)5)在标题搜索中路径'我添加了路径-/ Users / el08ywk / Desktop /
PlotGraphhhhh / CorePlot 0.2.2 / Source / framework,并将其设置为
'recursive'。



6)在其他链接器标志中,我添加了-ObjC和-all_load



7)最后,我在我的项目中添加了QuartzCore框架。 / p>

现在,当我构建并运行它时,我有51条错误,所有错误都表明
未声明,并且在.h文件中说Coreplot-CocoaTouch否
这样的文件或目录...



那么我在哪里做错了?谢谢您。

解决方案

请注意在哪里下载和使用de core-plot库,我遇到了一些麻烦当它在我的桌面上时,请尝试将文件夹移至 /以进行测试,然后在确定它可以正常使用后,将其放置在具有足够授权的位置。



希望对您有所帮助。


Please excuse me for asking this old problem but I have really tried every solutions I could find in this forum and over at stackoverflow, and the problem still hasn't been resolved...Please help me :( So here is what I did:

1) I downloaded 'CorePlot 0.2.2.zip' into my project folder.

2) Drag and drop the 'CorePlot-CocoaTouch.xcodeproj' into my project. Uncheck the "Copy items..." and change "Relative to project".

3) Drag 'libCorePlot-CocoaTouch.a' to Target's 'Link Binary with Libraries" folder.

4) Add 'CorePlot-CocoaTouch (from CorePlot ...)' under Direct Dependencies.

5) 5) In 'Header search paths' I added path- /Users/el08ywk/Desktop/ PlotGraphhhhh/CorePlot 0.2.2/Source/framework , and set it to 'recursive'.

6) In "other linker flags", I added -ObjC and -all_load

7) Finally, I added the QuartzCore framework to my project.

Now when i build and run it, i have 51 errors, all of which say something is 'undeclared' and in .h file says Coreplot-CocoaTouch no such file or directory...

So where have i done wrong? Thank you in advance.

解决方案

Be careful where you download and use de core-plot library, I had some troubles when it was on my Desktop, try to move the folder at "/" to test first, and after you are sure it works, put it where you have sufficient authorizations.

I hope it helped you.

这篇关于经典问题:CorePlot-CocoaTouch.h:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 12:34