Cocos2d-iphone basic compile error

I downloaded Cocos2d-iphone 0.99.5 and installed it using ./install-script

I then opened xcode and created a new cocos2d application. When I ran Build and Run it, gave the error 'There is no SDK with the name or path iphoneos'. Searching online I found a solution which said to change the Base SDK setting in Project Settings. I changed it to the Simulator of iphone os 3.1.2.

But now when I Build and Run, it gives me 217 errors. Most are: "float.h No such File or directory" or "stdarg.h No such file or directory"

Any suggestions?

Answers


You'll probably need to update Xcode to 3.2.5, with iOS 4.2. Check inside the Project Settings for cocos2d -- I believe the base SDK is up above 4.0, probably at 4.1 or 4.2, by now. If all of the items in the Frameworks folder are red, that means that the project is trying to link to a higher SDK, and can't find anything.


Need Your Help

How can i run this Applet offline?

java debugging applet

i need this applet located herelink text (the same in a popup is here: hxxp://tcip.mste.illinois.edu/applet_popup.php?num=2)

launch mstsc.exe with pekts00.rdp configured on enable

c# rdp

I am adding security to one of my application. I would like that on Enable, C:\Windows\System32\mstsc.exe c:\thinclient\pekts00.rdp with .rdp (remote desktop) configured is launched. It will contin...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.