I worked through this tutorial and got the same kinds of errors.
Thinking maybe downloading a precanned project might have missed setting up the project properly, I then created the "Hello World" project from scratch, selecting the template from the New Project menu and so on. That compiled with only 8 errors -- but they were the same kinds of errors: missing stdarg.h and float.h predominately.
I think maybe my XCode is misconfigured.
On Jun 24, 2010, at 2:05 PM, email@hidden wrote:
This [Simple Calendar] sample is configured to build against the 10.4u SDK, which is an optional install for 3.2.3.
This could be the source of some issues.
...
I would perhaps pick a more up to date sample, or try some active OS project off source forge or GitHub.
I appreciate the idea of looking for for a different sample project, but I have two reservations:
1) Even creating the "Hello, World" project from scratch, it doesn't compile. (See above.) I think I need to figure out what's wrong here first.
2) The point of my jumping into XCode is to try to use the Calendar Store interface to the Calendar data base for an AppleScript project. I've pretty much determined that the iCal dictionary does not have sufficient information to resolve recurring events with any reasonable AppleScript program. I was hoping to write an app I can call from an AppleScript that will use Calendar Store to return a list of records describing events (including recurring events) for a time period. (This may be a little ambitious for me...)
I appreciate your help, guys. Do you have any ideas about why the "Hello, World" project might not be finding "float.h"?
--GIl
On Jun 24, 2010, at 1:46 PM, Gil Dawson wrote:
Real newbie here. I thought I'd jump in the deep end and see what happens.
So I installed XCode 3.2.3 and then downloaded a sample project (
SimpleCalendar) which expanded into a folder containing, among many other things, a project file "SimpleCalendar.xcodeproj".
I double-clicked on the project file and XCode launched. I clicked on "Build and Run" at the top of the Project window and XCode generated 42 errors.
Most of them are due to missing components like Stdarg.h, Float.h, Xmmintrin.h...
These look like standard include files.
What do I need to do to get XCode to pick up standard include files from somewhere?
(A reference to documentation would be especially appreciated.)