• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode Newbie Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
echo email@hidden@nl | tr a-z@. p-za-o.@

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

References: 
 >applescript shell script SCP? (From: "Mr. Dan Pouliot" <email@hidden>)
 >Re: applescript shell script SCP? (From: "Mark J. Reed" <email@hidden>)
 >Re: applescript shell script SCP? (From: "Mark J. Reed" <email@hidden>)
 >Re: applescript shell script SCP? (From: Paul Scott <email@hidden>)
 >Re: applescript shell script SCP? (From: "Mark J. Reed" <email@hidden>)
 >Re: applescript shell script SCP? (From: "Edward K. Chew" <email@hidden>)
 >XCode Newbie Question (From: Gil Dawson <email@hidden>)

  • Prev by Date: Re: Dock folder menus
  • Next by Date: Re: Dock folder menus
  • Previous by thread: XCode Newbie Question
  • Next by thread: Re: applescript shell script SCP?
  • Index(es):
    • Date
    • Thread