Re: XCode Newbie Question
Re: XCode Newbie Question
- Subject: Re: XCode Newbie Question
- From: Philip Aker <email@hidden>
- Date: Tue, 9 Dec 2008 19:32:01 -0800
On 2008-12-09, at 16:37:40, Gil Dawson wrote: I am rather new to XCode, still reading the User Guide. I'm stumped by one question that looks really dumb; perhaps you can help.
When I compile (command-K) my test program (test.c), I get an error (no such file or directory) on an #include statement in a C module, but the target file (testadd.c) is right there in the XCode folder and in the same Finder directory as all the other files. I have tried moving the target file up and down in the XCode folder and deleting the target file and recreating it, no help. I even tried putting the full path name into the <> parameter of the #include, no help.
What other kinds of things might can cause this error?
4) test.c - with the following source: //Dummy test.c to demo #include problem #include <test.h> //<-- this #include seems to work (TMR1IF seems defined)
Angle brackets on includes mean to search the system directory hierarchy for the particular file. You probably want something like:
#include "test.h"
for project relative includes.
BTW, this kind of question should normally go to the Xcode-Users list. Philip Aker
Democracy: Two wolves and a sheep voting on lunch. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden