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

Can't Compile cpp file from editor?


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

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


  • Follow-Ups:
    • Re: Can't Compile cpp file from editor?
      • From: Chris Espinosa <email@hidden>
    • Re: Can't Compile cpp file from editor?
      • From: "David M. Cotter" <email@hidden>
  • Prev by Date: Re: Need info about old Xcode versions
  • Next by Date: Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock
  • Previous by thread: Re: Need info about old Xcode versions
  • Next by thread: Re: Can't Compile cpp file from editor?
  • Index(es):
    • Date
    • Thread