• 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: Can't Compile cpp file from editor?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't Compile cpp file from editor?


  • Subject: Re: Can't Compile cpp file from editor?
  • From: Howard Moon <email@hidden>
  • Date: Wed, 28 Oct 2009 12:40:47 -0700

Hey, that worked!  Thanks, Paul!

On Oct 28, 2009, at 10:37 AM, Paul Sanders wrote:

Remove it from the project and add it back in?

- Paul Sanders

Hi all,

I'm seeing strange behavior in Xcode (3.1.3 under OS X 10.5.8).  I
can build my C++ project with no problem, and I can compile
most .cpp files individually.  But at least one of my .cpp files
will only compile if I do it from the Build menu after selecting it
in the "Groups & Files" list.  When I'm working on that file in any
editor, the Compile menu item  is grayed out, and command-K just
beeps.  The file is included in the project, and has the Target
checkbox checked, and it builds fine, but it won't allow me to
simply Compile it when editing (which I like to do for syntax checks
regularly).  Other files (at least several that I've checked)
compile with no problem.

Any thoughts on how/why this happens?  I've tried closing and re-
opening the file from the Groups & Files list, but no luck. I'm
stumped.

Thanks,
-Howard



_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Can't Compile cpp file from editor? (From: Howard Moon <email@hidden>)
 >Re: Can't Compile cpp file from editor? (From: "David M. Cotter" <email@hidden>)
 >Re: Can't Compile cpp file from editor? (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Re: Can't Compile cpp file from editor?
  • Next by Date: xcode doesn't stop on breakpoints
  • Previous by thread: Re: Can't Compile cpp file from editor?
  • Next by thread: Re: Can't Compile cpp file from editor?
  • Index(es):
    • Date
    • Thread