piaoyongren / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

Something isn't relative to the framework. #213

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download the whole thing, use XCode to build and test
2. copy the folder containing the project to another folder, clean and rebuild
3. observe the hundreds of complaints about missing files.

What is the expected output? What do you see instead?
The framework as well as the individual example project folders
should be portable.  All links should be relative.

What version of the product are you using? On what operating system?
4.1 iphone

Please provide any additional information below.

Original issue reported on code.google.com by ehw...@gmail.com on 19 Oct 2010 at 1:32

GoogleCodeExporter commented 8 years ago
The top-level folder (http://code.google.com/p/core-plot/source/browse/#hg) can 
be located anywhere and named anything. The example projects all refer to the 
build directory using relative paths so they can find the Core Plot build 
products. You can't separate them from the Core Plot directory structure 
without changing some of the search paths in the projects themselves. None of 
the examples currently link against a pre-built framework or SDK as provided in 
the release package.

I wasn't able to reproduce this behavior. Can you describe which folder you 
copied and which project(s) you tried to build?

Original comment by eskr...@mac.com on 19 Oct 2010 at 2:05

GoogleCodeExporter commented 8 years ago
The errors I was referring to occur at build time and are compiler complaints 
that it simply can't find files in the examples as provided.  All I was trying 
to do was download, and build the examples.  They just don't build out of the 
box.  It clearly has to do with some pathname that isn't relative to the 
example itself.

 error: CorePlot-CocoaTouch.h: No such file or directory

Original comment by ehw...@gmail.com on 19 Oct 2010 at 3:36

GoogleCodeExporter commented 8 years ago
Heres another failure step...get about 168 of these...
I've downloaded many of the examples from Apple, and they all work out of the 
box.  I just can't get anything related to CorePlot to reliably work.  
Something here is wired to be dependent on the filesystem where the thing is 
built, and if you move anything around its broke.

var/folders/ha/haFSxscqHsi-nxJhjk9+UE+++TI/-Caches-/com.apple.Xcode.501/Composit
eSDKs/iphonesimulator-iPhoneSimulator4.1-hbidkonuosjdtgfhvopertaquzyp/usr/includ
e/CorePlot/CorePlot.h:11:9: error: #import expects "FILENAME" or <FILENAME>

Original comment by ehw...@gmail.com on 19 Oct 2010 at 3:43

GoogleCodeExporter commented 8 years ago
>> Something here is wired to be dependent on the filesystem where the thing is 
built, and if you move anything around its broke.

This is true. Like I said above, the examples included with Core Plot expect 
the Core Plot project to be in a certain place relative to where they are. If 
you change that relationship, they won't be able to find things.

When you say you "downloaded" the project, did you pull the full source with 
Mercurial or are you using one of the release SDKs?

Original comment by eskr...@mac.com on 19 Oct 2010 at 12:01

GoogleCodeExporter commented 8 years ago
This issue was closed by revision f1adaadf92.

Original comment by eskr...@mac.com on 6 Nov 2010 at 1:14