piaoyongren / core-plot

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

Problems with the very short Readme and the undetailed instructions #161

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
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.

What is the expected output? What do you see instead?
An development environment, where i can start coding with diagrams.....

I get instead Linker-Errors, because the read is not detail enouhg.....

It must be written in it, that it is not sufficient enough that the Property 
"Other Linker Flags" in the Project Settings is set...the Property in the 
Target Settings has also to be set to the values -ObjC -all_load -lCorePlot!!!!

What version of the product are you using? On what operating system?
XCode Version 3.2.2, OS 10.6.3

Additional Information:
I also had to configure my "Library Search Paths" in the project and target 
settings

I set it to:
"$HOME/Library/SDKs/CorePlotSDK/${PLATFORM_NAME}.sdk/usr/lib"

No idea why i but i had some old values in this property...maybe someone knows 
what went wrong there?

regards

Original issue reported on code.google.com by hannesk....@gmail.com on 18 Jun 2010 at 3:00

GoogleCodeExporter commented 8 years ago
sorry for the spelling mistakes..but i was tired and this issue was written 
while i was laying on my couch ;)

Original comment by hannesk....@gmail.com on 19 Jun 2010 at 11:38

GoogleCodeExporter commented 8 years ago
The README is updated.

Original comment by drewmcco...@mac.com on 20 Jun 2010 at 12:13