gujjula / core-plot

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

Error: Setting up Core-Plot in release mode #292

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Error: Expected specifier-qualifier-list before 'CPXYGraph'
What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by nolasco....@gmail.com on 14 Jun 2011 at 10:17

GoogleCodeExporter commented 9 years ago
I have followed all the instructions on:
http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-applicatio
n

I havent been high in days, and I still cant get this sober.  Head Path 
location is correct, and so is linker flag. WTF

Original comment by nolasco....@gmail.com on 14 Jun 2011 at 10:39

GoogleCodeExporter commented 9 years ago
What version of Core Plot are you using? Mac or iOS?

That tutorial is pretty old. Have you read through the comments to see what 
needs to be changed to work with more recent versions of Core Plot?

Original comment by eskr...@mac.com on 15 Jun 2011 at 12:47

GoogleCodeExporter commented 9 years ago
I am using Core Plot version  0.3.  It gives me 124 errors. 

I have followed the instructions in the Read-Me that comes with folder

Header path is: 
/Users/michoacanstockton/Downloads/CorePlotInstall_0.3/SourceCode/Framework/
Linker flags for target and project have been edited
Under Additional SDK's, I have added 
$HOME/Library/SDKs/CorePlotSDK/${PLATFORM_NAME}.sdk
Recursive box checked
#import <CorePlot/CorePlot.h> gives me no errors.

THe extracted folder did not contain  CorePlotSDK. I feel I could possibly be 
putting the wrong folder into /Library/SDKs

Original comment by nolasco....@gmail.com on 15 Jun 2011 at 4:20

GoogleCodeExporter commented 9 years ago
Update: I have 1 error message left:

ld: duplicate symbol _squareOfDistanceBetweenPoints in 
/Users/michoacanstockton/Downloads/CorePlotInstall_0.3/Source 
Code/build/Release-iphonesimulator/libCorePlot-Cocoa

Command 
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 
failed with exit code 1

Original comment by nolasco....@gmail.com on 15 Jun 2011 at 4:29

GoogleCodeExporter commented 9 years ago
The 0.3 package didn't include an SDK build. You'll need to use one of the 
other install methods (static library or include the Core Plot project in your 
project).

Original comment by eskr...@mac.com on 15 Jun 2011 at 11:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by eskr...@mac.com on 26 Jul 2011 at 1:22