piaoyongren / core-plot

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

Build Fail with 20 errors #194

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.selected iphone device 4.0, iphone os 3.1.3
2.selected device instead of simulator

What is the expected output? What do you see instead?
should run as it is running on simulator

What version of the product are you using? On what operating system?
xcode 3.2.3, mac os 10.6

Please provide any additional information below.
Build Fail with 20 errors
-> Syntaxe error before '^' token
-> 'type name' declared as function returning a function 
Clean All Build changes nothing

Original issue reported on code.google.com by Thisb...@gmail.com on 12 Aug 2010 at 1:28

GoogleCodeExporter commented 8 years ago
Sorry, it is not running on simulator and Device

Original comment by Thisb...@gmail.com on 12 Aug 2010 at 1:31

GoogleCodeExporter commented 8 years ago
I'm experiencing exactly the same problem. Any ideas how to fix it? (I don't 
build from the sources but use the SDK.)

Original comment by martin.v...@gmail.com on 14 Aug 2010 at 1:23

GoogleCodeExporter commented 8 years ago
See http://stackoverflow.com/questions/3098611/syntax-error-before-token for 
details on how to get around this.

Original comment by ben.tru...@gmail.com on 19 Aug 2010 at 3:40

GoogleCodeExporter commented 8 years ago
its working. Thank you for the help

Original comment by bounthon...@gmail.com on 20 Aug 2010 at 12:03

GoogleCodeExporter commented 8 years ago

Original comment by eskr...@mac.com on 20 Aug 2010 at 10:38

GoogleCodeExporter commented 8 years ago
Hi I looked into the stackoverflow, I am using GCC 4.2 but i still get the same 
error.

I can tell some more information if I have added the additional SDK in the 
project settings as /Library/SDKs/iphonesimulator.sdk.

When I changed it to /Library/SDKs/iphoneos.sdk i get the following error

error: Composite SDK failed: The base SDK uses platform 'iphonesimulator', but 
an additional SDK uses platform 'iphoneos'. All SDKs must use the same platform 
(PLATFORM_NAME).

Please help.

Original comment by agraw...@gmail.com on 10 Nov 2010 at 3:34